"use strict";(self.webpackChunkadmin=self.webpackChunkadmin||[]).push([[179],{9533:(ri,mt,p)=>{var e=p(1481),s=p(4650),T=p(7340);function b(ue){return new s.vHH(3e3,!1)}function Y(){return typeof window<"u"&&typeof window.document<"u"}function $(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function we(ue){switch(ue.length){case 0:return new T.ZN;case 1:return ue[0];default:return new T.ZE(ue)}}function Fe(ue,x,E,K,ye=new Map,tt=new Map){const Dt=[],Ct=[];let Zt=-1,qt=null;if(K.forEach(Mi=>{const Ii=Mi.get("offset"),fn=Ii==Zt,un=fn&&qt||new Map;Mi.forEach((Zi,Qi)=>{let Dn=Qi,Rn=Zi;if("offset"!==Qi)switch(Dn=x.normalizePropertyName(Dn,Dt),Rn){case T.k1:Rn=ye.get(Qi);break;case T.l3:Rn=tt.get(Qi);break;default:Rn=x.normalizeStyleValue(Qi,Dn,Rn,Dt)}un.set(Dn,Rn)}),fn||Ct.push(un),qt=un,Zt=Ii}),Dt.length)throw function xe(ue){return new s.vHH(3502,!1)}();return Ct}function _t(ue,x,E,K){switch(x){case"start":ue.onStart(()=>K(E&&it(E,"start",ue)));break;case"done":ue.onDone(()=>K(E&&it(E,"done",ue)));break;case"destroy":ue.onDestroy(()=>K(E&&it(E,"destroy",ue)))}}function it(ue,x,E){const tt=Nt(ue.element,ue.triggerName,ue.fromState,ue.toState,x||ue.phaseName,E.totalTime??ue.totalTime,!!E.disabled),Dt=ue._data;return null!=Dt&&(tt._data=Dt),tt}function Nt(ue,x,E,K,ye="",tt=0,Dt){return{element:ue,triggerName:x,fromState:E,toState:K,phaseName:ye,totalTime:tt,disabled:!!Dt}}function lt(ue,x,E){let K=ue.get(x);return K||ue.set(x,K=E),K}function zt(ue){const x=ue.indexOf(":");return[ue.substring(1,x),ue.slice(x+1)]}let ft=(ue,x)=>!1,Pt=(ue,x,E)=>[],li=null;function oi(ue){const x=ue.parentNode||ue.host;return x===li?null:x}($()||typeof Element<"u")&&(Y()?(li=(()=>document.documentElement)(),ft=(ue,x)=>{for(;x;){if(x===ue)return!0;x=oi(x)}return!1}):ft=(ue,x)=>ue.contains(x),Pt=(ue,x,E)=>{if(E)return Array.from(ue.querySelectorAll(x));const K=ue.querySelector(x);return K?[K]:[]});let ve=null,N=!1;const Yt=ft,$t=Pt;let Gt=(()=>{class ue{validateStyleProperty(E){return function re(ue){ve||(ve=function wt(){return typeof document<"u"?document.body:null}()||{},N=!!ve.style&&"WebkitAppearance"in ve.style);let x=!0;return ve.style&&!function yt(ue){return"ebkit"==ue.substring(1,6)}(ue)&&(x=ue in ve.style,!x&&N&&(x="Webkit"+ue.charAt(0).toUpperCase()+ue.slice(1)in ve.style)),x}(E)}matchesElement(E,K){return!1}containsElement(E,K){return Yt(E,K)}getParentElement(E){return oi(E)}query(E,K,ye){return $t(E,K,ye)}computeStyle(E,K,ye){return ye||""}animate(E,K,ye,tt,Dt,Ct=[],Zt){return new T.ZN(ye,tt)}}return ue.\u0275fac=function(E){return new(E||ue)},ue.\u0275prov=s.Yz7({token:ue,factory:ue.\u0275fac}),ue})(),te=(()=>{class ue{}return ue.NOOP=new Gt,ue})();const Ae=1e3,Ut="ng-enter",Vt="ng-leave",be="ng-trigger",st=".ng-trigger",Z="ng-animating",ke=".ng-animating";function gt(ue){if("number"==typeof ue)return ue;const x=ue.match(/^(-?[\.\d]+)(m?s)/);return!x||x.length<2?0:Rt(parseFloat(x[1]),x[2])}function Rt(ue,x){return"s"===x?ue*Ae:ue}function se(ue,x,E){return ue.hasOwnProperty("duration")?ue:function z(ue,x,E){let ye,tt=0,Dt="";if("string"==typeof ue){const Ct=ue.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Ct)return x.push(b()),{duration:0,delay:0,easing:""};ye=Rt(parseFloat(Ct[1]),Ct[2]);const Zt=Ct[3];null!=Zt&&(tt=Rt(parseFloat(Zt),Ct[4]));const qt=Ct[5];qt&&(Dt=qt)}else ye=ue;if(!E){let Ct=!1,Zt=x.length;ye<0&&(x.push(function O(){return new s.vHH(3100,!1)}()),Ct=!0),tt<0&&(x.push(function X(){return new s.vHH(3101,!1)}()),Ct=!0),Ct&&x.splice(Zt,0,b())}return{duration:ye,delay:tt,easing:Dt}}(ue,x,E)}function A(ue,x={}){return Object.keys(ue).forEach(E=>{x[E]=ue[E]}),x}function me(ue){const x=new Map;return Object.keys(ue).forEach(E=>{x.set(E,ue[E])}),x}function ii(ue,x=new Map,E){if(E)for(let[K,ye]of E)x.set(K,ye);for(let[K,ye]of ue)x.set(K,ye);return x}function Ci(ue,x,E){return E?x+":"+E+";":""}function Si(ue){let x="";for(let E=0;E<ue.style.length;E++){const K=ue.style.item(E);x+=Ci(0,K,ue.style.getPropertyValue(K))}for(const E in ue.style)ue.style.hasOwnProperty(E)&&!E.startsWith("_")&&(x+=Ci(0,si(E),ue.style[E]));ue.setAttribute("style",x)}function Fi(ue,x,E){ue.style&&(x.forEach((K,ye)=>{const tt=At(ye);E&&!E.has(ye)&&E.set(ye,ue.style[tt]),ue.style[tt]=K}),$()&&Si(ue))}function vi(ue,x){ue.style&&(x.forEach((E,K)=>{const ye=At(K);ue.style[ye]=""}),$()&&Si(ue))}function Lt(ue){return Array.isArray(ue)?1==ue.length?ue[0]:(0,T.vP)(ue):ue}const et=new RegExp("{{\\s*(.+?)\\s*}}","g");function Ve(ue){let x=[];if("string"==typeof ue){let E;for(;E=et.exec(ue);)x.push(E[1]);et.lastIndex=0}return x}function bt(ue,x,E){const K=ue.toString(),ye=K.replace(et,(tt,Dt)=>{let Ct=x[Dt];return null==Ct&&(E.push(function Ee(ue){return new s.vHH(3003,!1)}()),Ct=""),Ct.toString()});return ye==K?ue:ye}function fe(ue){const x=[];let E=ue.next();for(;!E.done;)x.push(E.value),E=ue.next();return x}const Ze=/-+([a-z0-9])/g;function At(ue){return ue.replace(Ze,(...x)=>x[1].toUpperCase())}function si(ue){return ue.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Wi(ue,x,E){switch(x.type){case 7:return ue.visitTrigger(x,E);case 0:return ue.visitState(x,E);case 1:return ue.visitTransition(x,E);case 2:return ue.visitSequence(x,E);case 3:return ue.visitGroup(x,E);case 4:return ue.visitAnimate(x,E);case 5:return ue.visitKeyframes(x,E);case 6:return ue.visitStyle(x,E);case 8:return ue.visitReference(x,E);case 9:return ue.visitAnimateChild(x,E);case 10:return ue.visitAnimateRef(x,E);case 11:return ue.visitQuery(x,E);case 12:return ue.visitStagger(x,E);default:throw function de(ue){return new s.vHH(3004,!1)}()}}function Un(ue,x){return window.getComputedStyle(ue)[x]}const Jn="*";function wo(ue,x){const E=[];return"string"==typeof ue?ue.split(/\s*,\s*/).forEach(K=>function Jo(ue,x,E){if(":"==ue[0]){const Zt=function ao(ue,x){switch(ue){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(E,K)=>parseFloat(K)>parseFloat(E);case":decrement":return(E,K)=>parseFloat(K)<parseFloat(E);default:return x.push(function je(ue){return new s.vHH(3016,!1)}()),"* => *"}}(ue,E);if("function"==typeof Zt)return void x.push(Zt);ue=Zt}const K=ue.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==K||K.length<4)return E.push(function Se(ue){return new s.vHH(3015,!1)}()),x;const ye=K[1],tt=K[2],Dt=K[3];x.push(w(ye,Dt));"<"==tt[0]&&!(ye==Jn&&Dt==Jn)&&x.push(w(Dt,ye))}(K,E,x)):E.push(ue),E}const at=new Set(["true","1"]),xt=new Set(["false","0"]);function w(ue,x){const E=at.has(ue)||xt.has(ue),K=at.has(x)||xt.has(x);return(ye,tt)=>{let Dt=ue==Jn||ue==ye,Ct=x==Jn||x==tt;return!Dt&&E&&"boolean"==typeof ye&&(Dt=ye?at.has(ue):xt.has(ue)),!Ct&&K&&"boolean"==typeof tt&&(Ct=tt?at.has(x):xt.has(x)),Dt&&Ct}}const J=":self",Ie=new RegExp(`s*${J}s*,?`,"g");function Xe(ue,x,E,K){return new Ei(ue).build(x,E,K)}class Ei{constructor(x){this._driver=x}build(x,E,K){const ye=new Tn(E);return this._resetContextStyleTimingState(ye),Wi(this,Lt(x),ye)}_resetContextStyleTimingState(x){x.currentQuerySelector="",x.collectedStyles=new Map,x.collectedStyles.set("",new Map),x.currentTime=0}visitTrigger(x,E){let K=E.queryCount=0,ye=E.depCount=0;const tt=[],Dt=[];return"@"==x.name.charAt(0)&&E.errors.push(function he(){return new s.vHH(3006,!1)}()),x.definitions.forEach(Ct=>{if(this._resetContextStyleTimingState(E),0==Ct.type){const Zt=Ct,qt=Zt.name;qt.toString().split(/\s*,\s*/).forEach(Mi=>{Zt.name=Mi,tt.push(this.visitState(Zt,E))}),Zt.name=qt}else if(1==Ct.type){const Zt=this.visitTransition(Ct,E);K+=Zt.queryCount,ye+=Zt.depCount,Dt.push(Zt)}else E.errors.push(function Le(){return new s.vHH(3007,!1)}())}),{type:7,name:x.name,states:tt,transitions:Dt,queryCount:K,depCount:ye,options:null}}visitState(x,E){const K=this.visitStyle(x.styles,E),ye=x.options&&x.options.params||null;if(K.containsDynamicStyles){const tt=new Set,Dt=ye||{};K.styles.forEach(Ct=>{Ct instanceof Map&&Ct.forEach(Zt=>{Ve(Zt).forEach(qt=>{Dt.hasOwnProperty(qt)||tt.add(qt)})})}),tt.size&&(fe(tt.values()),E.errors.push(function He(ue,x){return new s.vHH(3008,!1)}()))}return{type:0,name:x.name,style:K,options:ye?{params:ye}:null}}visitTransition(x,E){E.queryCount=0,E.depCount=0;const K=Wi(this,Lt(x.animation),E);return{type:1,matchers:wo(x.expr,E.errors),animation:K,queryCount:E.queryCount,depCount:E.depCount,options:Gn(x.options)}}visitSequence(x,E){return{type:2,steps:x.steps.map(K=>Wi(this,K,E)),options:Gn(x.options)}}visitGroup(x,E){const K=E.currentTime;let ye=0;const tt=x.steps.map(Dt=>{E.currentTime=K;const Ct=Wi(this,Dt,E);return ye=Math.max(ye,E.currentTime),Ct});return E.currentTime=ye,{type:3,steps:tt,options:Gn(x.options)}}visitAnimate(x,E){const K=function Xn(ue,x){if(ue.hasOwnProperty("duration"))return ue;if("number"==typeof ue)return To(se(ue,x).duration,0,"");const E=ue;if(E.split(/\s+/).some(tt=>"{"==tt.charAt(0)&&"{"==tt.charAt(1))){const tt=To(0,0,"");return tt.dynamic=!0,tt.strValue=E,tt}const ye=se(E,x);return To(ye.duration,ye.delay,ye.easing)}(x.timings,E.errors);E.currentAnimateTimings=K;let ye,tt=x.styles?x.styles:(0,T.oB)({});if(5==tt.type)ye=this.visitKeyframes(tt,E);else{let Dt=x.styles,Ct=!1;if(!Dt){Ct=!0;const qt={};K.easing&&(qt.easing=K.easing),Dt=(0,T.oB)(qt)}E.currentTime+=K.duration+K.delay;const Zt=this.visitStyle(Dt,E);Zt.isEmptyStep=Ct,ye=Zt}return E.currentAnimateTimings=null,{type:4,timings:K,style:ye,options:null}}visitStyle(x,E){const K=this._makeStyleAst(x,E);return this._validateStyleAst(K,E),K}_makeStyleAst(x,E){const K=[],ye=Array.isArray(x.styles)?x.styles:[x.styles];for(let Ct of ye)"string"==typeof Ct?Ct===T.l3?K.push(Ct):E.errors.push(new s.vHH(3002,!1)):K.push(me(Ct));let tt=!1,Dt=null;return K.forEach(Ct=>{if(Ct instanceof Map&&(Ct.has("easing")&&(Dt=Ct.get("easing"),Ct.delete("easing")),!tt))for(let Zt of Ct.values())if(Zt.toString().indexOf("{{")>=0){tt=!0;break}}),{type:6,styles:K,easing:Dt,offset:x.offset,containsDynamicStyles:tt,options:null}}_validateStyleAst(x,E){const K=E.currentAnimateTimings;let ye=E.currentTime,tt=E.currentTime;K&&tt>0&&(tt-=K.duration+K.delay),x.styles.forEach(Dt=>{"string"!=typeof Dt&&Dt.forEach((Ct,Zt)=>{const qt=E.collectedStyles.get(E.currentQuerySelector),Mi=qt.get(Zt);let Ii=!0;Mi&&(tt!=ye&&tt>=Mi.startTime&&ye<=Mi.endTime&&(E.errors.push(function Re(ue,x,E,K,ye){return new s.vHH(3010,!1)}()),Ii=!1),tt=Mi.startTime),Ii&&qt.set(Zt,{startTime:tt,endTime:ye}),E.options&&function Et(ue,x,E){const K=x.params||{},ye=Ve(ue);ye.length&&ye.forEach(tt=>{K.hasOwnProperty(tt)||E.push(function q(ue){return new s.vHH(3001,!1)}())})}(Ct,E.options,E.errors)})})}visitKeyframes(x,E){const K={type:5,styles:[],options:null};if(!E.currentAnimateTimings)return E.errors.push(function ze(){return new s.vHH(3011,!1)}()),K;let tt=0;const Dt=[];let Ct=!1,Zt=!1,qt=0;const Mi=x.steps.map(Rn=>{const oo=this._makeStyleAst(Rn,E);let R=null!=oo.offset?oo.offset:function Li(ue){if("string"==typeof ue)return null;let x=null;if(Array.isArray(ue))ue.forEach(E=>{if(E instanceof Map&&E.has("offset")){const K=E;x=parseFloat(K.get("offset")),K.delete("offset")}});else if(ue instanceof Map&&ue.has("offset")){const E=ue;x=parseFloat(E.get("offset")),E.delete("offset")}return x}(oo.styles),ae=0;return null!=R&&(tt++,ae=oo.offset=R),Zt=Zt||ae<0||ae>1,Ct=Ct||ae<qt,qt=ae,Dt.push(ae),oo});Zt&&E.errors.push(function Me(){return new s.vHH(3012,!1)}()),Ct&&E.errors.push(function Pe(){return new s.vHH(3200,!1)}());const Ii=x.steps.length;let fn=0;tt>0&&tt<Ii?E.errors.push(function _e(){return new s.vHH(3202,!1)}()):0==tt&&(fn=1/(Ii-1));const un=Ii-1,Zi=E.currentTime,Qi=E.currentAnimateTimings,Dn=Qi.duration;return Mi.forEach((Rn,oo)=>{const R=fn>0?oo==un?1:fn*oo:Dt[oo],ae=R*Dn;E.currentTime=Zi+Qi.delay+ae,Qi.duration=ae,this._validateStyleAst(Rn,E),Rn.offset=R,K.styles.push(Rn)}),K}visitReference(x,E){return{type:8,animation:Wi(this,Lt(x.animation),E),options:Gn(x.options)}}visitAnimateChild(x,E){return E.depCount++,{type:9,options:Gn(x.options)}}visitAnimateRef(x,E){return{type:10,animation:this.visitReference(x.animation,E),options:Gn(x.options)}}visitQuery(x,E){const K=E.currentQuerySelector,ye=x.options||{};E.queryCount++,E.currentQuery=x;const[tt,Dt]=function Yi(ue){const x=!!ue.split(/\s*,\s*/).find(E=>E==J);return x&&(ue=ue.replace(Ie,"")),ue=ue.replace(/@\*/g,st).replace(/@\w+/g,E=>st+"-"+E.slice(1)).replace(/:animating/g,ke),[ue,x]}(x.selector);E.currentQuerySelector=K.length?K+" "+tt:tt,lt(E.collectedStyles,E.currentQuerySelector,new Map);const Ct=Wi(this,Lt(x.animation),E);return E.currentQuery=null,E.currentQuerySelector=K,{type:11,selector:tt,limit:ye.limit||0,optional:!!ye.optional,includeSelf:Dt,animation:Ct,originalSelector:x.selector,options:Gn(x.options)}}visitStagger(x,E){E.currentQuery||E.errors.push(function ge(){return new s.vHH(3013,!1)}());const K="full"===x.timings?{duration:0,delay:0,easing:"full"}:se(x.timings,E.errors,!0);return{type:12,animation:Wi(this,Lt(x.animation),E),timings:K,options:null}}}class Tn{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=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Gn(ue){return ue?(ue=A(ue)).params&&(ue.params=function Mn(ue){return ue?A(ue):null}(ue.params)):ue={},ue}function To(ue,x,E){return{duration:ue,delay:x,easing:E}}function $o(ue,x,E,K,ye,tt,Dt=null,Ct=!1){return{type:1,element:ue,keyframes:x,preStyleProps:E,postStyleProps:K,duration:ye,delay:tt,totalTime:ye+tt,easing:Dt,subTimeline:Ct}}class Hn{constructor(){this._map=new Map}get(x){return this._map.get(x)||[]}append(x,E){let K=this._map.get(x);K||this._map.set(x,K=[]),K.push(...E)}has(x){return this._map.has(x)}clear(){this._map.clear()}}const So=new RegExp(":enter","g"),Xo=new RegExp(":leave","g");function _n(ue,x,E,K,ye,tt=new Map,Dt=new Map,Ct,Zt,qt=[]){return(new Ro).buildKeyframes(ue,x,E,K,ye,tt,Dt,Ct,Zt,qt)}class Ro{buildKeyframes(x,E,K,ye,tt,Dt,Ct,Zt,qt,Mi=[]){qt=qt||new Hn;const Ii=new fr(x,E,qt,ye,tt,Mi,[]);Ii.options=Zt;const fn=Zt.delay?gt(Zt.delay):0;Ii.currentTimeline.delayNextStep(fn),Ii.currentTimeline.setStyles([Dt],null,Ii.errors,Zt),Wi(this,K,Ii);const un=Ii.timelines.filter(Zi=>Zi.containsAnimation());if(un.length&&Ct.size){let Zi;for(let Qi=un.length-1;Qi>=0;Qi--){const Dn=un[Qi];if(Dn.element===E){Zi=Dn;break}}Zi&&!Zi.allowOnlyTimelineStyles()&&Zi.setStyles([Ct],null,Ii.errors,Zt)}return un.length?un.map(Zi=>Zi.buildKeyframes()):[$o(E,[],[],[],0,fn,"",!1)]}visitTrigger(x,E){}visitState(x,E){}visitTransition(x,E){}visitAnimateChild(x,E){const K=E.subInstructions.get(E.element);if(K){const ye=E.createSubContext(x.options),tt=E.currentTimeline.currentTime,Dt=this._visitSubInstructions(K,ye,ye.options);tt!=Dt&&E.transformIntoNewTimeline(Dt)}E.previousNode=x}visitAnimateRef(x,E){const K=E.createSubContext(x.options);K.transformIntoNewTimeline(),this._applyAnimationRefDelays([x.options,x.animation.options],E,K),this.visitReference(x.animation,K),E.transformIntoNewTimeline(K.currentTimeline.currentTime),E.previousNode=x}_applyAnimationRefDelays(x,E,K){for(const ye of x){const tt=ye?.delay;if(tt){const Dt="number"==typeof tt?tt:gt(bt(tt,ye?.params??{},E.errors));K.delayNextStep(Dt)}}}_visitSubInstructions(x,E,K){let tt=E.currentTimeline.currentTime;const Dt=null!=K.duration?gt(K.duration):null,Ct=null!=K.delay?gt(K.delay):null;return 0!==Dt&&x.forEach(Zt=>{const qt=E.appendInstructionToTimeline(Zt,Dt,Ct);tt=Math.max(tt,qt.duration+qt.delay)}),tt}visitReference(x,E){E.updateOptions(x.options,!0),Wi(this,x.animation,E),E.previousNode=x}visitSequence(x,E){const K=E.subContextCount;let ye=E;const tt=x.options;if(tt&&(tt.params||tt.delay)&&(ye=E.createSubContext(tt),ye.transformIntoNewTimeline(),null!=tt.delay)){6==ye.previousNode.type&&(ye.currentTimeline.snapshotCurrentStyles(),ye.previousNode=Ho);const Dt=gt(tt.delay);ye.delayNextStep(Dt)}x.steps.length&&(x.steps.forEach(Dt=>Wi(this,Dt,ye)),ye.currentTimeline.applyStylesToKeyframe(),ye.subContextCount>K&&ye.transformIntoNewTimeline()),E.previousNode=x}visitGroup(x,E){const K=[];let ye=E.currentTimeline.currentTime;const tt=x.options&&x.options.delay?gt(x.options.delay):0;x.steps.forEach(Dt=>{const Ct=E.createSubContext(x.options);tt&&Ct.delayNextStep(tt),Wi(this,Dt,Ct),ye=Math.max(ye,Ct.currentTimeline.currentTime),K.push(Ct.currentTimeline)}),K.forEach(Dt=>E.currentTimeline.mergeTimelineCollectedStyles(Dt)),E.transformIntoNewTimeline(ye),E.previousNode=x}_visitTiming(x,E){if(x.dynamic){const K=x.strValue;return se(E.params?bt(K,E.params,E.errors):K,E.errors)}return{duration:x.duration,delay:x.delay,easing:x.easing}}visitAnimate(x,E){const K=E.currentAnimateTimings=this._visitTiming(x.timings,E),ye=E.currentTimeline;K.delay&&(E.incrementTime(K.delay),ye.snapshotCurrentStyles());const tt=x.style;5==tt.type?this.visitKeyframes(tt,E):(E.incrementTime(K.duration),this.visitStyle(tt,E),ye.applyStylesToKeyframe()),E.currentAnimateTimings=null,E.previousNode=x}visitStyle(x,E){const K=E.currentTimeline,ye=E.currentAnimateTimings;!ye&&K.hasCurrentStyleProperties()&&K.forwardFrame();const tt=ye&&ye.easing||x.easing;x.isEmptyStep?K.applyEmptyStep(tt):K.setStyles(x.styles,tt,E.errors,E.options),E.previousNode=x}visitKeyframes(x,E){const K=E.currentAnimateTimings,ye=E.currentTimeline.duration,tt=K.duration,Ct=E.createSubContext().currentTimeline;Ct.easing=K.easing,x.styles.forEach(Zt=>{Ct.forwardTime((Zt.offset||0)*tt),Ct.setStyles(Zt.styles,Zt.easing,E.errors,E.options),Ct.applyStylesToKeyframe()}),E.currentTimeline.mergeTimelineCollectedStyles(Ct),E.transformIntoNewTimeline(ye+tt),E.previousNode=x}visitQuery(x,E){const K=E.currentTimeline.currentTime,ye=x.options||{},tt=ye.delay?gt(ye.delay):0;tt&&(6===E.previousNode.type||0==K&&E.currentTimeline.hasCurrentStyleProperties())&&(E.currentTimeline.snapshotCurrentStyles(),E.previousNode=Ho);let Dt=K;const Ct=E.invokeQuery(x.selector,x.originalSelector,x.limit,x.includeSelf,!!ye.optional,E.errors);E.currentQueryTotal=Ct.length;let Zt=null;Ct.forEach((qt,Mi)=>{E.currentQueryIndex=Mi;const Ii=E.createSubContext(x.options,qt);tt&&Ii.delayNextStep(tt),qt===E.element&&(Zt=Ii.currentTimeline),Wi(this,x.animation,Ii),Ii.currentTimeline.applyStylesToKeyframe(),Dt=Math.max(Dt,Ii.currentTimeline.currentTime)}),E.currentQueryIndex=0,E.currentQueryTotal=0,E.transformIntoNewTimeline(Dt),Zt&&(E.currentTimeline.mergeTimelineCollectedStyles(Zt),E.currentTimeline.snapshotCurrentStyles()),E.previousNode=x}visitStagger(x,E){const K=E.parentContext,ye=E.currentTimeline,tt=x.timings,Dt=Math.abs(tt.duration),Ct=Dt*(E.currentQueryTotal-1);let Zt=Dt*E.currentQueryIndex;switch(tt.duration<0?"reverse":tt.easing){case"reverse":Zt=Ct-Zt;break;case"full":Zt=K.currentStaggerTime}const Mi=E.currentTimeline;Zt&&Mi.delayNextStep(Zt);const Ii=Mi.currentTime;Wi(this,x.animation,E),E.previousNode=x,K.currentStaggerTime=ye.currentTime-Ii+(ye.startTime-K.currentTimeline.startTime)}}const Ho={};class fr{constructor(x,E,K,ye,tt,Dt,Ct,Zt){this._driver=x,this.element=E,this.subInstructions=K,this._enterClassName=ye,this._leaveClassName=tt,this.errors=Dt,this.timelines=Ct,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Ho,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Zt||new lr(this._driver,E,0),Ct.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(x,E){if(!x)return;const K=x;let ye=this.options;null!=K.duration&&(ye.duration=gt(K.duration)),null!=K.delay&&(ye.delay=gt(K.delay));const tt=K.params;if(tt){let Dt=ye.params;Dt||(Dt=this.options.params={}),Object.keys(tt).forEach(Ct=>{(!E||!Dt.hasOwnProperty(Ct))&&(Dt[Ct]=bt(tt[Ct],Dt,this.errors))})}}_copyOptions(){const x={};if(this.options){const E=this.options.params;if(E){const K=x.params={};Object.keys(E).forEach(ye=>{K[ye]=E[ye]})}}return x}createSubContext(x=null,E,K){const ye=E||this.element,tt=new fr(this._driver,ye,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(ye,K||0));return tt.previousNode=this.previousNode,tt.currentAnimateTimings=this.currentAnimateTimings,tt.options=this._copyOptions(),tt.updateOptions(x),tt.currentQueryIndex=this.currentQueryIndex,tt.currentQueryTotal=this.currentQueryTotal,tt.parentContext=this,this.subContextCount++,tt}transformIntoNewTimeline(x){return this.previousNode=Ho,this.currentTimeline=this.currentTimeline.fork(this.element,x),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(x,E,K){const ye={duration:E??x.duration,delay:this.currentTimeline.currentTime+(K??0)+x.delay,easing:""},tt=new gr(this._driver,x.element,x.keyframes,x.preStyleProps,x.postStyleProps,ye,x.stretchStartingKeyframe);return this.timelines.push(tt),ye}incrementTime(x){this.currentTimeline.forwardTime(this.currentTimeline.duration+x)}delayNextStep(x){x>0&&this.currentTimeline.delayNextStep(x)}invokeQuery(x,E,K,ye,tt,Dt){let Ct=[];if(ye&&Ct.push(this.element),x.length>0){x=(x=x.replace(So,"."+this._enterClassName)).replace(Xo,"."+this._leaveClassName);let qt=this._driver.query(this.element,x,1!=K);0!==K&&(qt=K<0?qt.slice(qt.length+K,qt.length):qt.slice(0,K)),Ct.push(...qt)}return!tt&&0==Ct.length&&Dt.push(function le(ue){return new s.vHH(3014,!1)}()),Ct}}class lr{constructor(x,E,K,ye){this._driver=x,this.element=E,this.startTime=K,this._elementTimelineStylesLookup=ye,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(E),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(E,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(x){const E=1===this._keyframes.size&&this._pendingStyles.size;this.duration||E?(this.forwardTime(this.currentTime+x),E&&this.snapshotCurrentStyles()):this.startTime+=x}fork(x,E){return this.applyStylesToKeyframe(),new lr(this._driver,x,E||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(x){this.applyStylesToKeyframe(),this.duration=x,this._loadKeyframe()}_updateStyle(x,E){this._localTimelineStyles.set(x,E),this._globalTimelineStyles.set(x,E),this._styleSummary.set(x,{time:this.currentTime,value:E})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(x){x&&this._previousKeyframe.set("easing",x);for(let[E,K]of this._globalTimelineStyles)this._backFill.set(E,K||T.l3),this._currentKeyframe.set(E,T.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(x,E,K,ye){E&&this._previousKeyframe.set("easing",E);const tt=ye&&ye.params||{},Dt=function jn(ue,x){const E=new Map;let K;return ue.forEach(ye=>{if("*"===ye){K=K||x.keys();for(let tt of K)E.set(tt,T.l3)}else ii(ye,E)}),E}(x,this._globalTimelineStyles);for(let[Ct,Zt]of Dt){const qt=bt(Zt,tt,K);this._pendingStyles.set(Ct,qt),this._localTimelineStyles.has(Ct)||this._backFill.set(Ct,this._globalTimelineStyles.get(Ct)??T.l3),this._updateStyle(Ct,qt)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((x,E)=>{this._currentKeyframe.set(E,x)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((x,E)=>{this._currentKeyframe.has(E)||this._currentKeyframe.set(E,x)}))}snapshotCurrentStyles(){for(let[x,E]of this._localTimelineStyles)this._pendingStyles.set(x,E),this._updateStyle(x,E)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const x=[];for(let E in this._currentKeyframe)x.push(E);return x}mergeTimelineCollectedStyles(x){x._styleSummary.forEach((E,K)=>{const ye=this._styleSummary.get(K);(!ye||E.time>ye.time)&&this._updateStyle(K,E.value)})}buildKeyframes(){this.applyStylesToKeyframe();const x=new Set,E=new Set,K=1===this._keyframes.size&&0===this.duration;let ye=[];this._keyframes.forEach((Ct,Zt)=>{const qt=ii(Ct,new Map,this._backFill);qt.forEach((Mi,Ii)=>{Mi===T.k1?x.add(Ii):Mi===T.l3&&E.add(Ii)}),K||qt.set("offset",Zt/this.duration),ye.push(qt)});const tt=x.size?fe(x.values()):[],Dt=E.size?fe(E.values()):[];if(K){const Ct=ye[0],Zt=new Map(Ct);Ct.set("offset",0),Zt.set("offset",1),ye=[Ct,Zt]}return $o(this.element,ye,tt,Dt,this.duration,this.startTime,this.easing,!1)}}class gr extends lr{constructor(x,E,K,ye,tt,Dt,Ct=!1){super(x,E,Dt.delay),this.keyframes=K,this.preStyleProps=ye,this.postStyleProps=tt,this._stretchStartingKeyframe=Ct,this.timings={duration:Dt.duration,delay:Dt.delay,easing:Dt.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let x=this.keyframes,{delay:E,duration:K,easing:ye}=this.timings;if(this._stretchStartingKeyframe&&E){const tt=[],Dt=K+E,Ct=E/Dt,Zt=ii(x[0]);Zt.set("offset",0),tt.push(Zt);const qt=ii(x[0]);qt.set("offset",Wo(Ct)),tt.push(qt);const Mi=x.length-1;for(let Ii=1;Ii<=Mi;Ii++){let fn=ii(x[Ii]);const un=fn.get("offset");fn.set("offset",Wo((E+un*K)/Dt)),tt.push(fn)}K=Dt,E=0,ye="",x=tt}return $o(this.element,x,this.preStyleProps,this.postStyleProps,K,E,ye,!0)}}function Wo(ue,x=3){const E=Math.pow(10,x-1);return Math.round(ue*E)/E}class qn{}const qo=new Set(["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"]);class co extends qn{normalizePropertyName(x,E){return At(x)}normalizeStyleValue(x,E,K,ye){let tt="";const Dt=K.toString().trim();if(qo.has(E)&&0!==K&&"0"!==K)if("number"==typeof K)tt="px";else{const Ct=K.match(/^[+-]?[\d\.]+([a-z]*)$/);Ct&&0==Ct[1].length&&ye.push(function Be(ue,x){return new s.vHH(3005,!1)}())}return Dt+tt}}function _i(ue,x,E,K,ye,tt,Dt,Ct,Zt,qt,Mi,Ii,fn){return{type:0,element:ue,triggerName:x,isRemovalTransition:ye,fromState:E,fromStyles:tt,toState:K,toStyles:Dt,timelines:Ct,queriedElements:Zt,preStyleProps:qt,postStyleProps:Mi,totalTime:Ii,errors:fn}}const rn={};class fo{constructor(x,E,K){this._triggerName=x,this.ast=E,this._stateStyles=K}match(x,E,K,ye){return function qe(ue,x,E,K,ye){return ue.some(tt=>tt(x,E,K,ye))}(this.ast.matchers,x,E,K,ye)}buildStyles(x,E,K){let ye=this._stateStyles.get("*");return void 0!==x&&(ye=this._stateStyles.get(x?.toString())||ye),ye?ye.buildStyles(E,K):new Map}build(x,E,K,ye,tt,Dt,Ct,Zt,qt,Mi){const Ii=[],fn=this.ast.options&&this.ast.options.params||rn,Zi=this.buildStyles(K,Ct&&Ct.params||rn,Ii),Qi=Zt&&Zt.params||rn,Dn=this.buildStyles(ye,Qi,Ii),Rn=new Set,oo=new Map,R=new Map,ae="void"===ye,G={params:F(Qi,fn),delay:this.ast.options?.delay},Oe=Mi?[]:_n(x,E,this.ast.animation,tt,Dt,Zi,Dn,G,qt,Ii);let ut=0;if(Oe.forEach(Kt=>{ut=Math.max(Kt.duration+Kt.delay,ut)}),Ii.length)return _i(E,this._triggerName,K,ye,ae,Zi,Dn,[],[],oo,R,ut,Ii);Oe.forEach(Kt=>{const ki=Kt.element,sn=lt(oo,ki,new Set);Kt.preStyleProps.forEach(en=>sn.add(en));const Sn=lt(R,ki,new Set);Kt.postStyleProps.forEach(en=>Sn.add(en)),ki!==E&&Rn.add(ki)});const Xt=fe(Rn.values());return _i(E,this._triggerName,K,ye,ae,Zi,Dn,Oe,Xt,oo,R,ut)}}function F(ue,x){const E=A(x);for(const K in ue)ue.hasOwnProperty(K)&&null!=ue[K]&&(E[K]=ue[K]);return E}class Te{constructor(x,E,K){this.styles=x,this.defaultParams=E,this.normalizer=K}buildStyles(x,E){const K=new Map,ye=A(this.defaultParams);return Object.keys(x).forEach(tt=>{const Dt=x[tt];null!==Dt&&(ye[tt]=Dt)}),this.styles.styles.forEach(tt=>{"string"!=typeof tt&&tt.forEach((Dt,Ct)=>{Dt&&(Dt=bt(Dt,ye,E));const Zt=this.normalizer.normalizePropertyName(Ct,E);Dt=this.normalizer.normalizeStyleValue(Ct,Zt,Dt,E),K.set(Ct,Dt)})}),K}}class Ht{constructor(x,E,K){this.name=x,this.ast=E,this._normalizer=K,this.transitionFactories=[],this.states=new Map,E.states.forEach(ye=>{this.states.set(ye.name,new Te(ye.style,ye.options&&ye.options.params||{},K))}),mn(this.states,"true","1"),mn(this.states,"false","0"),E.transitions.forEach(ye=>{this.transitionFactories.push(new fo(x,ye,this.states))}),this.fallbackTransition=function bi(ue,x,E){return new fo(ue,{type:1,animation:{type:2,steps:[],options:null},matchers:[(Dt,Ct)=>!0],options:null,queryCount:0,depCount:0},x)}(x,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(x,E,K,ye){return this.transitionFactories.find(Dt=>Dt.match(x,E,K,ye))||null}matchStyles(x,E,K){return this.fallbackTransition.buildStyles(x,E,K)}}function mn(ue,x,E){ue.has(x)?ue.has(E)||ue.set(E,ue.get(x)):ue.has(E)&&ue.set(x,ue.get(E))}const $n=new Hn;class On{constructor(x,E,K){this.bodyNode=x,this._driver=E,this._normalizer=K,this._animations=new Map,this._playersById=new Map,this.players=[]}register(x,E){const K=[],ye=[],tt=Xe(this._driver,E,K,ye);if(K.length)throw function kt(ue){return new s.vHH(3503,!1)}();this._animations.set(x,tt)}_buildPlayer(x,E,K){const ye=x.element,tt=Fe(0,this._normalizer,0,x.keyframes,E,K);return this._driver.animate(ye,tt,x.duration,x.delay,x.easing,[],!0)}create(x,E,K={}){const ye=[],tt=this._animations.get(x);let Dt;const Ct=new Map;if(tt?(Dt=_n(this._driver,E,tt,Ut,Vt,new Map,new Map,K,$n,ye),Dt.forEach(Mi=>{const Ii=lt(Ct,Mi.element,new Map);Mi.postStyleProps.forEach(fn=>Ii.set(fn,null))})):(ye.push(function rt(){return new s.vHH(3300,!1)}()),Dt=[]),ye.length)throw function Wt(ue){return new s.vHH(3504,!1)}();Ct.forEach((Mi,Ii)=>{Mi.forEach((fn,un)=>{Mi.set(un,this._driver.computeStyle(Ii,un,T.l3))})});const qt=we(Dt.map(Mi=>{const Ii=Ct.get(Mi.element);return this._buildPlayer(Mi,new Map,Ii)}));return this._playersById.set(x,qt),qt.onDestroy(()=>this.destroy(x)),this.players.push(qt),qt}destroy(x){const E=this._getPlayer(x);E.destroy(),this._playersById.delete(x);const K=this.players.indexOf(E);K>=0&&this.players.splice(K,1)}_getPlayer(x){const E=this._playersById.get(x);if(!E)throw function yi(ue){return new s.vHH(3301,!1)}();return E}listen(x,E,K,ye){const tt=Nt(E,"","","");return _t(this._getPlayer(x),K,tt,ye),()=>{}}command(x,E,K,ye){if("register"==K)return void this.register(x,ye[0]);if("create"==K)return void this.create(x,E,ye[0]||{});const tt=this._getPlayer(x);switch(K){case"play":tt.play();break;case"pause":tt.pause();break;case"reset":tt.reset();break;case"restart":tt.restart();break;case"finish":tt.finish();break;case"init":tt.init();break;case"setPosition":tt.setPosition(parseFloat(ye[0]));break;case"destroy":this.destroy(x)}}}const ko="ng-animate-queued",uo="ng-animate-disabled",Vr=[],Hr={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Xr={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},_o="__ng_removed";class bo{get params(){return this.options.params}constructor(x,E=""){this.namespaceId=E;const K=x&&x.hasOwnProperty("value");if(this.value=function Er(ue){return ue??null}(K?x.value:x),K){const tt=A(x);delete tt.value,this.options=tt}else this.options={};this.options.params||(this.options.params={})}absorbOptions(x){const E=x.params;if(E){const K=this.options.params;Object.keys(E).forEach(ye=>{null==K[ye]&&(K[ye]=E[ye])})}}}const Ko="void",er=new bo(Ko);class Tr{constructor(x,E,K){this.id=x,this.hostElement=E,this._engine=K,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+x,Ao(E,this._hostClassName)}listen(x,E,K,ye){if(!this._triggers.has(E))throw function gi(ue,x){return new s.vHH(3302,!1)}();if(null==K||0==K.length)throw function jt(ue){return new s.vHH(3303,!1)}();if(!function zr(ue){return"start"==ue||"done"==ue}(K))throw function ai(ue,x){return new s.vHH(3400,!1)}();const tt=lt(this._elementListeners,x,[]),Dt={name:E,phase:K,callback:ye};tt.push(Dt);const Ct=lt(this._engine.statesByElement,x,new Map);return Ct.has(E)||(Ao(x,be),Ao(x,be+"-"+E),Ct.set(E,er)),()=>{this._engine.afterFlush(()=>{const Zt=tt.indexOf(Dt);Zt>=0&&tt.splice(Zt,1),this._triggers.has(E)||Ct.delete(E)})}}register(x,E){return!this._triggers.has(x)&&(this._triggers.set(x,E),!0)}_getTrigger(x){const E=this._triggers.get(x);if(!E)throw function ot(ue){return new s.vHH(3401,!1)}();return E}trigger(x,E,K,ye=!0){const tt=this._getTrigger(E),Dt=new tr(this.id,E,x);let Ct=this._engine.statesByElement.get(x);Ct||(Ao(x,be),Ao(x,be+"-"+E),this._engine.statesByElement.set(x,Ct=new Map));let Zt=Ct.get(E);const qt=new bo(K,this.id);if(!(K&&K.hasOwnProperty("value"))&&Zt&&qt.absorbOptions(Zt.options),Ct.set(E,qt),Zt||(Zt=er),qt.value!==Ko&&Zt.value===qt.value){if(!function es(ue,x){const E=Object.keys(ue),K=Object.keys(x);if(E.length!=K.length)return!1;for(let ye=0;ye<E.length;ye++){const tt=E[ye];if(!x.hasOwnProperty(tt)||ue[tt]!==x[tt])return!1}return!0}(Zt.params,qt.params)){const Qi=[],Dn=tt.matchStyles(Zt.value,Zt.params,Qi),Rn=tt.matchStyles(qt.value,qt.params,Qi);Qi.length?this._engine.reportError(Qi):this._engine.afterFlush(()=>{vi(x,Dn),Fi(x,Rn)})}return}const fn=lt(this._engine.playersByElement,x,[]);fn.forEach(Qi=>{Qi.namespaceId==this.id&&Qi.triggerName==E&&Qi.queued&&Qi.destroy()});let un=tt.matchTransition(Zt.value,qt.value,x,qt.params),Zi=!1;if(!un){if(!ye)return;un=tt.fallbackTransition,Zi=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:x,triggerName:E,transition:un,fromState:Zt,toState:qt,player:Dt,isFallbackTransition:Zi}),Zi||(Ao(x,ko),Dt.onStart(()=>{Ln(x,ko)})),Dt.onDone(()=>{let Qi=this.players.indexOf(Dt);Qi>=0&&this.players.splice(Qi,1);const Dn=this._engine.playersByElement.get(x);if(Dn){let Rn=Dn.indexOf(Dt);Rn>=0&&Dn.splice(Rn,1)}}),this.players.push(Dt),fn.push(Dt),Dt}deregister(x){this._triggers.delete(x),this._engine.statesByElement.forEach(E=>E.delete(x)),this._elementListeners.forEach((E,K)=>{this._elementListeners.set(K,E.filter(ye=>ye.name!=x))})}clearElementCache(x){this._engine.statesByElement.delete(x),this._elementListeners.delete(x);const E=this._engine.playersByElement.get(x);E&&(E.forEach(K=>K.destroy()),this._engine.playersByElement.delete(x))}_signalRemovalForInnerTriggers(x,E){const K=this._engine.driver.query(x,st,!0);K.forEach(ye=>{if(ye[_o])return;const tt=this._engine.fetchNamespacesByElement(ye);tt.size?tt.forEach(Dt=>Dt.triggerLeaveAnimation(ye,E,!1,!0)):this.clearElementCache(ye)}),this._engine.afterFlushAnimationsDone(()=>K.forEach(ye=>this.clearElementCache(ye)))}triggerLeaveAnimation(x,E,K,ye){const tt=this._engine.statesByElement.get(x),Dt=new Map;if(tt){const Ct=[];if(tt.forEach((Zt,qt)=>{if(Dt.set(qt,Zt.value),this._triggers.has(qt)){const Mi=this.trigger(x,qt,Ko,ye);Mi&&Ct.push(Mi)}}),Ct.length)return this._engine.markElementAsRemoved(this.id,x,!0,E,Dt),K&&we(Ct).onDone(()=>this._engine.processLeaveNode(x)),!0}return!1}prepareLeaveAnimationListeners(x){const E=this._elementListeners.get(x),K=this._engine.statesByElement.get(x);if(E&&K){const ye=new Set;E.forEach(tt=>{const Dt=tt.name;if(ye.has(Dt))return;ye.add(Dt);const Zt=this._triggers.get(Dt).fallbackTransition,qt=K.get(Dt)||er,Mi=new bo(Ko),Ii=new tr(this.id,Dt,x);this._engine.totalQueuedPlayers++,this._queue.push({element:x,triggerName:Dt,transition:Zt,fromState:qt,toState:Mi,player:Ii,isFallbackTransition:!0})})}}removeNode(x,E){const K=this._engine;if(x.childElementCount&&this._signalRemovalForInnerTriggers(x,E),this.triggerLeaveAnimation(x,E,!0))return;let ye=!1;if(K.totalAnimations){const tt=K.players.length?K.playersByQueriedElement.get(x):[];if(tt&&tt.length)ye=!0;else{let Dt=x;for(;Dt=Dt.parentNode;)if(K.statesByElement.get(Dt)){ye=!0;break}}}if(this.prepareLeaveAnimationListeners(x),ye)K.markElementAsRemoved(this.id,x,!1,E);else{const tt=x[_o];(!tt||tt===Hr)&&(K.afterFlush(()=>this.clearElementCache(x)),K.destroyInnerAnimations(x),K._onRemovalComplete(x,E))}}insertNode(x,E){Ao(x,this._hostClassName)}drainQueuedTransitions(x){const E=[];return this._queue.forEach(K=>{const ye=K.player;if(ye.destroyed)return;const tt=K.element,Dt=this._elementListeners.get(tt);Dt&&Dt.forEach(Ct=>{if(Ct.name==K.triggerName){const Zt=Nt(tt,K.triggerName,K.fromState.value,K.toState.value);Zt._data=x,_t(K.player,Ct.phase,Zt,Ct.callback)}}),ye.markedForDestroy?this._engine.afterFlush(()=>{ye.destroy()}):E.push(K)}),this._queue=[],E.sort((K,ye)=>{const tt=K.transition.ast.depCount,Dt=ye.transition.ast.depCount;return 0==tt||0==Dt?tt-Dt:this._engine.driver.containsElement(K.element,ye.element)?1:-1})}destroy(x){this.players.forEach(E=>E.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,x)}elementContainsData(x){let E=!1;return this._elementListeners.has(x)&&(E=!0),E=!!this._queue.find(K=>K.element===x)||E,E}}class _r{_onRemovalComplete(x,E){this.onRemovalComplete(x,E)}constructor(x,E,K){this.bodyNode=x,this.driver=E,this._normalizer=K,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=(ye,tt)=>{}}get queuedPlayers(){const x=[];return this._namespaceList.forEach(E=>{E.players.forEach(K=>{K.queued&&x.push(K)})}),x}createNamespace(x,E){const K=new Tr(x,E,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,E)?this._balanceNamespaceList(K,E):(this.newHostElements.set(E,K),this.collectEnterElement(E)),this._namespaceLookup[x]=K}_balanceNamespaceList(x,E){const K=this._namespaceList,ye=this.namespacesByHostElement;if(K.length-1>=0){let Dt=!1,Ct=this.driver.getParentElement(E);for(;Ct;){const Zt=ye.get(Ct);if(Zt){const qt=K.indexOf(Zt);K.splice(qt+1,0,x),Dt=!0;break}Ct=this.driver.getParentElement(Ct)}Dt||K.unshift(x)}else K.push(x);return ye.set(E,x),x}register(x,E){let K=this._namespaceLookup[x];return K||(K=this.createNamespace(x,E)),K}registerTrigger(x,E,K){let ye=this._namespaceLookup[x];ye&&ye.register(E,K)&&this.totalAnimations++}destroy(x,E){if(!x)return;const K=this._fetchNamespace(x);this.afterFlush(()=>{this.namespacesByHostElement.delete(K.hostElement),delete this._namespaceLookup[x];const ye=this._namespaceList.indexOf(K);ye>=0&&this._namespaceList.splice(ye,1)}),this.afterFlushAnimationsDone(()=>K.destroy(E))}_fetchNamespace(x){return this._namespaceLookup[x]}fetchNamespacesByElement(x){const E=new Set,K=this.statesByElement.get(x);if(K)for(let ye of K.values())if(ye.namespaceId){const tt=this._fetchNamespace(ye.namespaceId);tt&&E.add(tt)}return E}trigger(x,E,K,ye){if(vr(E)){const tt=this._fetchNamespace(x);if(tt)return tt.trigger(E,K,ye),!0}return!1}insertNode(x,E,K,ye){if(!vr(E))return;const tt=E[_o];if(tt&&tt.setForRemoval){tt.setForRemoval=!1,tt.setForMove=!0;const Dt=this.collectedLeaveElements.indexOf(E);Dt>=0&&this.collectedLeaveElements.splice(Dt,1)}if(x){const Dt=this._fetchNamespace(x);Dt&&Dt.insertNode(E,K)}ye&&this.collectEnterElement(E)}collectEnterElement(x){this.collectedEnterElements.push(x)}markElementAsDisabled(x,E){E?this.disabledNodes.has(x)||(this.disabledNodes.add(x),Ao(x,uo)):this.disabledNodes.has(x)&&(this.disabledNodes.delete(x),Ln(x,uo))}removeNode(x,E,K,ye){if(vr(E)){const tt=x?this._fetchNamespace(x):null;if(tt?tt.removeNode(E,ye):this.markElementAsRemoved(x,E,!1,ye),K){const Dt=this.namespacesByHostElement.get(E);Dt&&Dt.id!==x&&Dt.removeNode(E,ye)}}else this._onRemovalComplete(E,ye)}markElementAsRemoved(x,E,K,ye,tt){this.collectedLeaveElements.push(E),E[_o]={namespaceId:x,setForRemoval:ye,hasAnimation:K,removedBeforeQueried:!1,previousTriggersValues:tt}}listen(x,E,K,ye,tt){return vr(E)?this._fetchNamespace(x).listen(E,K,ye,tt):()=>{}}_buildInstruction(x,E,K,ye,tt){return x.transition.build(this.driver,x.element,x.fromState.value,x.toState.value,K,ye,x.fromState.options,x.toState.options,E,tt)}destroyInnerAnimations(x){let E=this.driver.query(x,st,!0);E.forEach(K=>this.destroyActiveAnimationsForElement(K)),0!=this.playersByQueriedElement.size&&(E=this.driver.query(x,ke,!0),E.forEach(K=>this.finishActiveQueriedAnimationOnElement(K)))}destroyActiveAnimationsForElement(x){const E=this.playersByElement.get(x);E&&E.forEach(K=>{K.queued?K.markedForDestroy=!0:K.destroy()})}finishActiveQueriedAnimationOnElement(x){const E=this.playersByQueriedElement.get(x);E&&E.forEach(K=>K.finish())}whenRenderingDone(){return new Promise(x=>{if(this.players.length)return we(this.players).onDone(()=>x());x()})}processLeaveNode(x){const E=x[_o];if(E&&E.setForRemoval){if(x[_o]=Hr,E.namespaceId){this.destroyInnerAnimations(x);const K=this._fetchNamespace(E.namespaceId);K&&K.clearElementCache(x)}this._onRemovalComplete(x,E.setForRemoval)}x.classList?.contains(uo)&&this.markElementAsDisabled(x,!1),this.driver.query(x,".ng-animate-disabled",!0).forEach(K=>{this.markElementAsDisabled(K,!1)})}flush(x=-1){let E=[];if(this.newHostElements.size&&(this.newHostElements.forEach((K,ye)=>this._balanceNamespaceList(K,ye)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let K=0;K<this.collectedEnterElements.length;K++)Ao(this.collectedEnterElements[K],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const K=[];try{E=this._flushAnimations(K,x)}finally{for(let ye=0;ye<K.length;ye++)K[ye]()}}else for(let K=0;K<this.collectedLeaveElements.length;K++)this.processLeaveNode(this.collectedLeaveElements[K]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(K=>K()),this._flushFns=[],this._whenQuietFns.length){const K=this._whenQuietFns;this._whenQuietFns=[],E.length?we(E).onDone(()=>{K.forEach(ye=>ye())}):K.forEach(ye=>ye())}}reportError(x){throw function W(ue){return new s.vHH(3402,!1)}()}_flushAnimations(x,E){const K=new Hn,ye=[],tt=new Map,Dt=[],Ct=new Map,Zt=new Map,qt=new Map,Mi=new Set;this.disabledNodes.forEach(fi=>{Mi.add(fi);const Oi=this.driver.query(fi,".ng-animate-queued",!0);for(let Vi=0;Vi<Oi.length;Vi++)Mi.add(Oi[Vi])});const Ii=this.bodyNode,fn=Array.from(this.statesByElement.keys()),un=Ur(fn,this.collectedEnterElements),Zi=new Map;let Qi=0;un.forEach((fi,Oi)=>{const Vi=Ut+Qi++;Zi.set(Oi,Vi),fi.forEach(Ji=>Ao(Ji,Vi))});const Dn=[],Rn=new Set,oo=new Set;for(let fi=0;fi<this.collectedLeaveElements.length;fi++){const Oi=this.collectedLeaveElements[fi],Vi=Oi[_o];Vi&&Vi.setForRemoval&&(Dn.push(Oi),Rn.add(Oi),Vi.hasAnimation?this.driver.query(Oi,".ng-star-inserted",!0).forEach(Ji=>Rn.add(Ji)):oo.add(Oi))}const R=new Map,ae=Ur(fn,Array.from(Rn));ae.forEach((fi,Oi)=>{const Vi=Vt+Qi++;R.set(Oi,Vi),fi.forEach(Ji=>Ao(Ji,Vi))}),x.push(()=>{un.forEach((fi,Oi)=>{const Vi=Zi.get(Oi);fi.forEach(Ji=>Ln(Ji,Vi))}),ae.forEach((fi,Oi)=>{const Vi=R.get(Oi);fi.forEach(Ji=>Ln(Ji,Vi))}),Dn.forEach(fi=>{this.processLeaveNode(fi)})});const G=[],Oe=[];for(let fi=this._namespaceList.length-1;fi>=0;fi--)this._namespaceList[fi].drainQueuedTransitions(E).forEach(Vi=>{const Ji=Vi.player,bn=Vi.element;if(G.push(Ji),this.collectedEnterElements.length){const Go=bn[_o];if(Go&&Go.setForMove){if(Go.previousTriggersValues&&Go.previousTriggersValues.has(Vi.triggerName)){const Lr=Go.previousTriggersValues.get(Vi.triggerName),vn=this.statesByElement.get(Vi.element);if(vn&&vn.has(Vi.triggerName)){const or=vn.get(Vi.triggerName);or.value=Lr,vn.set(Vi.triggerName,or)}}return void Ji.destroy()}}const zn=!Ii||!this.driver.containsElement(Ii,bn),Wn=R.get(bn),Io=Zi.get(bn),kn=this._buildInstruction(Vi,K,Io,Wn,zn);if(kn.errors&&kn.errors.length)return void Oe.push(kn);if(zn)return Ji.onStart(()=>vi(bn,kn.fromStyles)),Ji.onDestroy(()=>Fi(bn,kn.toStyles)),void ye.push(Ji);if(Vi.isFallbackTransition)return Ji.onStart(()=>vi(bn,kn.fromStyles)),Ji.onDestroy(()=>Fi(bn,kn.toStyles)),void ye.push(Ji);const Rs=[];kn.timelines.forEach(Go=>{Go.stretchStartingKeyframe=!0,this.disabledNodes.has(Go.element)||Rs.push(Go)}),kn.timelines=Rs,K.append(bn,kn.timelines),Dt.push({instruction:kn,player:Ji,element:bn}),kn.queriedElements.forEach(Go=>lt(Ct,Go,[]).push(Ji)),kn.preStyleProps.forEach((Go,Lr)=>{if(Go.size){let vn=Zt.get(Lr);vn||Zt.set(Lr,vn=new Set),Go.forEach((or,ur)=>vn.add(ur))}}),kn.postStyleProps.forEach((Go,Lr)=>{let vn=qt.get(Lr);vn||qt.set(Lr,vn=new Set),Go.forEach((or,ur)=>vn.add(ur))})});if(Oe.length){const fi=[];Oe.forEach(Oi=>{fi.push(function H(ue,x){return new s.vHH(3505,!1)}())}),G.forEach(Oi=>Oi.destroy()),this.reportError(fi)}const ut=new Map,Xt=new Map;Dt.forEach(fi=>{const Oi=fi.element;K.has(Oi)&&(Xt.set(Oi,Oi),this._beforeAnimationBuild(fi.player.namespaceId,fi.instruction,ut))}),ye.forEach(fi=>{const Oi=fi.element;this._getPreviousPlayers(Oi,!1,fi.namespaceId,fi.triggerName,null).forEach(Ji=>{lt(ut,Oi,[]).push(Ji),Ji.destroy()})});const Kt=Dn.filter(fi=>yr(fi,Zt,qt)),ki=new Map;no(ki,this.driver,oo,qt,T.l3).forEach(fi=>{yr(fi,Zt,qt)&&Kt.push(fi)});const Sn=new Map;un.forEach((fi,Oi)=>{no(Sn,this.driver,new Set(fi),Zt,T.k1)}),Kt.forEach(fi=>{const Oi=ki.get(fi),Vi=Sn.get(fi);ki.set(fi,new Map([...Array.from(Oi?.entries()??[]),...Array.from(Vi?.entries()??[])]))});const en=[],an=[],Zn={};Dt.forEach(fi=>{const{element:Oi,player:Vi,instruction:Ji}=fi;if(K.has(Oi)){if(Mi.has(Oi))return Vi.onDestroy(()=>Fi(Oi,Ji.toStyles)),Vi.disabled=!0,Vi.overrideTotalTime(Ji.totalTime),void ye.push(Vi);let bn=Zn;if(Xt.size>1){let Wn=Oi;const Io=[];for(;Wn=Wn.parentNode;){const kn=Xt.get(Wn);if(kn){bn=kn;break}Io.push(Wn)}Io.forEach(kn=>Xt.set(kn,bn))}const zn=this._buildAnimation(Vi.namespaceId,Ji,ut,tt,Sn,ki);if(Vi.setRealPlayer(zn),bn===Zn)en.push(Vi);else{const Wn=this.playersByElement.get(bn);Wn&&Wn.length&&(Vi.parentPlayer=we(Wn)),ye.push(Vi)}}else vi(Oi,Ji.fromStyles),Vi.onDestroy(()=>Fi(Oi,Ji.toStyles)),an.push(Vi),Mi.has(Oi)&&ye.push(Vi)}),an.forEach(fi=>{const Oi=tt.get(fi.element);if(Oi&&Oi.length){const Vi=we(Oi);fi.setRealPlayer(Vi)}}),ye.forEach(fi=>{fi.parentPlayer?fi.syncPlayerEvents(fi.parentPlayer):fi.destroy()});for(let fi=0;fi<Dn.length;fi++){const Oi=Dn[fi],Vi=Oi[_o];if(Ln(Oi,Vt),Vi&&Vi.hasAnimation)continue;let Ji=[];if(Ct.size){let zn=Ct.get(Oi);zn&&zn.length&&Ji.push(...zn);let Wn=this.driver.query(Oi,ke,!0);for(let Io=0;Io<Wn.length;Io++){let kn=Ct.get(Wn[Io]);kn&&kn.length&&Ji.push(...kn)}}const bn=Ji.filter(zn=>!zn.destroyed);bn.length?Po(this,Oi,bn):this.processLeaveNode(Oi)}return Dn.length=0,en.forEach(fi=>{this.players.push(fi),fi.onDone(()=>{fi.destroy();const Oi=this.players.indexOf(fi);this.players.splice(Oi,1)}),fi.play()}),en}elementContainsData(x,E){let K=!1;const ye=E[_o];return ye&&ye.setForRemoval&&(K=!0),this.playersByElement.has(E)&&(K=!0),this.playersByQueriedElement.has(E)&&(K=!0),this.statesByElement.has(E)&&(K=!0),this._fetchNamespace(x).elementContainsData(E)||K}afterFlush(x){this._flushFns.push(x)}afterFlushAnimationsDone(x){this._whenQuietFns.push(x)}_getPreviousPlayers(x,E,K,ye,tt){let Dt=[];if(E){const Ct=this.playersByQueriedElement.get(x);Ct&&(Dt=Ct)}else{const Ct=this.playersByElement.get(x);if(Ct){const Zt=!tt||tt==Ko;Ct.forEach(qt=>{qt.queued||!Zt&&qt.triggerName!=ye||Dt.push(qt)})}}return(K||ye)&&(Dt=Dt.filter(Ct=>!(K&&K!=Ct.namespaceId||ye&&ye!=Ct.triggerName))),Dt}_beforeAnimationBuild(x,E,K){const tt=E.element,Dt=E.isRemovalTransition?void 0:x,Ct=E.isRemovalTransition?void 0:E.triggerName;for(const Zt of E.timelines){const qt=Zt.element,Mi=qt!==tt,Ii=lt(K,qt,[]);this._getPreviousPlayers(qt,Mi,Dt,Ct,E.toState).forEach(un=>{const Zi=un.getRealPlayer();Zi.beforeDestroy&&Zi.beforeDestroy(),un.destroy(),Ii.push(un)})}vi(tt,E.fromStyles)}_buildAnimation(x,E,K,ye,tt,Dt){const Ct=E.triggerName,Zt=E.element,qt=[],Mi=new Set,Ii=new Set,fn=E.timelines.map(Zi=>{const Qi=Zi.element;Mi.add(Qi);const Dn=Qi[_o];if(Dn&&Dn.removedBeforeQueried)return new T.ZN(Zi.duration,Zi.delay);const Rn=Qi!==Zt,oo=function Co(ue){const x=[];return ho(ue,x),x}((K.get(Qi)||Vr).map(ut=>ut.getRealPlayer())).filter(ut=>!!ut.element&&ut.element===Qi),R=tt.get(Qi),ae=Dt.get(Qi),G=Fe(0,this._normalizer,0,Zi.keyframes,R,ae),Oe=this._buildPlayer(Zi,G,oo);if(Zi.subTimeline&&ye&&Ii.add(Qi),Rn){const ut=new tr(x,Ct,Qi);ut.setRealPlayer(Oe),qt.push(ut)}return Oe});qt.forEach(Zi=>{lt(this.playersByQueriedElement,Zi.element,[]).push(Zi),Zi.onDone(()=>function br(ue,x,E){let K=ue.get(x);if(K){if(K.length){const ye=K.indexOf(E);K.splice(ye,1)}0==K.length&&ue.delete(x)}return K}(this.playersByQueriedElement,Zi.element,Zi))}),Mi.forEach(Zi=>Ao(Zi,Z));const un=we(fn);return un.onDestroy(()=>{Mi.forEach(Zi=>Ln(Zi,Z)),Fi(Zt,E.toStyles)}),Ii.forEach(Zi=>{lt(ye,Zi,[]).push(un)}),un}_buildPlayer(x,E,K){return E.length>0?this.driver.animate(x.element,E,x.duration,x.delay,x.easing,K):new T.ZN(x.duration,x.delay)}}class tr{constructor(x,E,K){this.namespaceId=x,this.triggerName=E,this.element=K,this._player=new T.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(x){this._containsRealPlayer||(this._player=x,this._queuedCallbacks.forEach((E,K)=>{E.forEach(ye=>_t(x,K,void 0,ye))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(x.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(x){this.totalTime=x}syncPlayerEvents(x){const E=this._player;E.triggerCallback&&x.onStart(()=>E.triggerCallback("start")),x.onDone(()=>this.finish()),x.onDestroy(()=>this.destroy())}_queueEvent(x,E){lt(this._queuedCallbacks,x,[]).push(E)}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 E=this._player;E.triggerCallback&&E.triggerCallback(x)}}function vr(ue){return ue&&1===ue.nodeType}function qr(ue,x){const E=ue.style.display;return ue.style.display=x??"none",E}function no(ue,x,E,K,ye){const tt=[];E.forEach(Zt=>tt.push(qr(Zt)));const Dt=[];K.forEach((Zt,qt)=>{const Mi=new Map;Zt.forEach(Ii=>{const fn=x.computeStyle(qt,Ii,ye);Mi.set(Ii,fn),(!fn||0==fn.length)&&(qt[_o]=Xr,Dt.push(qt))}),ue.set(qt,Mi)});let Ct=0;return E.forEach(Zt=>qr(Zt,tt[Ct++])),Dt}function Ur(ue,x){const E=new Map;if(ue.forEach(Ct=>E.set(Ct,[])),0==x.length)return E;const K=1,ye=new Set(x),tt=new Map;function Dt(Ct){if(!Ct)return K;let Zt=tt.get(Ct);if(Zt)return Zt;const qt=Ct.parentNode;return Zt=E.has(qt)?qt:ye.has(qt)?K:Dt(qt),tt.set(Ct,Zt),Zt}return x.forEach(Ct=>{const Zt=Dt(Ct);Zt!==K&&E.get(Zt).push(Ct)}),E}function Ao(ue,x){ue.classList?.add(x)}function Ln(ue,x){ue.classList?.remove(x)}function Po(ue,x,E){we(E).onDone(()=>ue.processLeaveNode(x))}function ho(ue,x){for(let E=0;E<ue.length;E++){const K=ue[E];K instanceof T.ZE?ho(K.players,x):x.push(K)}}function yr(ue,x,E){const K=E.get(ue);if(!K)return!1;let ye=x.get(ue);return ye?K.forEach(tt=>ye.add(tt)):x.set(ue,K),E.delete(ue),!0}class cr{constructor(x,E,K){this.bodyNode=x,this._driver=E,this._normalizer=K,this._triggerCache={},this.onRemovalComplete=(ye,tt)=>{},this._transitionEngine=new _r(x,E,K),this._timelineEngine=new On(x,E,K),this._transitionEngine.onRemovalComplete=(ye,tt)=>this.onRemovalComplete(ye,tt)}registerTrigger(x,E,K,ye,tt){const Dt=x+"-"+ye;let Ct=this._triggerCache[Dt];if(!Ct){const Zt=[],qt=[],Mi=Xe(this._driver,tt,Zt,qt);if(Zt.length)throw function vt(ue,x){return new s.vHH(3404,!1)}();Ct=function It(ue,x,E){return new Ht(ue,x,E)}(ye,Mi,this._normalizer),this._triggerCache[Dt]=Ct}this._transitionEngine.registerTrigger(E,ye,Ct)}register(x,E){this._transitionEngine.register(x,E)}destroy(x,E){this._transitionEngine.destroy(x,E)}onInsert(x,E,K,ye){this._transitionEngine.insertNode(x,E,K,ye)}onRemove(x,E,K,ye){this._transitionEngine.removeNode(x,E,ye||!1,K)}disableAnimations(x,E){this._transitionEngine.markElementAsDisabled(x,E)}process(x,E,K,ye){if("@"==K.charAt(0)){const[tt,Dt]=zt(K);this._timelineEngine.command(tt,E,Dt,ye)}else this._transitionEngine.trigger(x,E,K,ye)}listen(x,E,K,ye,tt){if("@"==K.charAt(0)){const[Dt,Ct]=zt(K);return this._timelineEngine.listen(Dt,E,Ct,tt)}return this._transitionEngine.listen(x,E,K,ye,tt)}flush(x=-1){this._transitionEngine.flush(x)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let dr=(()=>{class ue{constructor(E,K,ye){this._element=E,this._startStyles=K,this._endStyles=ye,this._state=0;let tt=ue.initialStylesByElement.get(E);tt||ue.initialStylesByElement.set(E,tt=new Map),this._initialStyles=tt}start(){this._state<1&&(this._startStyles&&Fi(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Fi(this._element,this._initialStyles),this._endStyles&&(Fi(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(ue.initialStylesByElement.delete(this._element),this._startStyles&&(vi(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(vi(this._element,this._endStyles),this._endStyles=null),Fi(this._element,this._initialStyles),this._state=3)}}return ue.initialStylesByElement=new WeakMap,ue})();function ir(ue){let x=null;return ue.forEach((E,K)=>{(function Lo(ue){return"display"===ue||"position"===ue})(K)&&(x=x||new Map,x.set(K,E))}),x}class zo{constructor(x,E,K,ye){this.element=x,this.keyframes=E,this.options=K,this._specialStyles=ye,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=K.duration,this._delay=K.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]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(x){const E=[];return x.forEach(K=>{E.push(Object.fromEntries(K))}),E}_triggerWebAnimation(x,E,K){return x.animate(this._convertKeyframesToObject(E),K)}onStart(x){this._originalOnStartFns.push(x),this._onStartFns.push(x)}onDone(x){this._originalOnDoneFns.push(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,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_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=new Map;this.hasStarted()&&this._finalKeyframe.forEach((K,ye)=>{"offset"!==ye&&x.set(ye,this._finished?K:Un(this.element,ye))}),this.currentSnapshot=x}triggerCallback(x){const E="start"===x?this._onStartFns:this._onDoneFns;E.forEach(K=>K()),E.length=0}}class Uo{validateStyleProperty(x){return!0}validateAnimatableStyleProperty(x){return!0}matchesElement(x,E){return!1}containsElement(x,E){return Yt(x,E)}getParentElement(x){return oi(x)}query(x,E,K){return $t(x,E,K)}computeStyle(x,E,K){return window.getComputedStyle(x)[E]}animate(x,E,K,ye,tt,Dt=[]){const Zt={duration:K,delay:ye,fill:0==ye?"both":"forwards"};tt&&(Zt.easing=tt);const qt=new Map,Mi=Dt.filter(un=>un instanceof zo);(function Gi(ue,x){return 0===ue||0===x})(K,ye)&&Mi.forEach(un=>{un.currentSnapshot.forEach((Zi,Qi)=>qt.set(Qi,Zi))});let Ii=function Ye(ue){return ue.length?ue[0]instanceof Map?ue:ue.map(x=>me(x)):[]}(E).map(un=>ii(un));Ii=function nn(ue,x,E){if(E.size&&x.length){let K=x[0],ye=[];if(E.forEach((tt,Dt)=>{K.has(Dt)||ye.push(Dt),K.set(Dt,tt)}),ye.length)for(let tt=1;tt<x.length;tt++){let Dt=x[tt];ye.forEach(Ct=>Dt.set(Ct,Un(ue,Ct)))}}return x}(x,Ii,qt);const fn=function Fo(ue,x){let E=null,K=null;return Array.isArray(x)&&x.length?(E=ir(x[0]),x.length>1&&(K=ir(x[x.length-1]))):x instanceof Map&&(E=ir(x)),E||K?new dr(ue,E,K):null}(x,Ii);return new zo(x,Ii,Zt,fn)}}var ts=p(6895);let Ki=(()=>{class ue extends T._j{constructor(E,K){super(),this._nextAnimationId=0,this._renderer=E.createRenderer(K.body,{id:"0",encapsulation:s.ifc.None,styles:[],data:{animation:[]}})}build(E){const K=this._nextAnimationId.toString();this._nextAnimationId++;const ye=Array.isArray(E)?(0,T.vP)(E):E;return Q(this._renderer,null,K,"register",[ye]),new Sr(K,this._renderer)}}return ue.\u0275fac=function(E){return new(E||ue)(s.LFG(s.FYo),s.LFG(ts.K0))},ue.\u0275prov=s.Yz7({token:ue,factory:ue.\u0275fac}),ue})();class Sr extends T.LC{constructor(x,E){super(),this._id=x,this._renderer=E}create(x,E){return new ee(this._id,x,E||{},this._renderer)}}class ee{constructor(x,E,K,ye){this.id=x,this.element=E,this._renderer=ye,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",K)}_listen(x,E){return this._renderer.listen(this.element,`@@${this.id}:${x}`,E)}_command(x,...E){return Q(this._renderer,this.element,this.id,x,E)}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(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function Q(ue,x,E,K,ye){return ue.setProperty(x,`@@${E}:${K}`,ye)}const V="@",Ne="@.disabled";let Mt=(()=>{class ue{constructor(E,K,ye){this.delegate=E,this.engine=K,this._zone=ye,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),K.onRemovalComplete=(tt,Dt)=>{const Ct=Dt?.parentNode(tt);Ct&&Dt.removeChild(Ct,tt)}}createRenderer(E,K){const tt=this.delegate.createRenderer(E,K);if(!(E&&K&&K.data&&K.data.animation)){let Mi=this._rendererCache.get(tt);return Mi||(Mi=new Di("",tt,this.engine,()=>this._rendererCache.delete(tt)),this._rendererCache.set(tt,Mi)),Mi}const Dt=K.id,Ct=K.id+"-"+this._currentId;this._currentId++,this.engine.register(Ct,E);const Zt=Mi=>{Array.isArray(Mi)?Mi.forEach(Zt):this.engine.registerTrigger(Dt,Ct,E,Mi.name,Mi)};return K.data.animation.forEach(Zt),new En(this,Ct,tt,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(E,K,ye){E>=0&&E<this._microtaskId?this._zone.run(()=>K(ye)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(tt=>{const[Dt,Ct]=tt;Dt(Ct)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([K,ye]))}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 ue.\u0275fac=function(E){return new(E||ue)(s.LFG(s.FYo),s.LFG(cr),s.LFG(s.R0b))},ue.\u0275prov=s.Yz7({token:ue,factory:ue.\u0275fac}),ue})();class Di{constructor(x,E,K,ye){this.namespaceId=x,this.delegate=E,this.engine=K,this._onDestroy=ye,this.destroyNode=this.delegate.destroyNode?tt=>E.destroyNode(tt):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(x,E){return this.delegate.createElement(x,E)}createComment(x){return this.delegate.createComment(x)}createText(x){return this.delegate.createText(x)}appendChild(x,E){this.delegate.appendChild(x,E),this.engine.onInsert(this.namespaceId,E,x,!1)}insertBefore(x,E,K,ye=!0){this.delegate.insertBefore(x,E,K),this.engine.onInsert(this.namespaceId,E,x,ye)}removeChild(x,E,K){this.engine.onRemove(this.namespaceId,E,this.delegate,K)}selectRootElement(x,E){return this.delegate.selectRootElement(x,E)}parentNode(x){return this.delegate.parentNode(x)}nextSibling(x){return this.delegate.nextSibling(x)}setAttribute(x,E,K,ye){this.delegate.setAttribute(x,E,K,ye)}removeAttribute(x,E,K){this.delegate.removeAttribute(x,E,K)}addClass(x,E){this.delegate.addClass(x,E)}removeClass(x,E){this.delegate.removeClass(x,E)}setStyle(x,E,K,ye){this.delegate.setStyle(x,E,K,ye)}removeStyle(x,E,K){this.delegate.removeStyle(x,E,K)}setProperty(x,E,K){E.charAt(0)==V&&E==Ne?this.disableAnimations(x,!!K):this.delegate.setProperty(x,E,K)}setValue(x,E){this.delegate.setValue(x,E)}listen(x,E,K){return this.delegate.listen(x,E,K)}disableAnimations(x,E){this.engine.disableAnimations(x,E)}}class En extends Di{constructor(x,E,K,ye,tt){super(E,K,ye,tt),this.factory=x,this.namespaceId=E}setProperty(x,E,K){E.charAt(0)==V?"."==E.charAt(1)&&E==Ne?this.disableAnimations(x,K=void 0===K||!!K):this.engine.process(this.namespaceId,x,E.slice(1),K):this.delegate.setProperty(x,E,K)}listen(x,E,K){if(E.charAt(0)==V){const ye=function ni(ue){switch(ue){case"body":return document.body;case"document":return document;case"window":return window;default:return ue}}(x);let tt=E.slice(1),Dt="";return tt.charAt(0)!=V&&([tt,Dt]=function pn(ue){const x=ue.indexOf(".");return[ue.substring(0,x),ue.slice(x+1)]}(tt)),this.engine.listen(this.namespaceId,ye,tt,Dt,Ct=>{this.factory.scheduleListenerCallback(Ct._data||-1,K,Ct)})}return this.delegate.listen(x,E,K)}}const bs=[{provide:T._j,useClass:Ki},{provide:qn,useFactory:function is(){return new co}},{provide:cr,useClass:(()=>{class ue extends cr{constructor(E,K,ye,tt){super(E.body,K,ye)}ngOnDestroy(){this.flush()}}return ue.\u0275fac=function(E){return new(E||ue)(s.LFG(ts.K0),s.LFG(te),s.LFG(qn),s.LFG(s.z2F))},ue.\u0275prov=s.Yz7({token:ue,factory:ue.\u0275fac}),ue})()},{provide:s.FYo,useFactory:function eo(ue,x,E){return new Mt(ue,x,E)},deps:[e.se,cr,s.R0b]}],Rr=[{provide:te,useFactory:()=>new Uo},{provide:s.QbO,useValue:"BrowserAnimations"},...bs],nr=[{provide:te,useClass:Gt},{provide:s.QbO,useValue:"NoopAnimations"},...bs];let Is=(()=>{class ue{static withConfig(E){return{ngModule:ue,providers:E.disableAnimations?nr:Rr}}}return ue.\u0275fac=function(E){return new(E||ue)},ue.\u0275mod=s.oAB({type:ue}),ue.\u0275inj=s.cJS({providers:Rr,imports:[e.b2]}),ue})();var ms=p(529);const dn=void 0,Yr=["es",[["a.\xa0m.","p.\xa0m."],dn,dn],dn,[["D","L","M","X","J","V","S"],["dom","lun","mar","mi\xe9","jue","vie","s\xe1b"],["domingo","lunes","martes","mi\xe9rcoles","jueves","viernes","s\xe1bado"],["DO","LU","MA","MI","JU","VI","SA"]],dn,[["E","F","M","A","M","J","J","A","S","O","N","D"],["ene","feb","mar","abr","may","jun","jul","ago","sept","oct","nov","dic"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]],dn,[["a. C.","d. C."],dn,["antes de Cristo","despu\xe9s de Cristo"]],1,[6,0],["d/M/yy","d MMM y","d 'de' MMMM 'de' y","EEEE, d 'de' MMMM 'de' y"],["H:mm","H:mm:ss","H:mm:ss z","H:mm:ss (zzzz)"],["{1}, {0}",dn,dn,dn],[",",".",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","euro",{AUD:[dn,"$"],BRL:[dn,"R$"],BYN:[dn,"\u0440."],CAD:[dn,"$"],CNY:[dn,"\xa5"],EGP:[],ESP:["\u20a7"],GBP:[dn,"\xa3"],HKD:[dn,"$"],ILS:[dn,"\u20aa"],INR:[dn,"\u20b9"],JPY:[dn,"\xa5"],KRW:[dn,"\u20a9"],MXN:[dn,"$"],NZD:[dn,"$"],PHP:[dn,"\u20b1"],RON:[dn,"L"],THB:["\u0e3f"],TWD:[dn,"NT$"],USD:["US$","$"],XAF:[],XCD:[dn,"$"],XOF:[]},"ltr",function Yo(ue){const x=ue,E=Math.floor(Math.abs(ue)),K=ue.toString().replace(/^[^.]*\.?/,"").length,ye=parseInt(ue.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return 1===x?1:0===ye&&0!==E&&E%1e6==0&&0===K||!(ye>=0&&ye<=5)?4:5}];var Pr=p(3238),kr=p(7185),ns=p(9066);class Gr{constructor(x,E="/assets/i18n/",K=".json"){this.http=x,this.prefix=E,this.suffix=K}getTranslation(x){return this.http.get(`${this.prefix}${x}${this.suffix}`)}}var Os=p(9299);let Js=(()=>{const x=class{constructor(){this.title="admin"}};let ue=x;return x.\u0275fac=function(ye){return new(ye||x)},x.\u0275cmp=s.Xpm({type:x,selectors:[["wg-root"]],decls:1,vars:0,template:function(ye,tt){1&ye&&s._UZ(0,"router-outlet")},dependencies:[Os.lC]}),ue})();var Fr=p(3306),xr=p(7105);const jr=[{path:"auth",loadChildren:()=>Promise.all([p.e(592),p.e(472)]).then(p.bind(p,472)).then(ue=>ue.AuthModule)},{path:"",component:Fr.pJ,canActivate:[xr.p2],canActivateChild:[xr.p2],children:[{path:"profile",loadChildren:()=>Promise.all([p.e(212),p.e(592),p.e(967)]).then(p.bind(p,6967)).then(ue=>ue.AccountModule)},{path:"dashboard",loadChildren:()=>Promise.all([p.e(212),p.e(403)]).then(p.bind(p,8403)).then(ue=>ue.DashboardModule)},{path:"",redirectTo:"dashboard",pathMatch:"full"},{path:"servicios",loadChildren:()=>Promise.all([p.e(212),p.e(592),p.e(306)]).then(p.bind(p,7539)).then(ue=>ue.ServiciosModule)},{path:"users",loadChildren:()=>Promise.all([p.e(212),p.e(592),p.e(319)]).then(p.bind(p,6319)).then(ue=>ue.UsersModule)},{path:"clientes",loadChildren:()=>Promise.all([p.e(212),p.e(622),p.e(476),p.e(414)]).then(p.bind(p,8414)).then(ue=>ue.ClientesModule)},{path:"centros",loadChildren:()=>Promise.all([p.e(212),p.e(705),p.e(512)]).then(p.bind(p,7512)).then(ue=>ue.CentrosModule)},{path:"festivos",loadChildren:()=>Promise.all([p.e(212),p.e(622),p.e(592),p.e(831)]).then(p.bind(p,9831)).then(ue=>ue.FestivosModule)},{path:"configuracion",loadChildren:()=>Promise.all([p.e(212),p.e(326)]).then(p.bind(p,5326)).then(ue=>ue.ConfiguracionModule)},{path:"categoria-documentos",loadChildren:()=>Promise.all([p.e(212),p.e(145)]).then(p.bind(p,9145)).then(ue=>ue.CategoriaDocumentosModule)},{path:"formacions",loadChildren:()=>Promise.all([p.e(212),p.e(852)]).then(p.bind(p,9852)).then(ue=>ue.FormacionsModule)},{path:"titulacions",loadChildren:()=>Promise.all([p.e(212),p.e(40)]).then(p.bind(p,8040)).then(ue=>ue.TitulacionsModule)},{path:"medias",loadChildren:()=>Promise.all([p.e(212),p.e(312)]).then(p.bind(p,9312)).then(ue=>ue.MediasModule)},{path:"presencias",loadChildren:()=>Promise.all([p.e(212),p.e(705),p.e(592),p.e(352)]).then(p.bind(p,227)).then(ue=>ue.PresenciasModule)},{path:"buzon-empleados",loadChildren:()=>Promise.all([p.e(212),p.e(878)]).then(p.bind(p,5878)).then(ue=>ue.BuzonEmpleadosModule)},{path:"calendario",loadChildren:()=>Promise.all([p.e(212),p.e(622),p.e(476)]).then(p.bind(p,8476)).then(ue=>ue.CalendarioModule)},{path:"backups",loadChildren:()=>Promise.all([p.e(212),p.e(26)]).then(p.bind(p,1026)).then(ue=>ue.BackupsModule)}]}];let os=(()=>{const x=class{};let ue=x;return x.\u0275fac=function(ye){return new(ye||x)},x.\u0275mod=s.oAB({type:x}),x.\u0275inj=s.cJS({imports:[Os.Bz.forRoot(jr,{useHash:!0}),Os.Bz]}),ue})();const Xs={production:!0,apiUrl:"//app.orienseducacion.com/api/v1/admin",csrfUrl:"//app.orienseducacion.com/sanctum/csrf-cookie",baseUrl:"//app.orienseducacion.com",baseApiUrl:"//app.orienseducacion.com/api/v1",appRol:"admin",googleMapsApiKey:"",recaptchaApiKey:"6LeVp6okAAAAADDOQFbKqF81qM1kZg89xe8c1yrO"};function vs(ue){return new Gr(ue,"./assets/i18n/",".json")}(0,ts.qS)(Yr,"es");let ps=(()=>{const x=class{};let ue=x;return x.\u0275fac=function(ye){return new(ye||x)},x.\u0275mod=s.oAB({type:x,bootstrap:[Js]}),x.\u0275inj=s.cJS({providers:[{provide:s.soG,useValue:"es"},{provide:Pr.Ad,useValue:"es"},{provide:"environment",useFactory:K=>K.getLiveEnvironment(Xs),deps:[xr.L$]},xr.Oi,xr.zi],imports:[e.b2,Is,ms.JF,ms.Ed,Fr.m8,os,kr.Rh.forRoot(),ns.aw.forRoot({loader:{provide:ns.Zw,useFactory:vs,deps:[ms.eN]}})]}),ue})();Xs.production&&(0,s.G48)(),e.q6().bootstrapModule(ps).catch(ue=>console.error(ue))},7105:(ri,mt,p)=>{p.d(mt,{e8:()=>j,L$:()=>it,kq:()=>ot,hE:()=>zt,Ak:()=>C,r6:()=>gi,hl:()=>_e,Sk:()=>oi,gb:()=>de,zi:()=>_t,p2:()=>H,Oi:()=>li});const e={navPos:"side",dir:"ltr",theme:"light",showHeader:!0,headerPos:"above",showUserPanel:!1,sidenavOpened:!0,sidenavCollapsed:!1,language:"es-ES"},s={presencia:!1,registro:!1,twoFactorAuth:!1};var T=p(4650),l=p(529);let b=(()=>{const yt=class{constructor(N,re){this.environment=N,this.http=re}load(){return new Promise(N=>this.toObservable().subscribe(N))}toObservable(){return this.http.get(this.environment.csrfUrl)}};let dt=yt;return yt.\u0275fac=function(re){return new(re||yt)(T.LFG("environment"),T.LFG(l.eN))},yt.\u0275prov=T.Yz7({token:yt,factory:yt.\u0275fac,providedIn:"root"}),dt})();var O=p(6895),X=p(1135);let q=(()=>{const yt=class{get(N){return JSON.parse(localStorage.getItem(N)||"{}")||{}}set(N,re){return localStorage.setItem(N,JSON.stringify(re)),!0}has(N){return!!localStorage.getItem(N)}remove(N){localStorage.removeItem(N)}clear(){localStorage.clear()}};let dt=yt;return yt.\u0275fac=function(re){return new(re||yt)},yt.\u0275prov=T.Yz7({token:yt,factory:yt.\u0275fac,providedIn:"root"}),dt})(),de=(()=>{const yt=class{get notify(){return this.notify$.asObservable()}constructor(N){this.store=N,this.key="ng-matero-settings",this.notify$=new X.X({});const re=this.store.get(this.key);this.options=Object.assign(e,re)}getOptions(){return this.options}setOptions(N){this.options=Object.assign(e,N),this.store.set(this.key,this.options),this.notify$.next(this.options)}getLanguage(){return this.options.language}setLanguage(N){this.options.language=N,this.store.set(this.key,this.options),this.notify$.next(this.options)}reset(){this.store.remove(this.key)}};let dt=yt;return yt.\u0275fac=function(re){return new(re||yt)(T.LFG(q))},yt.\u0275prov=T.Yz7({token:yt,factory:yt.\u0275fac,providedIn:"root"}),dt})();var Be=p(9066);let he=(()=>{const yt=class{constructor(N,re,We){this.injector=N,this.translate=re,this.settings=We}load(){return new Promise(N=>{this.injector.get(O.V_,Promise.resolve()).then(()=>{const We=navigator.language,wt=We.match(/es-ES|en-EN/)?We:"es-ES";this.settings.setLanguage(wt),this.translate.setDefaultLang(wt),this.translate.use(wt).subscribe(()=>console.log(`Successfully initialized '${wt}' language.'`),()=>console.error(`Problem with '${wt}' language initialization.'`),()=>N())})})}};let dt=yt;return yt.\u0275fac=function(re){return new(re||yt)(T.LFG(T.zs3),T.LFG(Be.sK),T.LFG(de))},yt.\u0275prov=T.Yz7({token:yt,factory:yt.\u0275fac,providedIn:"root"}),dt})();var Le=p(8505),He=p(3900),Qe=p(3099),pt=p(5401);class Re{static getMenu(yt){return[]}static filter(yt){return yt.filter(ve=>void 0===ve.disabled||!ve.disabled).map(ve=>({route:ve.route,name:ve.name,type:ve.type,icon:ve.icon,label:ve.label,badge:ve.badge,children:ve.children?.filter(N=>void 0===N.disabled||!N.disabled).map(N=>({route:N.route,name:N.name,type:N.type,children:N.children,permissions:N.permissions,icon:N.icon})),permissions:ve.permissions}))}}class ze extends Re{static getMenu(yt){return this.filter([{route:"dashboard",name:"menu.dashboard",type:"link",icon:"dashboard"},{route:"",name:"menu.entidades",type:"sub",icon:"settings_applications",children:[{route:"servicios",name:"menu.servicios",type:"link",icon:"storage"},{route:"centros",name:"menu.centros",type:"link",icon:"business"},{route:"clientes",name:"menu.clientes",type:"link",icon:"account_box"},{route:"calendario",name:"menu.calendario",type:"link",icon:"calendar_today"},{route:"medias",name:"menu.medias",type:"link",icon:"inventory_2"}]},{route:"",name:"menu.empleados",type:"sub",icon:"manage_accounts",children:[{route:"users",name:"menu.users",type:"link",icon:"people"},{route:"buzon-empleados",name:"menu.buzon-empleado",type:"link",icon:"topic"},{route:"presencias",name:"menu.presencias",type:"link",icon:"perm_contact_calendar"}]},{route:"",name:"menu.configuracion",type:"sub",icon:"tune",children:[{route:"titulacions",name:"menu.titulacions",type:"link",icon:"school"},{route:"formacions",name:"menu.formacions",type:"link",icon:"category"},{route:"categoria-documentos",name:"menu.categoria-documentos",type:"link",icon:"folder_copy"},{route:"festivos",name:"menu.festivos",type:"link",icon:"free_cancellation"},{route:"configuracion",name:"menu.configuracion",type:"link",icon:"settings"},{route:"backups",name:"menu.backups",type:"link",icon:"cloud_sync"}]}])}}class Me extends Re{static getMenu(yt){return this.filter([{route:"dashboard",name:"menu.dashboard",type:"link",icon:"dashboard"},{route:"profile",name:"menu.profile",type:"link",icon:"account_circle"},{route:"trabajador-buzon-empleados",name:"menu.trabajador-buzon-empleado",type:"link",icon:"topic"},{route:"trabajador-medias",name:"menu.trabajador-medias",type:"link",icon:"inventory_2"},{route:"trabajador-presencias/current",name:"menu.trabajador-presencias-current",type:"link",icon:"work_history",disabled:!yt.presencia},{route:"trabajador-presencias/history",name:"menu.trabajador-presencias",type:"link",icon:"history",disabled:!yt.presencia}])}}const Pe=[{route:"dashboard",name:"menu.dashboard",type:"link",icon:"dashboard"}];let _e=(()=>{const yt=class{constructor(){this.menu$=new X.X([])}static getDefaultMenu(){return Pe}static getMenuFor(N,re){switch(N){case pt.vJ.Admin:return ze.getMenu(re);case pt.vJ.Trabajador:return Me.getMenu(re);default:return this.getDefaultMenu()}}getAll(){return this.menu$.asObservable()}change(){return this.menu$.pipe((0,Qe.B)())}set(N){return this.menu$.next(N),this.menu$.asObservable()}add(N){const re=this.menu$.value;re.push(N),this.menu$.next(re)}reset(){this.menu$.next([])}buildRoute(N){let re="";return N.forEach(We=>{We&&We.trim()&&(re+="/"+We.replace(/^\/+|\/+$/g,""))}),re}getItemName(N){return this.getLevel(N)[N.length-1]}isLeafItem(N){const We=void 0===N.children;return void 0===N.route||We||!We&&0===N.children?.length}deepClone(N){return JSON.parse(JSON.stringify(N))}isJsonObjEqual(N,re){return JSON.stringify(N)===JSON.stringify(re)}isRouteEqual(N,re){return re=(re=this.deepClone(re)).filter(We=>""!==We),this.isJsonObjEqual(N,re)}getLevel(N){let re=[];return this.menu$.value.forEach(We=>{let wt=[{item:We,parentNamePathList:[],realRouteArr:[]}];for(;wt.length>0;){let Yt=[];for(const $t of wt){const ct=$t.item,Gt=this.deepClone($t.parentNamePathList).concat(ct.name),te=this.deepClone($t.realRouteArr).concat(ct.route);if(this.isRouteEqual(N,te)){re=Gt;break}if(!this.isLeafItem(ct)){const Ae=ct.children?.map(B=>({item:B,parentNamePathList:Gt,realRouteArr:te}));Yt=Yt.concat(Ae)}}wt=Yt}}),re}};let dt=yt;return yt.\u0275fac=function(re){return new(re||yt)},yt.\u0275prov=T.Yz7({token:yt,factory:yt.\u0275fac,providedIn:"root"}),dt})();var ge=p(9299),le=p(9646),Se=p(9770),Ke=p(5698),Ge=p(4004),vt=p(2843),xe=p(262),kt=(()=>{return(dt=kt||(kt={}))[dt.UNAUTHORIZED=401]="UNAUTHORIZED",dt[dt.FORBIDDEN=403]="FORBIDDEN",dt[dt.NOT_FOUND=404]="NOT_FOUND",dt[dt.INTERNAL_SERVER_ERROR=500]="INTERNAL_SERVER_ERROR",kt;var dt})();const rt=new l.Xk(()=>!1);let yi=(()=>{const yt=class{constructor(N){this.router=N,this.errorPages=[kt.FORBIDDEN,kt.NOT_FOUND,kt.INTERNAL_SERVER_ERROR],this.getMessage=re=>re?.message?re.message:`${re.status} ${re.statusText}`}intercept(N,re){return re.handle(N).pipe((0,xe.K)(We=>this.handleError(N,We)))}handleError(N,re){return N.context.get(rt)||(this.errorPages.includes(re.status)?this.router.navigateByUrl(`/${re.status}`,{skipLocationChange:!0}):(console.error("ERROR",re),re.status===kt.UNAUTHORIZED&&this.router.navigateByUrl("/auth/login"))),(0,vt._)(()=>re)}};let dt=yt;return yt.\u0275fac=function(re){return new(re||yt)(T.LFG(ge.F0))},yt.\u0275prov=T.Yz7({token:yt,factory:yt.\u0275fac}),dt})(),gi=(()=>{const yt=class{constructor(N,re){this.http=re,this.baseUrl=N.baseUrl}login(N,re,We=!1){return this.http.post(`${this.baseUrl}/auth/login`,{email:N,password:re,remember:We})}logout(){return this.http.post(`${this.baseUrl}/auth/logout`,{})}forgotPassword(N){return this.http.post(`${this.baseUrl}/auth/forgot-password`,{email:N})}resetPassword(N,re,We){return this.http.post(`${this.baseUrl}/auth/reset-password`,{token:N,email:re,password:We,password_confirmation:We})}register(N){return this.http.post(`${this.baseUrl}/auth/register`,N)}twoFactorChallenge(N){return this.http.post(`${this.baseUrl}/auth/two-factor-challenge`,N)}me(N=!1){return this.http.get(`${this.baseUrl}/api/user`,N?{context:(new l.qT).set(rt,!0)}:{})}};let dt=yt;return yt.\u0275fac=function(re){return new(re||yt)(T.LFG("environment"),T.LFG(l.eN))},yt.\u0275prov=T.Yz7({token:yt,factory:yt.\u0275fac,providedIn:"root"}),dt})(),ai=(()=>{const yt=class{constructor(N,re){this.http=re,this.baseApiUrl=N.baseApiUrl}features(){return this.http.get(`${this.baseApiUrl}/app/features`)}config(){return this.http.get(`${this.baseApiUrl}/app/config`)}};let dt=yt;return yt.\u0275fac=function(re){return new(re||yt)(T.LFG("environment"),T.LFG(l.eN))},yt.\u0275prov=T.Yz7({token:yt,factory:yt.\u0275fac,providedIn:"root"}),dt})(),ot=(()=>{const yt=class{constructor(){this.features=s,this.notify$=new X.X({})}get notify(){return this.notify$.asObservable()}getFeatures(){return this.features}setFeatures(N){this.features=Object.assign(s,N),this.notify$.next(this.features)}};let dt=yt;return yt.\u0275fac=function(re){return new(re||yt)},yt.\u0275prov=T.Yz7({token:yt,factory:yt.\u0275fac,providedIn:"root"}),dt})(),W=(()=>{const yt=class{constructor(){this.change$=new X.X(void 0)}get user(){return this._user}change(){return this.change$.pipe((0,Qe.B)())}set(N){this.save(N)}clear(){this.save()}valid(){return void 0!==this.user}save(N){this._user=N,this.change$.next(this.user)}};let dt=yt;return yt.\u0275fac=function(re){return new(re||yt)},yt.\u0275prov=T.Yz7({token:yt,factory:yt.\u0275fac,providedIn:"root"}),dt})(),j=(()=>{const yt=class{constructor(N,re,We,wt,Yt){this.loginService=re,this.sessionService=We,this.appService=wt,this.featuresService=Yt,this.user$=new X.X(void 0),this.change$=this.sessionService.change().pipe((0,He.w)(()=>this.assignUser()),(0,Qe.B)()),this.baseUrl="",this.appRol="",this.baseUrl=N.baseUrl,this.appRol=N.appRol}init(){return new Promise(N=>{this.change$.subscribe(()=>N()),this.loginService.me(!0).subscribe(re=>this.sessionService.set(re))})}change(){return this.change$}check(){return this.sessionService.valid()}login(N,re,We=!1){return this.loginService.login(N,re,We).pipe((0,Le.b)(wt=>{"id"in wt&&this.sessionService.set(wt)}),(0,He.w)(wt=>"two_factor"in wt&&!wt.two_factor?this.loginService.me().pipe((0,Ke.q)(1),(0,Le.b)(Yt=>{this.sessionService.set(Yt)})):(0,le.of)(wt)))}logout(){return this.loginService.logout().pipe((0,Le.b)(()=>this.sessionService.clear()),(0,Ge.U)(()=>!this.check()))}forgotPassword(N){return this.loginService.forgotPassword(N)}resetPassword(N,re,We){return this.loginService.resetPassword(N,re,We)}twoFactorChallenge(N){return this.loginService.twoFactorChallenge(N)}refresh(){return this.loginService.me().pipe((0,Ke.q)(1)).subscribe(N=>{this.sessionService.set(N),this.user$.next(N)})}user(){return this.user$.pipe((0,Qe.B)())}menu(){return function je(dt,yt,ve){return(0,Se.P)(()=>dt()?yt:ve)}(()=>this.check(),(0,le.of)(_e.getMenuFor(this.user$?.value?.rol,this.featuresService.getFeatures())),(0,le.of)([]))}assignUser(){return this.check()?void 0!==this.user$.getValue()?(0,le.of)(this.user$.getValue()):this.appService.features().pipe((0,Le.b)(N=>this.featuresService.setFeatures(N)),(0,He.w)(()=>this.loginService.me().pipe((0,Le.b)(N=>{"id"in N&&(this.user$.next(N),this.appRol!==N.rol&&(window.location.href=`${this.baseUrl}/apps/${N.rol}`))})))):(0,le.of)(void 0).pipe((0,Le.b)(N=>this.user$.next(N)))}};let dt=yt;return yt.\u0275fac=function(re){return new(re||yt)(T.LFG("environment"),T.LFG(gi),T.LFG(W),T.LFG(ai),T.LFG(ot))},yt.\u0275prov=T.Yz7({token:yt,factory:yt.\u0275fac,providedIn:"root"}),dt})();const H=(dt,yt)=>{const ve=(0,T.f3M)(j),N=(0,T.f3M)(ge.F0);return!!ve.check()||N.parseUrl("/auth/login")};let C=(()=>{const yt=class{constructor(N,re){this.auth=N,this.router=re}canActivate(N,re){return this.authenticate()}canActivateChild(N,re){return this.authenticate()}authenticate(){return!this.auth.check()||this.router.parseUrl("/")}};let dt=yt;return yt.\u0275fac=function(re){return new(re||yt)(T.LFG(j),T.LFG(ge.F0))},yt.\u0275prov=T.Yz7({token:yt,factory:yt.\u0275fac,providedIn:"root"}),dt})(),Y=(()=>{const yt=class{constructor(N,re,We,wt){this.authService=N,this.menuService=re,this.appService=We,this.featuresService=wt}load(){return new Promise((N,re)=>{this.authService.init(),this.authService.change().pipe((0,Le.b)(We=>this.setPermissions(We)),(0,He.w)(()=>this.authService.menu()),(0,Le.b)(We=>this.setMenu(We))).subscribe({next:()=>N(),error:()=>N()}),this.appService.features().subscribe({next:We=>this.featuresService.setFeatures(We),error:We=>console.error(We)})})}setMenu(N){this.menuService.set(N)}setPermissions(N){}};let dt=yt;return yt.\u0275fac=function(re){return new(re||yt)(T.LFG(j),T.LFG(_e),T.LFG(ai),T.LFG(ot))},yt.\u0275prov=T.Yz7({token:yt,factory:yt.\u0275fac,providedIn:"root"}),dt})();const _t=[{provide:T.ip1,useFactory:function $(dt){return()=>dt.load()},deps:[b],multi:!0},{provide:T.ip1,useFactory:function we(dt){return()=>dt.load()},deps:[he],multi:!0},{provide:T.ip1,useFactory:function Fe(dt){return()=>dt.load()},deps:[Y],multi:!0}];let it=(()=>{const yt=class{getLiveEnvironment(N){const re=this.getBasePath(),We=re?{csrfUrl:`${re}/sanctum/csrf-cookie`,baseUrl:`${re}`,baseApiUrl:`${re}/api/v1`,apiUrl:`${re}/api/v1/${N.appRol}`}:{};return{...N,...We}}getBasePath(){return"localhost"===window.location.hostname?null:this.removeLast(`//${window.location.host}${window.location.pathname}`,"/apps/")}removeLast(N,re){const We=N.lastIndexOf(re);return We>=0?N.substring(0,We):N}};let dt=yt;return yt.\u0275fac=function(re){return new(re||yt)},yt.\u0275prov=T.Yz7({token:yt,factory:yt.\u0275fac,providedIn:"root"}),dt})();var Nt=p(5861);let zt=(()=>{const yt=class{constructor(N,re){this.httpClient=N,this.appService=re}load(){return this.apiLoadedPromise||(window?.google?.maps&&(this.apiLoadedPromise=Promise.resolve(!0)),this.apiLoadedPromise=new Promise((N,re)=>this.appService.config().pipe((0,Ge.U)(We=>({apiKey:We.googleMapsApiKey,libraries:["places"]})),(0,He.w)(We=>this.httpClient.jsonp(`https://maps.googleapis.com/maps/api/js?key=${We.apiKey||""}&libraries=${We.libraries.join(",")}`,"callback")),(0,xe.K)(function(){var We=(0,Nt.Z)(function*(wt){console.error("Error cargado GoogleMaps API",wt),re(wt)});return function(wt){return We.apply(this,arguments)}}())).subscribe(()=>N(!0)))),this.apiLoadedPromise}};let dt=yt;return yt.\u0275fac=function(re){return new(re||yt)(T.LFG(l.eN),T.LFG(ai))},yt.\u0275prov=T.Yz7({token:yt,factory:yt.\u0275fac,providedIn:"root"}),dt})();const li=[{provide:l.TP,useClass:(()=>{const yt=class{constructor(N){this.sanctum=N,this.ready=!1}intercept(N,re){return this.ready?re.handle(N):(this.ready=!0,this.sanctum.toObservable().pipe((0,He.w)(()=>re.handle(N))))}};let dt=yt;return yt.\u0275fac=function(re){return new(re||yt)(T.LFG(b))},yt.\u0275prov=T.Yz7({token:yt,factory:yt.\u0275fac}),dt})(),multi:!0},{provide:l.TP,useClass:(()=>{const yt=class{constructor(N){this.sessionService=N}intercept(N,re){return re.handle(N.clone({withCredentials:!0})).pipe((0,xe.K)(We=>(401===We.status&&this.sessionService.clear(),(0,vt._)(()=>We))))}};let dt=yt;return yt.\u0275fac=function(re){return new(re||yt)(T.LFG(W))},yt.\u0275prov=T.Yz7({token:yt,factory:yt.\u0275fac}),dt})(),multi:!0},{provide:l.TP,useClass:yi,multi:!0}];function oi(dt,yt){return ve=>{const N=ve.get(dt),re=ve.get(yt);return N&&re&&N.value!==re.value?{mustMatch:!0}:null}}},5401:(ri,mt,p)=>{p.d(mt,{UF:()=>T,BN:()=>Ke,u:()=>W,rP:()=>Se,it:()=>ot,s2:()=>jt,FA:()=>ze,XJ:()=>Qe,Zc:()=>X,z4:()=>Re,Td:()=>C,vJ:()=>H});var s=(()=>{return(Y=s||(s={}))[Y.Llamada=0]="Llamada",Y[Y.EnviarCorreo=1]="EnviarCorreo",Y[Y.EnviarPropuesta=2]="EnviarPropuesta",Y[Y.EnviarPresupuesto=3]="EnviarPresupuesto",Y[Y.Reunion=4]="Reunion",Y[Y.Seguimiento=5]="Seguimiento",s;var Y})();const T=new Map([[s.Llamada,{id:s.Llamada,label:"Llamada"}],[s.EnviarCorreo,{id:s.EnviarCorreo,label:"Enviar correo"}],[s.EnviarPropuesta,{id:s.EnviarPropuesta,label:"Enviar propuesta"}],[s.EnviarPresupuesto,{id:s.EnviarPresupuesto,label:"Enviar presupuesto"}],[s.Reunion,{id:s.Reunion,label:"Reuni\xf3n"}],[s.Seguimiento,{id:s.Seguimiento,label:"Seguimiento"}]]);var O=(()=>{return(Y=O||(O={}))[Y.PresonaJuridica=0]="PresonaJuridica",Y[Y.PersonaFisica=1]="PersonaFisica",O;var Y})();const X=new Map([[O.PresonaJuridica,{id:O.PresonaJuridica,label:"Persona Jur\xeddica"}],[O.PersonaFisica,{id:O.PersonaFisica,label:"Persona F\xedsica"}]]);var Qe=(()=>{return(Y=Qe||(Qe={}))[Y.Pendiente=0]="Pendiente",Y[Y.EnEjecucion=1]="EnEjecucion",Y[Y.Completada=2]="Completada",Y[Y.Error=3]="Error",Qe;var Y})(),pt=(()=>{return(Y=pt||(pt={}))[Y.BuzonUsuario=0]="BuzonUsuario",pt;var Y})();const Re=new Map([[pt.BuzonUsuario,{id:pt.BuzonUsuario,label:"Exportaci\xf3n Buz\xf3n de usuario"}]]),ze=new Map([[Qe.Pendiente,{id:Qe.Pendiente,label:"Pendiente"}],[Qe.EnEjecucion,{id:Qe.EnEjecucion,label:"En Ejecuci\xf3n"}],[Qe.Completada,{id:Qe.Completada,label:"Completada"}],[Qe.Error,{id:Qe.Error,label:"Error"}]]);var Se=(()=>{return(Y=Se||(Se={}))[Y.Pendiente=0]="Pendiente",Y[Y.Correcto=1]="Correcto",Y[Y.FaltaLeve=2]="FaltaLeve",Y[Y.FaltaGrave=3]="FaltaGrave",Se;var Y})();const Ke=new Map([[Se.Pendiente,{id:Se.Pendiente,label:"Pendiente"}],[Se.Correcto,{id:Se.Correcto,label:"Correcto"}],[Se.FaltaLeve,{id:Se.FaltaLeve,label:"Falta leve"}],[Se.FaltaGrave,{id:Se.FaltaGrave,label:"Falta grave"}]]);var gi=(()=>{return(Y=gi||(gi={}))[Y.Llamada=0]="Llamada",Y[Y.Reunion=1]="Reunion",Y[Y.Seguimiento=2]="Seguimiento",gi;var Y})();const jt=new Map([[gi.Llamada,{id:gi.Llamada,label:"Llamada"}],[gi.Reunion,{id:gi.Reunion,label:"Reuni\xf3n"}],[gi.Seguimiento,{id:gi.Seguimiento,label:"Seguimiento"}]]);var ot=(()=>{return(Y=ot||(ot={}))[Y.Borrador=0]="Borrador",Y[Y.EnCurso=1]="EnCurso",Y[Y.Pausado=2]="Pausado",Y[Y.Finalizado=3]="Finalizado",ot;var Y})();const W=new Map([[ot.Borrador,{id:ot.Borrador,label:"Borrador"}],[ot.EnCurso,{id:ot.EnCurso,label:"En Curso"}],[ot.Pausado,{id:ot.Pausado,label:"Pausado"}],[ot.Finalizado,{id:ot.Finalizado,label:"Finalizado"}]]);var H=(()=>{return(Y=H||(H={})).Admin="admin",Y.Trabajador="trabajador",H;var Y})();const C=new Map([[H.Admin,{id:"admin",label:"Administrador"}],[H.Trabajador,{id:"trabajador",label:"Trabajador"}]])},3306:(ri,mt,p)=>{p.d(mt,{pJ:()=>Cn,J1:()=>$i,m8:()=>hd,W7:()=>uc.W});var e=p(6895),s=p(9299),T=p(4006),l=p(4650),b=p(3238),O=p(7376),X=p(8184),q=p(1281),Ee=p(3353),de=p(7340),Be=p(727),he=p(7579),He=(p(9770),p(6451)),Qe=p(9646),pt=p(4968),Re=p(9521),Me=(p(4080),p(9549)),Pe=p(8675),_e=p(3900),ge=p(5698),le=p(9300),Se=p(4004),je=p(8505),Ke=p(1005),Ge=p(445);const Fe={provide:new l.OlP("mat-autocomplete-scroll-strategy"),deps:[X.aV],useFactory:function we(h){return()=>h.scrollStrategies.reposition()}};let Nt=(()=>{class h{}return h.\u0275fac=function(a){return new(a||h)},h.\u0275mod=l.oAB({type:h}),h.\u0275inj=l.cJS({providers:[Fe],imports:[X.U8,b.Ng,b.BQ,e.ez,O.ZD,b.Ng,b.BQ]}),h})();var lt=p(2673),zt=p(4859),ft=p(811),Pt=p(3546),li=p(6709),oi=p(7331),dt=p(9602),yt=p(5412),ve=p(4850),N=p(7084),re=p(7392),We=p(4144),wt=p(9643),Yt=p(2687),ct=(p(5017),p(2722));let Jo=(()=>{class h{}return h.\u0275fac=function(a){return new(a||h)},h.\u0275mod=l.oAB({type:h}),h.\u0275inj=l.cJS({imports:[wt.Q8,e.ez,b.BQ,b.si,b.us,ve.t]}),h})();var ao=p(8255),at=p(8739),xt=p(3162),w=p(1572);let Dr=(()=>{class h{}return h.\u0275fac=function(a){return new(a||h)},h.\u0275mod=l.oAB({type:h}),h.\u0275inj=l.cJS({imports:[b.BQ,e.ez,b.si,b.BQ]}),h})();var Eo=p(4385),So=p(9718),Zo=p(1884),Xo=p(8372);const _n=["*"],Ro=["content"];function Ho(h,u){if(1&h){const a=l.EpF();l.TgZ(0,"div",2),l.NdJ("click",function(){l.CHM(a);const k=l.oxw();return l.KtG(k._onBackdropClicked())}),l.qZA()}if(2&h){const a=l.oxw();l.ekj("mat-drawer-shown",a._isShowingBackdrop())}}function fr(h,u){1&h&&(l.TgZ(0,"mat-drawer-content"),l.Hsn(1,2),l.qZA())}const lr=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],gr=["mat-drawer","mat-drawer-content","*"];function Wo(h,u){if(1&h){const a=l.EpF();l.TgZ(0,"div",2),l.NdJ("click",function(){l.CHM(a);const k=l.oxw();return l.KtG(k._onBackdropClicked())}),l.qZA()}if(2&h){const a=l.oxw();l.ekj("mat-drawer-shown",a._isShowingBackdrop())}}function jn(h,u){1&h&&(l.TgZ(0,"mat-sidenav-content"),l.Hsn(1,2),l.qZA())}const Jr=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],qn=["mat-sidenav","mat-sidenav-content","*"],qo={transformDrawer:(0,de.X$)("transform",[(0,de.SB)("open, open-instant",(0,de.oB)({transform:"none",visibility:"visible"})),(0,de.SB)("void",(0,de.oB)({"box-shadow":"none",visibility:"hidden"})),(0,de.eR)("void => open-instant",(0,de.jt)("0ms")),(0,de.eR)("void <=> open, open-instant => void",(0,de.jt)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},_i=new l.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function fo(){return!1}}),rn=new l.OlP("MAT_DRAWER_CONTAINER");let De=(()=>{class h extends O.PQ{constructor(a,f,k,oe,Je){super(k,oe,Je),this._changeDetectorRef=a,this._container=f}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return h.\u0275fac=function(a){return new(a||h)(l.Y36(l.sBO),l.Y36((0,l.Gpc)(()=>F)),l.Y36(l.SBq),l.Y36(O.mF),l.Y36(l.R0b))},h.\u0275cmp=l.Xpm({type:h,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(a,f){2&a&&l.Udp("margin-left",f._container._contentMargins.left,"px")("margin-right",f._container._contentMargins.right,"px")},features:[l._Bn([{provide:O.PQ,useExisting:h}]),l.qOj],ngContentSelectors:_n,decls:1,vars:0,template:function(a,f){1&a&&(l.F$t(),l.Hsn(0))},encapsulation:2,changeDetection:0}),h})(),qe=(()=>{class h{get position(){return this._position}set position(a){(a="end"===a?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(a),this._position=a,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(a){this._mode=a,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(a){this._disableClose=(0,q.Ig)(a)}get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(a){("true"===a||"false"===a||null==a)&&(a=(0,q.Ig)(a)),this._autoFocus=a}get opened(){return this._opened}set opened(a){this.toggle((0,q.Ig)(a))}constructor(a,f,k,oe,Je,Tt,Qt,mi){this._elementRef=a,this._focusTrapFactory=f,this._focusMonitor=k,this._platform=oe,this._ngZone=Je,this._interactivityChecker=Tt,this._doc=Qt,this._container=mi,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new he.x,this._animationEnd=new he.x,this._animationState="void",this.openedChange=new l.vpe(!0),this._openedStream=this.openedChange.pipe((0,le.h)(Ri=>Ri),(0,Se.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,le.h)(Ri=>Ri.fromState!==Ri.toState&&0===Ri.toState.indexOf("open")),(0,So.h)(void 0)),this._closedStream=this.openedChange.pipe((0,le.h)(Ri=>!Ri),(0,Se.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,le.h)(Ri=>Ri.fromState!==Ri.toState&&"void"===Ri.toState),(0,So.h)(void 0)),this._destroyed=new he.x,this.onPositionChanged=new l.vpe,this._modeChanged=new he.x,this.openedChange.subscribe(Ri=>{Ri?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{(0,pt.R)(this._elementRef.nativeElement,"keydown").pipe((0,le.h)(Ri=>Ri.keyCode===Re.hY&&!this.disableClose&&!(0,Re.Vb)(Ri)),(0,ct.R)(this._destroyed)).subscribe(Ri=>this._ngZone.run(()=>{this.close(),Ri.stopPropagation(),Ri.preventDefault()}))}),this._animationEnd.pipe((0,Zo.x)((Ri,hn)=>Ri.fromState===hn.fromState&&Ri.toState===hn.toState)).subscribe(Ri=>{const{fromState:hn,toState:so}=Ri;(0===so.indexOf("open")&&"void"===hn||"void"===so&&0===hn.indexOf("open"))&&this.openedChange.emit(this._opened)})}_forceFocus(a,f){this._interactivityChecker.isFocusable(a)||(a.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const k=()=>{a.removeEventListener("blur",k),a.removeEventListener("mousedown",k),a.removeAttribute("tabindex")};a.addEventListener("blur",k),a.addEventListener("mousedown",k)})),a.focus(f)}_focusByCssSelector(a,f){let k=this._elementRef.nativeElement.querySelector(a);k&&this._forceFocus(k,f)}_takeFocus(){if(!this._focusTrap)return;const a=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(f=>{!f&&"function"==typeof this._elementRef.nativeElement.focus&&a.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(a){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,a):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const a=this._doc.activeElement;return!!a&&this._elementRef.nativeElement.contains(a)}ngAfterViewInit(){this._isAttached=!0,this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState(),"end"===this._position&&this._updatePositionInParent("end")}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&this._focusTrap.destroy(),this._anchor?.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(a){return this.toggle(!0,a)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(a=!this.opened,f){a&&f&&(this._openedVia=f);const k=this._setOpen(a,!a&&this._isFocusWithinDrawer(),this._openedVia||"program");return a||(this._openedVia=null),k}_setOpen(a,f,k){return this._opened=a,a?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",f&&this._restoreFocus(k)),this._updateFocusTrapState(),new Promise(oe=>{this.openedChange.pipe((0,ge.q)(1)).subscribe(Je=>oe(Je?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_updatePositionInParent(a){const f=this._elementRef.nativeElement,k=f.parentNode;"end"===a?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),k.insertBefore(this._anchor,f)),k.appendChild(f)):this._anchor&&this._anchor.parentNode.insertBefore(f,this._anchor)}}return h.\u0275fac=function(a){return new(a||h)(l.Y36(l.SBq),l.Y36(Yt.qV),l.Y36(Yt.tE),l.Y36(Ee.t4),l.Y36(l.R0b),l.Y36(Yt.ic),l.Y36(e.K0,8),l.Y36(rn,8))},h.\u0275cmp=l.Xpm({type:h,selectors:[["mat-drawer"]],viewQuery:function(a,f){if(1&a&&l.Gf(Ro,5),2&a){let k;l.iGM(k=l.CRH())&&(f._content=k.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(a,f){1&a&&l.WFA("@transform.start",function(oe){return f._animationStarted.next(oe)})("@transform.done",function(oe){return f._animationEnd.next(oe)}),2&a&&(l.uIk("align",null),l.d8E("@transform",f._animationState),l.ekj("mat-drawer-end","end"===f.position)("mat-drawer-over","over"===f.mode)("mat-drawer-push","push"===f.mode)("mat-drawer-side","side"===f.mode)("mat-drawer-opened",f.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:_n,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(a,f){1&a&&(l.F$t(),l.TgZ(0,"div",0,1),l.Hsn(2),l.qZA())},dependencies:[O.PQ],encapsulation:2,data:{animation:[qo.transformDrawer]},changeDetection:0}),h})(),F=(()=>{class h{get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(a){this._autosize=(0,q.Ig)(a)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(a){this._backdropOverride=null==a?null:(0,q.Ig)(a)}get scrollable(){return this._userContent||this._content}constructor(a,f,k,oe,Je,Tt=!1,Qt){this._dir=a,this._element=f,this._ngZone=k,this._changeDetectorRef=oe,this._animationMode=Qt,this._drawers=new l.n_E,this.backdropClick=new l.vpe,this._destroyed=new he.x,this._doCheckSubject=new he.x,this._contentMargins={left:null,right:null},this._contentMarginChanges=new he.x,a&&a.change.pipe((0,ct.R)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),Je.change().pipe((0,ct.R)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=Tt}ngAfterContentInit(){this._allDrawers.changes.pipe((0,Pe.O)(this._allDrawers),(0,ct.R)(this._destroyed)).subscribe(a=>{this._drawers.reset(a.filter(f=>!f._container||f._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,Pe.O)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(a=>{this._watchDrawerToggle(a),this._watchDrawerPosition(a),this._watchDrawerMode(a)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,Xo.b)(10),(0,ct.R)(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(a=>a.open())}close(){this._drawers.forEach(a=>a.close())}updateContentMargins(){let a=0,f=0;if(this._left&&this._left.opened)if("side"==this._left.mode)a+=this._left._getWidth();else if("push"==this._left.mode){const k=this._left._getWidth();a+=k,f-=k}if(this._right&&this._right.opened)if("side"==this._right.mode)f+=this._right._getWidth();else if("push"==this._right.mode){const k=this._right._getWidth();f+=k,a-=k}a=a||null,f=f||null,(a!==this._contentMargins.left||f!==this._contentMargins.right)&&(this._contentMargins={left:a,right:f},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(a){a._animationStarted.pipe((0,le.h)(f=>f.fromState!==f.toState),(0,ct.R)(this._drawers.changes)).subscribe(f=>{"open-instant"!==f.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==a.mode&&a.openedChange.pipe((0,ct.R)(this._drawers.changes)).subscribe(()=>this._setContainerClass(a.opened))}_watchDrawerPosition(a){a&&a.onPositionChanged.pipe((0,ct.R)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,ge.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(a){a&&a._modeChanged.pipe((0,ct.R)((0,He.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(a){const f=this._element.nativeElement.classList,k="mat-drawer-container-has-open";a?f.add(k):f.remove(k)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(a=>{"end"==a.position?this._end=a:this._start=a}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(a=>a&&!a.disableClose&&this._canHaveBackdrop(a)).forEach(a=>a._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(a){return"side"!==a.mode||!!this._backdropOverride}_isDrawerOpen(a){return null!=a&&a.opened}}return h.\u0275fac=function(a){return new(a||h)(l.Y36(Ge.Is,8),l.Y36(l.SBq),l.Y36(l.R0b),l.Y36(l.sBO),l.Y36(O.rL),l.Y36(_i),l.Y36(l.QbO,8))},h.\u0275cmp=l.Xpm({type:h,selectors:[["mat-drawer-container"]],contentQueries:function(a,f,k){if(1&a&&(l.Suo(k,De,5),l.Suo(k,qe,5)),2&a){let oe;l.iGM(oe=l.CRH())&&(f._content=oe.first),l.iGM(oe=l.CRH())&&(f._allDrawers=oe)}},viewQuery:function(a,f){if(1&a&&l.Gf(De,5),2&a){let k;l.iGM(k=l.CRH())&&(f._userContent=k.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(a,f){2&a&&l.ekj("mat-drawer-container-explicit-backdrop",f._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[l._Bn([{provide:rn,useExisting:h}])],ngContentSelectors:gr,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(a,f){1&a&&(l.F$t(lr),l.YNc(0,Ho,1,2,"div",0),l.Hsn(1),l.Hsn(2,1),l.YNc(3,fr,2,0,"mat-drawer-content",1)),2&a&&(l.Q6J("ngIf",f.hasBackdrop),l.xp6(3),l.Q6J("ngIf",!f._content))},dependencies:[e.O5,De],styles:['.mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0}),h})(),Te=(()=>{class h extends De{constructor(a,f,k,oe,Je){super(a,f,k,oe,Je)}}return h.\u0275fac=function(a){return new(a||h)(l.Y36(l.sBO),l.Y36((0,l.Gpc)(()=>Ht)),l.Y36(l.SBq),l.Y36(O.mF),l.Y36(l.R0b))},h.\u0275cmp=l.Xpm({type:h,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(a,f){2&a&&l.Udp("margin-left",f._container._contentMargins.left,"px")("margin-right",f._container._contentMargins.right,"px")},features:[l._Bn([{provide:O.PQ,useExisting:h}]),l.qOj],ngContentSelectors:_n,decls:1,vars:0,template:function(a,f){1&a&&(l.F$t(),l.Hsn(0))},encapsulation:2,changeDetection:0}),h})(),It=(()=>{class h extends qe{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(a){this._fixedInViewport=(0,q.Ig)(a)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(a){this._fixedTopGap=(0,q.su)(a)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(a){this._fixedBottomGap=(0,q.su)(a)}}return h.\u0275fac=function(){let u;return function(f){return(u||(u=l.n5z(h)))(f||h)}}(),h.\u0275cmp=l.Xpm({type:h,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(a,f){2&a&&(l.uIk("align",null),l.Udp("top",f.fixedInViewport?f.fixedTopGap:null,"px")("bottom",f.fixedInViewport?f.fixedBottomGap:null,"px"),l.ekj("mat-drawer-end","end"===f.position)("mat-drawer-over","over"===f.mode)("mat-drawer-push","push"===f.mode)("mat-drawer-side","side"===f.mode)("mat-drawer-opened",f.opened)("mat-sidenav-fixed",f.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[l.qOj],ngContentSelectors:_n,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(a,f){1&a&&(l.F$t(),l.TgZ(0,"div",0,1),l.Hsn(2),l.qZA())},dependencies:[O.PQ],encapsulation:2,data:{animation:[qo.transformDrawer]},changeDetection:0}),h})(),Ht=(()=>{class h extends F{}return h.\u0275fac=function(){let u;return function(f){return(u||(u=l.n5z(h)))(f||h)}}(),h.\u0275cmp=l.Xpm({type:h,selectors:[["mat-sidenav-container"]],contentQueries:function(a,f,k){if(1&a&&(l.Suo(k,Te,5),l.Suo(k,It,5)),2&a){let oe;l.iGM(oe=l.CRH())&&(f._content=oe.first),l.iGM(oe=l.CRH())&&(f._allDrawers=oe)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(a,f){2&a&&l.ekj("mat-drawer-container-explicit-backdrop",f._backdropOverride)},exportAs:["matSidenavContainer"],features:[l._Bn([{provide:rn,useExisting:h}]),l.qOj],ngContentSelectors:qn,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(a,f){1&a&&(l.F$t(Jr),l.YNc(0,Wo,1,2,"div",0),l.Hsn(1),l.Hsn(2,1),l.YNc(3,jn,2,0,"mat-sidenav-content",1)),2&a&&(l.Q6J("ngIf",f.hasBackdrop),l.xp6(3),l.Q6J("ngIf",!f._content))},dependencies:[e.O5,Te],styles:['.mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0}),h})(),bi=(()=>{class h{}return h.\u0275fac=function(a){return new(a||h)},h.\u0275mod=l.oAB({type:h}),h.\u0275inj=l.cJS({imports:[e.ez,b.BQ,O.ZD,O.ZD,b.BQ]}),h})();var mn=p(455);let no=(()=>{class h{}return h.\u0275fac=function(a){return new(a||h)},h.\u0275mod=l.oAB({type:h}),h.\u0275inj=l.cJS({imports:[b.BQ,e.ez,b.si]}),h})();var Ur=p(6308),Ao=p(6257),Ln=p(3626),Po=p(3848);const Co=["*",[["mat-toolbar-row"]]],ho=["*","mat-toolbar-row"],es=(0,b.pj)(class{constructor(h){this._elementRef=h}});let yr=(()=>{class h{}return h.\u0275fac=function(a){return new(a||h)},h.\u0275dir=l.lG2({type:h,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),h})(),cr=(()=>{class h extends es{constructor(a,f,k){super(a),this._platform=f,this._document=k}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return h.\u0275fac=function(a){return new(a||h)(l.Y36(l.SBq),l.Y36(Ee.t4),l.Y36(e.K0))},h.\u0275cmp=l.Xpm({type:h,selectors:[["mat-toolbar"]],contentQueries:function(a,f,k){if(1&a&&l.Suo(k,yr,5),2&a){let oe;l.iGM(oe=l.CRH())&&(f._toolbarRows=oe)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(a,f){2&a&&l.ekj("mat-toolbar-multiple-rows",f._toolbarRows.length>0)("mat-toolbar-single-row",0===f._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[l.qOj],ngContentSelectors:ho,decls:2,vars:0,template:function(a,f){1&a&&(l.F$t(Co),l.Hsn(0),l.Hsn(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color: inherit;--mdc-outlined-button-label-text-color: inherit}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}"],encapsulation:2,changeDetection:0}),h})(),dr=(()=>{class h{}return h.\u0275fac=function(a){return new(a||h)},h.\u0275mod=l.oAB({type:h}),h.\u0275inj=l.cJS({imports:[b.BQ,b.BQ]}),h})();var ir=p(266),Lo=p(9066);let zo=(()=>{const u=class{constructor(f){this.translate=f,this.paginatorIntl=new at.ye,this.translate.onLangChange.subscribe(k=>this.getPaginatorIntl())}getPaginatorIntl(){return this.paginatorIntl.itemsPerPageLabel=this.translate.instant("paginator.items_per_page_label"),this.paginatorIntl.previousPageLabel=this.translate.instant("paginator.previous_page_label"),this.paginatorIntl.nextPageLabel=this.translate.instant("paginator.next_page_label"),this.paginatorIntl.firstPageLabel=this.translate.instant("paginator.first_page_label"),this.paginatorIntl.lastPageLabel=this.translate.instant("paginator.last_page_label"),this.paginatorIntl.getRangeLabel=this.getRangeLabel.bind(this),this.paginatorIntl.changes.next(),this.paginatorIntl}getRangeLabel(f,k,oe){if(0===oe||0===k)return this.translate.instant("paginator.range_page_label_1",{length:oe});const Je=f*k,Tt=Je<(oe=Math.max(oe,0))?Math.min(Je+k,oe):Je+k;return this.translate.instant("paginator.range_page_label_2",{startIndex:Je+1,endIndex:Tt,length:oe})}};let h=u;return u.\u0275fac=function(k){return new(k||u)(l.LFG(Lo.sK))},u.\u0275prov=l.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),h})();class Uo extends Error{}class ts extends Uo{constructor(u){super(`Invalid DateTime: ${u.toMessage()}`)}}class Ki extends Uo{constructor(u){super(`Invalid Interval: ${u.toMessage()}`)}}class Sr extends Uo{constructor(u){super(`Invalid Duration: ${u.toMessage()}`)}}class ee extends Uo{}class Q extends Uo{constructor(u){super(`Invalid unit ${u}`)}}class V extends Uo{}class Ne extends Uo{constructor(){super("Zone is an abstract class")}}const Mt="numeric",Di="short",En="long",ni={year:Mt,month:Mt,day:Mt},pn={year:Mt,month:Di,day:Mt},Or={year:Mt,month:Di,day:Mt,weekday:Di},is={year:Mt,month:En,day:Mt},eo={year:Mt,month:En,day:Mt,weekday:En},bs={hour:Mt,minute:Mt},Rr={hour:Mt,minute:Mt,second:Mt},nr={hour:Mt,minute:Mt,second:Mt,timeZoneName:Di},Is={hour:Mt,minute:Mt,second:Mt,timeZoneName:En},Qs={hour:Mt,minute:Mt,hourCycle:"h23"},Ba={hour:Mt,minute:Mt,second:Mt,hourCycle:"h23"},pa={hour:Mt,minute:Mt,second:Mt,hourCycle:"h23",timeZoneName:Di},ms={hour:Mt,minute:Mt,second:Mt,hourCycle:"h23",timeZoneName:En},dn={year:Mt,month:Mt,day:Mt,hour:Mt,minute:Mt},Yo={year:Mt,month:Mt,day:Mt,hour:Mt,minute:Mt,second:Mt},Yr={year:Mt,month:Di,day:Mt,hour:Mt,minute:Mt},Pr={year:Mt,month:Di,day:Mt,hour:Mt,minute:Mt,second:Mt},kr={year:Mt,month:Di,day:Mt,weekday:Di,hour:Mt,minute:Mt},ns={year:Mt,month:En,day:Mt,hour:Mt,minute:Mt,timeZoneName:Di},Gr={year:Mt,month:En,day:Mt,hour:Mt,minute:Mt,second:Mt,timeZoneName:Di},Os={year:Mt,month:En,day:Mt,weekday:En,hour:Mt,minute:Mt,timeZoneName:En},Js={year:Mt,month:En,day:Mt,weekday:En,hour:Mt,minute:Mt,second:Mt,timeZoneName:En};class Fr{get type(){throw new Ne}get name(){throw new Ne}get ianaName(){return this.name}get isUniversal(){throw new Ne}offsetName(u,a){throw new Ne}formatOffset(u,a){throw new Ne}offset(u){throw new Ne}equals(u){throw new Ne}get isValid(){throw new Ne}}let xr=null;class jr extends Fr{static get instance(){return null===xr&&(xr=new jr),xr}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(u,{format:a,locale:f}){return Tc(u,a,f)}formatOffset(u,a){return ls(this.offset(u),a)}offset(u){return-new Date(u).getTimezoneOffset()}equals(u){return"system"===u.type}get isValid(){return!0}}let os={};const vs={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let x={};class E extends Fr{static create(u){return x[u]||(x[u]=new E(u)),x[u]}static resetCache(){x={},os={}}static isValidSpecifier(u){return this.isValidZone(u)}static isValidZone(u){if(!u)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:u}).format(),!0}catch{return!1}}constructor(u){super(),this.zoneName=u,this.valid=E.isValidZone(u)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(u,{format:a,locale:f}){return Tc(u,a,f,this.name)}formatOffset(u,a){return ls(this.offset(u),a)}offset(u){const a=new Date(u);if(isNaN(a))return NaN;const f=function Xs(h){return os[h]||(os[h]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:h,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),os[h]}(this.name);let[k,oe,Je,Tt,Qt,mi,Ri]=f.formatToParts?function ue(h,u){const a=h.formatToParts(u),f=[];for(let k=0;k<a.length;k++){const{type:oe,value:Je}=a[k],Tt=vs[oe];"era"===oe?f[Tt]=Je:Xi(Tt)||(f[Tt]=parseInt(Je,10))}return f}(f,a):function ps(h,u){const a=h.format(u).replace(/\u200E/g,""),f=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(a),[,k,oe,Je,Tt,Qt,mi,Ri]=f;return[Je,k,oe,Tt,Qt,mi,Ri]}(f,a);"BC"===Tt&&(k=1-Math.abs(k));let Bi=+a;const qi=Bi%1e3;return Bi-=qi>=0?qi:1e3+qi,(ln({year:k,month:oe,day:Je,hour:24===Qt?0:Qt,minute:mi,second:Ri,millisecond:0})-Bi)/6e4}equals(u){return"iana"===u.type&&u.name===this.name}get isValid(){return this.valid}}let K={},tt={};function Dt(h,u={}){const a=JSON.stringify([h,u]);let f=tt[a];return f||(f=new Intl.DateTimeFormat(h,u),tt[a]=f),f}let Ct={},qt={},Ii=null,un={};function R(h,u,a,f){const k=h.listingMode();return"error"===k?null:"en"===k?a(u):f(u)}class G{constructor(u,a,f){this.padTo=f.padTo||0,this.floor=f.floor||!1;const{padTo:k,floor:oe,...Je}=f;if(!a||Object.keys(Je).length>0){const Tt={useGrouping:!1,...f};f.padTo>0&&(Tt.minimumIntegerDigits=f.padTo),this.inf=function Zt(h,u={}){const a=JSON.stringify([h,u]);let f=Ct[a];return f||(f=new Intl.NumberFormat(h,u),Ct[a]=f),f}(u,Tt)}}format(u){if(this.inf){const a=this.floor?Math.floor(u):u;return this.inf.format(a)}return ro(this.floor?Math.floor(u):Bl(u,3),this.padTo)}}class Oe{constructor(u,a,f){let k;if(this.opts=f,this.originalZone=void 0,this.opts.timeZone)this.dt=u;else if("fixed"===u.zone.type){const Je=u.offset/60*-1,Tt=Je>=0?`Etc/GMT+${Je}`:`Etc/GMT${Je}`;0!==u.offset&&E.create(Tt).valid?(k=Tt,this.dt=u):(k="UTC",this.dt=0===u.offset?u:u.setZone("UTC").plus({minutes:u.offset}),this.originalZone=u.zone)}else"system"===u.zone.type?this.dt=u:"iana"===u.zone.type?(this.dt=u,k=u.zone.name):(k="UTC",this.dt=u.setZone("UTC").plus({minutes:u.offset}),this.originalZone=u.zone);const oe={...this.opts};oe.timeZone=oe.timeZone||k,this.dtf=Dt(a,oe)}format(){return this.originalZone?this.formatToParts().map(({value:u})=>u).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const u=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?u.map(a=>{if("timeZoneName"===a.type){const f=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...a,value:f}}return a}):u}resolvedOptions(){return this.dtf.resolvedOptions()}}class ut{constructor(u,a,f){this.opts={style:"long",...f},!a&&ea()&&(this.rtf=function Mi(h,u={}){const{base:a,...f}=u,k=JSON.stringify([h,f]);let oe=qt[k];return oe||(oe=new Intl.RelativeTimeFormat(h,u),qt[k]=oe),oe}(u,f))}format(u,a){return this.rtf?this.rtf.format(u,a):function wn(h,u,a="always",f=!1){const k={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},oe=-1===["hours","minutes","seconds"].indexOf(h);if("auto"===a&&oe){const hn="days"===h;switch(u){case 1:return hn?"tomorrow":`next ${k[h][0]}`;case-1:return hn?"yesterday":`last ${k[h][0]}`;case 0:return hn?"today":`this ${k[h][0]}`}}const Je=Object.is(u,-0)||u<0,Tt=Math.abs(u),Qt=1===Tt,mi=k[h],Ri=f?Qt?mi[1]:mi[2]||mi[1]:Qt?k[h][0]:h;return Je?`${Tt} ${Ri} ago`:`in ${Tt} ${Ri}`}(a,u,this.opts.numeric,"long"!==this.opts.style)}formatToParts(u,a){return this.rtf?this.rtf.formatToParts(u,a):[]}}const Xt={firstDay:1,minimalDays:4,weekend:[6,7]};class Kt{static fromOpts(u){return Kt.create(u.locale,u.numberingSystem,u.outputCalendar,u.weekSettings,u.defaultToEN)}static create(u,a,f,k,oe=!1){const Je=u||vn.defaultLocale,Tt=Je||(oe?"en-US":function fn(){return Ii||(Ii=(new Intl.DateTimeFormat).resolvedOptions().locale,Ii)}()),Qt=a||vn.defaultNumberingSystem,mi=f||vn.defaultOutputCalendar,Ri=Nr(k)||vn.defaultWeekSettings;return new Kt(Tt,Qt,mi,Ri,Je)}static resetCache(){Ii=null,tt={},Ct={},qt={}}static fromObject({locale:u,numberingSystem:a,outputCalendar:f,weekSettings:k}={}){return Kt.create(u,a,f,k)}constructor(u,a,f,k,oe){const[Je,Tt,Qt]=function Qi(h){const u=h.indexOf("-x-");-1!==u&&(h=h.substring(0,u));const a=h.indexOf("-u-");if(-1===a)return[h];{let f,k;try{f=Dt(h).resolvedOptions(),k=h}catch{const Qt=h.substring(0,a);f=Dt(Qt).resolvedOptions(),k=Qt}const{numberingSystem:oe,calendar:Je}=f;return[k,oe,Je]}}(u);this.locale=Je,this.numberingSystem=a||Tt||null,this.outputCalendar=f||Qt||null,this.weekSettings=k,this.intl=function Dn(h,u,a){return(a||u)&&(h.includes("-u-")||(h+="-u"),a&&(h+=`-ca-${a}`),u&&(h+=`-nu-${u}`)),h}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=oe,this.fastNumbersCached=null}get fastNumbers(){return null==this.fastNumbersCached&&(this.fastNumbersCached=function ae(h){return(!h.numberingSystem||"latn"===h.numberingSystem)&&("latn"===h.numberingSystem||!h.locale||h.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(h.intl).resolvedOptions().numberingSystem)}(this)),this.fastNumbersCached}listingMode(){return this.isEnglish()&&!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar)?"en":"intl"}clone(u){return u&&0!==Object.getOwnPropertyNames(u).length?Kt.create(u.locale||this.specifiedLocale,u.numberingSystem||this.numberingSystem,u.outputCalendar||this.outputCalendar,Nr(u.weekSettings)||this.weekSettings,u.defaultToEN||!1):this}redefaultToEN(u={}){return this.clone({...u,defaultToEN:!0})}redefaultToSystem(u={}){return this.clone({...u,defaultToEN:!1})}months(u,a=!1){return R(this,u,M,()=>{const f=a?{month:u,day:"numeric"}:{month:u},k=a?"format":"standalone";return this.monthsCache[k][u]||(this.monthsCache[k][u]=function Rn(h){const u=[];for(let a=1;a<=12;a++){const f=zi.utc(2009,a,1);u.push(h(f))}return u}(oe=>this.extract(oe,f,"month"))),this.monthsCache[k][u]})}weekdays(u,a=!1){return R(this,u,ie,()=>{const f=a?{weekday:u,year:"numeric",month:"long",day:"numeric"}:{weekday:u},k=a?"format":"standalone";return this.weekdaysCache[k][u]||(this.weekdaysCache[k][u]=function oo(h){const u=[];for(let a=1;a<=7;a++){const f=zi.utc(2016,11,13+a);u.push(h(f))}return u}(oe=>this.extract(oe,f,"weekday"))),this.weekdaysCache[k][u]})}meridiems(){return R(this,void 0,()=>Ce,()=>{if(!this.meridiemCache){const u={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[zi.utc(2016,11,13,9),zi.utc(2016,11,13,19)].map(a=>this.extract(a,u,"dayperiod"))}return this.meridiemCache})}eras(u){return R(this,u,Ti,()=>{const a={era:u};return this.eraCache[u]||(this.eraCache[u]=[zi.utc(-40,1,1),zi.utc(2017,1,1)].map(f=>this.extract(f,a,"era"))),this.eraCache[u]})}extract(u,a,f){const Je=this.dtFormatter(u,a).formatToParts().find(Tt=>Tt.type.toLowerCase()===f);return Je?Je.value:null}numberFormatter(u={}){return new G(this.intl,u.forceSimple||this.fastNumbers,u)}dtFormatter(u,a={}){return new Oe(u,this.intl,a)}relFormatter(u={}){return new ut(this.intl,this.isEnglish(),u)}listFormatter(u={}){return function ye(h,u={}){const a=JSON.stringify([h,u]);let f=K[a];return f||(f=new Intl.ListFormat(h,u),K[a]=f),f}(this.intl,u)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:as()?function Zi(h){let u=un[h];if(!u){const a=new Intl.Locale(h);u="getWeekInfo"in a?a.getWeekInfo():a.weekInfo,un[h]=u}return u}(this.locale):Xt}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(u){return this.locale===u.locale&&this.numberingSystem===u.numberingSystem&&this.outputCalendar===u.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let ki=null;class sn extends Fr{static get utcInstance(){return null===ki&&(ki=new sn(0)),ki}static instance(u){return 0===u?sn.utcInstance:new sn(u)}static parseSpecifier(u){if(u){const a=u.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(a)return new sn(Ha(a[1],a[2]))}return null}constructor(u){super(),this.fixed=u}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${ls(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${ls(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(u,a){return ls(this.fixed,a)}get isUniversal(){return!0}offset(){return this.fixed}equals(u){return"fixed"===u.type&&u.fixed===this.fixed}get isValid(){return!0}}class Sn extends Fr{constructor(u){super(),this.zoneName=u}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function en(h,u){if(Xi(h)||null===h)return u;if(h instanceof Fr)return h;if(function ws(h){return"string"==typeof h}(h)){const f=h.toLowerCase();return"default"===f?u:"local"===f||"system"===f?jr.instance:"utc"===f||"gmt"===f?sn.utcInstance:sn.parseSpecifier(f)||E.create(h)}return go(h)?sn.instance(h):"object"==typeof h&&"offset"in h&&"function"==typeof h.offset?h:new Sn(h)}const an={arab:"[\u0660-\u0669]",arabext:"[\u06f0-\u06f9]",bali:"[\u1b50-\u1b59]",beng:"[\u09e6-\u09ef]",deva:"[\u0966-\u096f]",fullwide:"[\uff10-\uff19]",gujr:"[\u0ae6-\u0aef]",hanidec:"[\u3007|\u4e00|\u4e8c|\u4e09|\u56db|\u4e94|\u516d|\u4e03|\u516b|\u4e5d]",khmr:"[\u17e0-\u17e9]",knda:"[\u0ce6-\u0cef]",laoo:"[\u0ed0-\u0ed9]",limb:"[\u1946-\u194f]",mlym:"[\u0d66-\u0d6f]",mong:"[\u1810-\u1819]",mymr:"[\u1040-\u1049]",orya:"[\u0b66-\u0b6f]",tamldec:"[\u0be6-\u0bef]",telu:"[\u0c66-\u0c6f]",thai:"[\u0e50-\u0e59]",tibt:"[\u0f20-\u0f29]",latn:"\\d"},Zn={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},fi=an.hanidec.replace(/[\[|\]]/g,"").split("");let Vi={};function bn({numberingSystem:h},u=""){const a=h||"latn";return Vi[a]||(Vi[a]={}),Vi[a][u]||(Vi[a][u]=new RegExp(`${an[a]}${u}`)),Vi[a][u]}let Go,zn=()=>Date.now(),Wn="system",Io=null,kn=null,Rs=null,Ps=60,Lr=null;class vn{static get now(){return zn}static set now(u){zn=u}static set defaultZone(u){Wn=u}static get defaultZone(){return en(Wn,jr.instance)}static get defaultLocale(){return Io}static set defaultLocale(u){Io=u}static get defaultNumberingSystem(){return kn}static set defaultNumberingSystem(u){kn=u}static get defaultOutputCalendar(){return Rs}static set defaultOutputCalendar(u){Rs=u}static get defaultWeekSettings(){return Lr}static set defaultWeekSettings(u){Lr=Nr(u)}static get twoDigitCutoffYear(){return Ps}static set twoDigitCutoffYear(u){Ps=u%100}static get throwOnInvalid(){return Go}static set throwOnInvalid(u){Go=u}static resetCaches(){Kt.resetCache(),E.resetCache(),zi.resetCache(),function Ji(){Vi={}}()}}class or{constructor(u,a){this.reason=u,this.explanation=a}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const ur=[0,31,59,90,120,151,181,212,243,273,304,334],fa=[0,31,60,91,121,152,182,213,244,274,305,335];function hr(h,u){return new or("unit out of range",`you specified ${u} (of type ${typeof u}) as a ${h}, which is invalid`)}function ga(h,u,a){const f=new Date(Date.UTC(h,u-1,a));h<100&&h>=0&&f.setUTCFullYear(f.getUTCFullYear()-1900);const k=f.getUTCDay();return 0===k?7:k}function wr(h,u,a){return a+(cl(h)?fa:ur)[u-1]}function ys(h,u){const a=cl(h)?fa:ur,f=a.findIndex(oe=>oe<u);return{month:f+1,day:u-a[f]}}function No(h,u){return(h-u+7)%7+1}function xs(h,u=4,a=1){const{year:f,month:k,day:oe}=h,Je=wr(f,k,oe),Tt=No(ga(f,k,oe),a);let mi,Qt=Math.floor((Je-Tt+14-u)/7);return Qt<1?(mi=f-1,Qt=jo(mi,u,a)):Qt>jo(f,u,a)?(mi=f+1,Qt=1):mi=f,{weekYear:mi,weekNumber:Qt,weekday:Tt,...za(h)}}function Fs(h,u=4,a=1){const{weekYear:f,weekNumber:k,weekday:oe}=h,Je=No(ga(f,1,u),a),Tt=va(f);let mi,Qt=7*k+oe-Je-7+u;Qt<1?(mi=f-1,Qt+=va(mi)):Qt>Tt?(mi=f+1,Qt-=va(f)):mi=f;const{month:Ri,day:hn}=ys(mi,Qt);return{year:mi,month:Ri,day:hn,...za(h)}}function Ls(h){const{year:u,month:a,day:f}=h;return{year:u,ordinal:wr(u,a,f),...za(h)}}function Va(h){const{year:u,ordinal:a}=h,{month:f,day:k}=ys(u,a);return{year:u,month:f,day:k,...za(h)}}function Ns(h,u){if(Xi(h.localWeekday)&&Xi(h.localWeekNumber)&&Xi(h.localWeekYear))return{minDaysInFirstWeek:4,startOfWeek:1};if(!Xi(h.weekday)||!Xi(h.weekNumber)||!Xi(h.weekYear))throw new ee("Cannot mix locale-based week fields with ISO-based week fields");return Xi(h.localWeekday)||(h.weekday=h.localWeekday),Xi(h.localWeekNumber)||(h.weekNumber=h.localWeekNumber),Xi(h.localWeekYear)||(h.weekYear=h.localWeekYear),delete h.localWeekday,delete h.localWeekNumber,delete h.localWeekYear,{minDaysInFirstWeek:u.getMinDaysInFirstWeek(),startOfWeek:u.getStartOfWeek()}}function rs(h){const u=$r(h.year),a=rr(h.month,1,12),f=rr(h.day,1,dl(h.year,h.month));return u?a?!f&&hr("day",h.day):hr("month",h.month):hr("year",h.year)}function qs(h){const{hour:u,minute:a,second:f,millisecond:k}=h,oe=rr(u,0,23)||24===u&&0===a&&0===f&&0===k,Je=rr(a,0,59),Tt=rr(f,0,59),Qt=rr(k,0,999);return oe?Je?Tt?!Qt&&hr("millisecond",k):hr("second",f):hr("minute",a):hr("hour",u)}function Xi(h){return typeof h>"u"}function go(h){return"number"==typeof h}function $r(h){return"number"==typeof h&&h%1==0}function ea(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function as(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function ta(h,u,a){if(0!==h.length)return h.reduce((f,k)=>{const oe=[u(k),k];return f&&a(f[0],oe[0])===f[0]?f:oe},null)[1]}function Zr(h,u){return Object.prototype.hasOwnProperty.call(h,u)}function Nr(h){if(null==h)return null;if("object"!=typeof h)throw new V("Week settings must be an object");if(!rr(h.firstDay,1,7)||!rr(h.minimalDays,1,7)||!Array.isArray(h.weekend)||h.weekend.some(u=>!rr(u,1,7)))throw new V("Invalid week settings");return{firstDay:h.firstDay,minimalDays:h.minimalDays,weekend:Array.from(h.weekend)}}function rr(h,u,a){return $r(h)&&h>=u&&h<=a}function ro(h,u=2){let f;return f=h<0?"-"+(""+-h).padStart(u,"0"):(""+h).padStart(u,"0"),f}function Vs(h){if(!Xi(h)&&null!==h&&""!==h)return parseInt(h,10)}function Cs(h){if(!Xi(h)&&null!==h&&""!==h)return parseFloat(h)}function Nn(h){if(!Xi(h)&&null!==h&&""!==h){const u=1e3*parseFloat("0."+h);return Math.floor(u)}}function Bl(h,u,a=!1){const f=10**u;return(a?Math.trunc:Math.round)(h*f)/f}function cl(h){return h%4==0&&(h%100!=0||h%400==0)}function va(h){return cl(h)?366:365}function dl(h,u){const a=function ia(h,u){return h-u*Math.floor(h/u)}(u-1,12)+1;return 2===a?cl(h+(u-a)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][a-1]}function ln(h){let u=Date.UTC(h.year,h.month-1,h.day,h.hour,h.minute,h.second,h.millisecond);return h.year<100&&h.year>=0&&(u=new Date(u),u.setUTCFullYear(h.year,h.month-1,h.day)),+u}function Mc(h,u,a){return-No(ga(h,1,u),a)+u-1}function jo(h,u=4,a=1){const f=Mc(h,u,a),k=Mc(h+1,u,a);return(va(h)-f+k)/7}function Ds(h){return h>99?h:h>vn.twoDigitCutoffYear?1900+h:2e3+h}function Tc(h,u,a,f=null){const k=new Date(h),oe={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};f&&(oe.timeZone=f);const Je={timeZoneName:u,...oe},Tt=new Intl.DateTimeFormat(a,Je).formatToParts(k).find(Qt=>"timezonename"===Qt.type.toLowerCase());return Tt?Tt.value:null}function Ha(h,u){let a=parseInt(h,10);Number.isNaN(a)&&(a=0);const f=parseInt(u,10)||0;return 60*a+(a<0||Object.is(a,-0)?-f:f)}function Do(h){const u=Number(h);if("boolean"==typeof h||""===h||Number.isNaN(u))throw new V(`Invalid unit value ${h}`);return u}function na(h,u){const a={};for(const f in h)if(Zr(h,f)){const k=h[f];if(null==k)continue;a[u(f)]=Do(k)}return a}function ls(h,u){const a=Math.trunc(Math.abs(h/60)),f=Math.trunc(Math.abs(h%60)),k=h>=0?"+":"-";switch(u){case"short":return`${k}${ro(a,2)}:${ro(f,2)}`;case"narrow":return`${k}${a}${f>0?`:${f}`:""}`;case"techie":return`${k}${ro(a,2)}${ro(f,2)}`;default:throw new RangeError(`Value format ${u} is out of range for property format`)}}function za(h){return function Bs(h,u){return u.reduce((a,f)=>(a[f]=h[f],a),{})}(h,["hour","minute","second","millisecond"])}const Wr=["January","February","March","April","May","June","July","August","September","October","November","December"],oa=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Hs=["J","F","M","A","M","J","J","A","S","O","N","D"];function M(h){switch(h){case"narrow":return[...Hs];case"short":return[...oa];case"long":return[...Wr];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const S=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],v=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],L=["M","T","W","T","F","S","S"];function ie(h){switch(h){case"narrow":return[...L];case"short":return[...v];case"long":return[...S];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Ce=["AM","PM"],$e=["Before Christ","Anno Domini"],Bt=["BC","AD"],ci=["B","A"];function Ti(h){switch(h){case"narrow":return[...ci];case"short":return[...Bt];case"long":return[...$e];default:return null}}function mr(h,u){let a="";for(const f of h)a+=f.literal?f.val:u(f.val);return a}const ya={D:ni,DD:pn,DDD:is,DDDD:eo,t:bs,tt:Rr,ttt:nr,tttt:Is,T:Qs,TT:Ba,TTT:pa,TTTT:ms,f:dn,ff:Yr,fff:ns,ffff:Os,F:Yo,FF:Pr,FFF:Gr,FFFF:Js};class vo{static create(u,a={}){return new vo(u,a)}static parseFormat(u){let a=null,f="",k=!1;const oe=[];for(let Je=0;Je<u.length;Je++){const Tt=u.charAt(Je);"'"===Tt?(f.length>0&&oe.push({literal:k||/^\s+$/.test(f),val:f}),a=null,f="",k=!k):k||Tt===a?f+=Tt:(f.length>0&&oe.push({literal:/^\s+$/.test(f),val:f}),f=Tt,a=Tt)}return f.length>0&&oe.push({literal:k||/^\s+$/.test(f),val:f}),oe}static macroTokenToFormatOpts(u){return ya[u]}constructor(u,a){this.opts=a,this.loc=u,this.systemLoc=null}formatWithSystemDefault(u,a){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(u,{...this.opts,...a}).format()}dtFormatter(u,a={}){return this.loc.dtFormatter(u,{...this.opts,...a})}formatDateTime(u,a){return this.dtFormatter(u,a).format()}formatDateTimeParts(u,a){return this.dtFormatter(u,a).formatToParts()}formatInterval(u,a){return this.dtFormatter(u.start,a).dtf.formatRange(u.start.toJSDate(),u.end.toJSDate())}resolvedOptions(u,a){return this.dtFormatter(u,a).resolvedOptions()}num(u,a=0){if(this.opts.forceSimple)return ro(u,a);const f={...this.opts};return a>0&&(f.padTo=a),this.loc.numberFormatter(f).format(u)}formatDateTimeFromString(u,a){const f="en"===this.loc.listingMode(),k=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,oe=(Bi,qi)=>this.loc.extract(u,Bi,qi),Je=Bi=>u.isOffsetFixed&&0===u.offset&&Bi.allowZ?"Z":u.isValid?u.zone.formatOffset(u.ts,Bi.format):"",Qt=(Bi,qi)=>f?function Hi(h,u){return M(u)[h.month-1]}(u,Bi):oe(qi?{month:Bi}:{month:Bi,day:"numeric"},"month"),mi=(Bi,qi)=>f?function yn(h,u){return ie(u)[h.weekday-1]}(u,Bi):oe(qi?{weekday:Bi}:{weekday:Bi,month:"long",day:"numeric"},"weekday"),Ri=Bi=>{const qi=vo.macroTokenToFormatOpts(Bi);return qi?this.formatWithSystemDefault(u,qi):Bi},hn=Bi=>f?function Kn(h,u){return Ti(u)[h.year<0?0:1]}(u,Bi):oe({era:Bi},"era");return mr(vo.parseFormat(a),Bi=>{switch(Bi){case"S":return this.num(u.millisecond);case"u":case"SSS":return this.num(u.millisecond,3);case"s":return this.num(u.second);case"ss":return this.num(u.second,2);case"uu":return this.num(Math.floor(u.millisecond/10),2);case"uuu":return this.num(Math.floor(u.millisecond/100));case"m":return this.num(u.minute);case"mm":return this.num(u.minute,2);case"h":return this.num(u.hour%12==0?12:u.hour%12);case"hh":return this.num(u.hour%12==0?12:u.hour%12,2);case"H":return this.num(u.hour);case"HH":return this.num(u.hour,2);case"Z":return Je({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return Je({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return Je({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return u.zone.offsetName(u.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return u.zone.offsetName(u.ts,{format:"long",locale:this.loc.locale});case"z":return u.zoneName;case"a":return f?function Ai(h){return Ce[h.hour<12?0:1]}(u):oe({hour:"numeric",hourCycle:"h12"},"dayperiod");case"d":return k?oe({day:"numeric"},"day"):this.num(u.day);case"dd":return k?oe({day:"2-digit"},"day"):this.num(u.day,2);case"c":case"E":return this.num(u.weekday);case"ccc":return mi("short",!0);case"cccc":return mi("long",!0);case"ccccc":return mi("narrow",!0);case"EEE":return mi("short",!1);case"EEEE":return mi("long",!1);case"EEEEE":return mi("narrow",!1);case"L":return k?oe({month:"numeric",day:"numeric"},"month"):this.num(u.month);case"LL":return k?oe({month:"2-digit",day:"numeric"},"month"):this.num(u.month,2);case"LLL":return Qt("short",!0);case"LLLL":return Qt("long",!0);case"LLLLL":return Qt("narrow",!0);case"M":return k?oe({month:"numeric"},"month"):this.num(u.month);case"MM":return k?oe({month:"2-digit"},"month"):this.num(u.month,2);case"MMM":return Qt("short",!1);case"MMMM":return Qt("long",!1);case"MMMMM":return Qt("narrow",!1);case"y":return k?oe({year:"numeric"},"year"):this.num(u.year);case"yy":return k?oe({year:"2-digit"},"year"):this.num(u.year.toString().slice(-2),2);case"yyyy":return k?oe({year:"numeric"},"year"):this.num(u.year,4);case"yyyyyy":return k?oe({year:"numeric"},"year"):this.num(u.year,6);case"G":return hn("short");case"GG":return hn("long");case"GGGGG":return hn("narrow");case"kk":return this.num(u.weekYear.toString().slice(-2),2);case"kkkk":return this.num(u.weekYear,4);case"W":return this.num(u.weekNumber);case"WW":return this.num(u.weekNumber,2);case"n":return this.num(u.localWeekNumber);case"nn":return this.num(u.localWeekNumber,2);case"ii":return this.num(u.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(u.localWeekYear,4);case"o":return this.num(u.ordinal);case"ooo":return this.num(u.ordinal,3);case"q":return this.num(u.quarter);case"qq":return this.num(u.quarter,2);case"X":return this.num(Math.floor(u.ts/1e3));case"x":return this.num(u.ts);default:return Ri(Bi)}})}formatDurationFromString(u,a){const f=Qt=>{switch(Qt[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},oe=vo.parseFormat(a),Je=oe.reduce((Qt,{literal:mi,val:Ri})=>mi?Qt:Qt.concat(Ri),[]);return mr(oe,(Qt=>mi=>{const Ri=f(mi);return Ri?this.num(Qt.get(Ri),mi.length):mi})(u.shiftTo(...Je.map(f).filter(Qt=>Qt))))}}const Ms=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function ra(...h){const u=h.reduce((a,f)=>a+f.source,"");return RegExp(`^${u}$`)}function cs(...h){return u=>h.reduce(([a,f,k],oe)=>{const[Je,Tt,Qt]=oe(u,k);return[{...a,...Je},Tt||f,Qt]},[{},null,1]).slice(0,2)}function Ua(h,...u){if(null==h)return[null,null];for(const[a,f]of u){const k=a.exec(h);if(k)return f(k)}return[null,null]}function Vl(...h){return(u,a)=>{const f={};let k;for(k=0;k<h.length;k++)f[h[k]]=Vs(u[a+k]);return[f,null,a+k]}}const zs=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,hl=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Ec=RegExp(`${hl.source}(?:${zs.source}?(?:\\[(${Ms.source})\\])?)?`),Hl=RegExp(`(?:T${Ec.source})?`),ah=Vl("weekYear","weekNumber","weekDay"),Sc=Vl("year","ordinal"),Wd=RegExp(`${hl.source} ?(?:${zs.source}|(${Ms.source}))?`),Kd=RegExp(`(?: ${Wd.source})?`);function xa(h,u,a){const f=h[u];return Xi(f)?a:Vs(f)}function Ts(h,u){return[{hours:xa(h,u,0),minutes:xa(h,u+1,0),seconds:xa(h,u+2,0),milliseconds:Nn(h[u+3])},null,u+4]}function wa(h,u){const a=!h[u]&&!h[u+1],f=Ha(h[u+1],h[u+2]);return[{},a?null:sn.instance(f),u+3]}function Ga(h,u){return[{},h[u]?E.create(h[u]):null,u+1]}const kc=RegExp(`^T?${hl.source}$`),lh=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Ac(h){const[u,a,f,k,oe,Je,Tt,Qt,mi]=h,Ri="-"===u[0],hn=Qt&&"-"===Qt[0],so=(Bi,qi=!1)=>void 0!==Bi&&(qi||Bi&&Ri)?-Bi:Bi;return[{years:so(Cs(a)),months:so(Cs(f)),weeks:so(Cs(k)),days:so(Cs(oe)),hours:so(Cs(Je)),minutes:so(Cs(Tt)),seconds:so(Cs(Qt),"-0"===Qt),milliseconds:so(Nn(mi),hn)}]}const ch={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function zl(h,u,a,f,k,oe,Je){const Tt={year:2===u.length?Ds(Vs(u)):Vs(u),month:oa.indexOf(a)+1,day:Vs(f),hour:Vs(k),minute:Vs(oe)};return Je&&(Tt.second=Vs(Je)),h&&(Tt.weekday=h.length>3?S.indexOf(h)+1:v.indexOf(h)+1),Tt}const Jd=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Ul(h){const[,u,a,f,k,oe,Je,Tt,Qt,mi,Ri,hn]=h,so=zl(u,k,f,a,oe,Je,Tt);let Bi;return Bi=Qt?ch[Qt]:mi?0:Ha(Ri,hn),[so,new sn(Bi)]}const uh=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,ml=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,hh=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Xd(h){const[,u,a,f,k,oe,Je,Tt]=h;return[zl(u,k,f,a,oe,Je,Tt),sn.utcInstance]}function mh(h){const[,u,a,f,k,oe,Je,Tt]=h;return[zl(u,Tt,a,f,k,oe,Je),sn.utcInstance]}const ph=ra(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Hl),fh=ra(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Hl),qd=ra(/(\d{4})-?(\d{3})/,Hl),Ic=ra(Ec),pl=cs(function Qd(h,u){return[{year:xa(h,u),month:xa(h,u+1,1),day:xa(h,u+2,1)},null,u+3]},Ts,wa,Ga),Oc=cs(ah,Ts,wa,Ga),Rc=cs(Sc,Ts,wa,Ga),Pc=cs(Ts,wa,Ga),Fc=cs(Ts),nu=ra(/(\d{4})-(\d\d)-(\d\d)/,Kd),ou=ra(Wd),ru=cs(Ts,wa,Ga),Nc="Invalid Duration",Bc={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},Ar={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...Bc},Ir=365.2425,Us=30.436875,Gl={years:{quarters:4,months:12,weeks:Ir/7,days:Ir,hours:24*Ir,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:Ir/28,days:Ir/4,hours:24*Ir/4,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:Us/7,days:Us,hours:24*Us,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...Bc},Mo=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],ja=Mo.slice(0).reverse();function Es(h,u,a=!1){const f={values:a?u.values:{...h.values,...u.values||{}},loc:h.loc.clone(u.loc),conversionAccuracy:u.conversionAccuracy||h.conversionAccuracy,matrix:u.matrix||h.matrix};return new Fn(f)}function jl(h,u){let a=u.milliseconds??0;for(const f of ja.slice(1))u[f]&&(a+=u[f]*h[f].milliseconds);return a}function Vc(h,u){const a=jl(h,u)<0?-1:1;Mo.reduceRight((f,k)=>{if(Xi(u[k]))return f;if(f){const Je=h[k][f],Tt=Math.floor(u[f]*a/Je);u[k]+=Tt*a,u[f]-=Tt*Je*a}return k},null),Mo.reduce((f,k)=>{if(Xi(u[k]))return f;if(f){const oe=u[f]%1;u[f]-=oe,u[k]+=oe*h[f][k]}return k},null)}class Fn{constructor(u){const a="longterm"===u.conversionAccuracy||!1;let f=a?Gl:Ar;u.matrix&&(f=u.matrix),this.values=u.values,this.loc=u.loc||Kt.create(),this.conversionAccuracy=a?"longterm":"casual",this.invalid=u.invalid||null,this.matrix=f,this.isLuxonDuration=!0}static fromMillis(u,a){return Fn.fromObject({milliseconds:u},a)}static fromObject(u,a={}){if(null==u||"object"!=typeof u)throw new V("Duration.fromObject: argument expected to be an object, got "+(null===u?"null":typeof u));return new Fn({values:na(u,Fn.normalizeUnit),loc:Kt.fromObject(a),conversionAccuracy:a.conversionAccuracy,matrix:a.matrix})}static fromDurationLike(u){if(go(u))return Fn.fromMillis(u);if(Fn.isDuration(u))return u;if("object"==typeof u)return Fn.fromObject(u);throw new V(`Unknown duration argument ${u} of type ${typeof u}`)}static fromISO(u,a){const[f]=function iu(h){return Ua(h,[lh,Ac])}(u);return f?Fn.fromObject(f,a):Fn.invalid("unparsable",`the input "${u}" can't be parsed as ISO 8601`)}static fromISOTime(u,a){const[f]=function Yl(h){return Ua(h,[kc,Fc])}(u);return f?Fn.fromObject(f,a):Fn.invalid("unparsable",`the input "${u}" can't be parsed as ISO 8601`)}static invalid(u,a=null){if(!u)throw new V("need to specify a reason the Duration is invalid");const f=u instanceof or?u:new or(u,a);if(vn.throwOnInvalid)throw new Sr(f);return new Fn({invalid:f})}static normalizeUnit(u){const a={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[u&&u.toLowerCase()];if(!a)throw new Q(u);return a}static isDuration(u){return u&&u.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(u,a={}){const f={...a,floor:!1!==a.round&&!1!==a.floor};return this.isValid?vo.create(this.loc,f).formatDurationFromString(this,u):Nc}toHuman(u={}){if(!this.isValid)return Nc;const a=Mo.map(f=>{const k=this.values[f];return Xi(k)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...u,unit:f.slice(0,-1)}).format(k)}).filter(f=>f);return this.loc.listFormatter({type:"conjunction",style:u.listStyle||"narrow",...u}).format(a)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let u="P";return 0!==this.years&&(u+=this.years+"Y"),(0!==this.months||0!==this.quarters)&&(u+=this.months+3*this.quarters+"M"),0!==this.weeks&&(u+=this.weeks+"W"),0!==this.days&&(u+=this.days+"D"),(0!==this.hours||0!==this.minutes||0!==this.seconds||0!==this.milliseconds)&&(u+="T"),0!==this.hours&&(u+=this.hours+"H"),0!==this.minutes&&(u+=this.minutes+"M"),(0!==this.seconds||0!==this.milliseconds)&&(u+=Bl(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===u&&(u+="T0S"),u}toISOTime(u={}){if(!this.isValid)return null;const a=this.toMillis();return a<0||a>=864e5?null:(u={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...u,includeOffset:!1},zi.fromMillis(a,{zone:"UTC"}).toISOTime(u))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?jl(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(u){if(!this.isValid)return this;const a=Fn.fromDurationLike(u),f={};for(const k of Mo)(Zr(a.values,k)||Zr(this.values,k))&&(f[k]=a.get(k)+this.get(k));return Es(this,{values:f},!0)}minus(u){if(!this.isValid)return this;const a=Fn.fromDurationLike(u);return this.plus(a.negate())}mapUnits(u){if(!this.isValid)return this;const a={};for(const f of Object.keys(this.values))a[f]=Do(u(this.values[f],f));return Es(this,{values:a},!0)}get(u){return this[Fn.normalizeUnit(u)]}set(u){return this.isValid?Es(this,{values:{...this.values,...na(u,Fn.normalizeUnit)}}):this}reconfigure({locale:u,numberingSystem:a,conversionAccuracy:f,matrix:k}={}){return Es(this,{loc:this.loc.clone({locale:u,numberingSystem:a}),matrix:k,conversionAccuracy:f})}as(u){return this.isValid?this.shiftTo(u).get(u):NaN}normalize(){if(!this.isValid)return this;const u=this.toObject();return Vc(this.matrix,u),Es(this,{values:u},!0)}rescale(){return this.isValid?Es(this,{values:function Hc(h){const u={};for(const[a,f]of Object.entries(h))0!==f&&(u[a]=f);return u}(this.normalize().shiftToAll().toObject())},!0):this}shiftTo(...u){if(!this.isValid)return this;if(0===u.length)return this;u=u.map(Je=>Fn.normalizeUnit(Je));const a={},f={},k=this.toObject();let oe;for(const Je of Mo)if(u.indexOf(Je)>=0){oe=Je;let Tt=0;for(const mi in f)Tt+=this.matrix[mi][Je]*f[mi],f[mi]=0;go(k[Je])&&(Tt+=k[Je]);const Qt=Math.trunc(Tt);a[Je]=Qt,f[Je]=(1e3*Tt-1e3*Qt)/1e3}else go(k[Je])&&(f[Je]=k[Je]);for(const Je in f)0!==f[Je]&&(a[oe]+=Je===oe?f[Je]:f[Je]/this.matrix[oe][Je]);return Vc(this.matrix,a),Es(this,{values:a},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const u={};for(const a of Object.keys(this.values))u[a]=0===this.values[a]?0:-this.values[a];return Es(this,{values:u},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(u){if(!this.isValid||!u.isValid||!this.loc.equals(u.loc))return!1;function a(f,k){return void 0===f||0===f?void 0===k||0===k:f===k}for(const f of Mo)if(!a(this.values[f],u.values[f]))return!1;return!0}}const sa="Invalid Interval";class yo{constructor(u){this.s=u.start,this.e=u.end,this.invalid=u.invalid||null,this.isLuxonInterval=!0}static invalid(u,a=null){if(!u)throw new V("need to specify a reason the Interval is invalid");const f=u instanceof or?u:new or(u,a);if(vn.throwOnInvalid)throw new Ki(f);return new yo({invalid:f})}static fromDateTimes(u,a){const f=_s(u),k=_s(a),oe=function su(h,u){return h&&h.isValid?u&&u.isValid?u<h?yo.invalid("end before start",`The end of an interval must be after its start, but you had start=${h.toISO()} and end=${u.toISO()}`):null:yo.invalid("missing or invalid end"):yo.invalid("missing or invalid start")}(f,k);return oe??new yo({start:f,end:k})}static after(u,a){const f=Fn.fromDurationLike(a),k=_s(u);return yo.fromDateTimes(k,k.plus(f))}static before(u,a){const f=Fn.fromDurationLike(a),k=_s(u);return yo.fromDateTimes(k.minus(f),k)}static fromISO(u,a){const[f,k]=(u||"").split("/",2);if(f&&k){let oe,Je,Tt,Qt;try{oe=zi.fromISO(f,a),Je=oe.isValid}catch{Je=!1}try{Tt=zi.fromISO(k,a),Qt=Tt.isValid}catch{Qt=!1}if(Je&&Qt)return yo.fromDateTimes(oe,Tt);if(Je){const mi=Fn.fromISO(k,a);if(mi.isValid)return yo.after(oe,mi)}else if(Qt){const mi=Fn.fromISO(f,a);if(mi.isValid)return yo.before(Tt,mi)}}return yo.invalid("unparsable",`the input "${u}" can't be parsed as ISO 8601`)}static isInterval(u){return u&&u.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(u="milliseconds"){return this.isValid?this.toDuration(u).get(u):NaN}count(u="milliseconds",a){if(!this.isValid)return NaN;const f=this.start.startOf(u,a);let k;return k=a?.useLocaleWeeks?this.end.reconfigure({locale:f.locale}):this.end,k=k.startOf(u,a),Math.floor(k.diff(f,u).get(u))+(k.valueOf()!==this.end.valueOf())}hasSame(u){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,u))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(u){return!!this.isValid&&this.s>u}isBefore(u){return!!this.isValid&&this.e<=u}contains(u){return!!this.isValid&&this.s<=u&&this.e>u}set({start:u,end:a}={}){return this.isValid?yo.fromDateTimes(u||this.s,a||this.e):this}splitAt(...u){if(!this.isValid)return[];const a=u.map(_s).filter(Je=>this.contains(Je)).sort((Je,Tt)=>Je.toMillis()-Tt.toMillis()),f=[];let{s:k}=this,oe=0;for(;k<this.e;){const Je=a[oe]||this.e,Tt=+Je>+this.e?this.e:Je;f.push(yo.fromDateTimes(k,Tt)),k=Tt,oe+=1}return f}splitBy(u){const a=Fn.fromDurationLike(u);if(!this.isValid||!a.isValid||0===a.as("milliseconds"))return[];let oe,{s:f}=this,k=1;const Je=[];for(;f<this.e;){const Tt=this.start.plus(a.mapUnits(Qt=>Qt*k));oe=+Tt>+this.e?this.e:Tt,Je.push(yo.fromDateTimes(f,oe)),f=oe,k+=1}return Je}divideEqually(u){return this.isValid?this.splitBy(this.length()/u).slice(0,u):[]}overlaps(u){return this.e>u.s&&this.s<u.e}abutsStart(u){return!!this.isValid&&+this.e==+u.s}abutsEnd(u){return!!this.isValid&&+u.e==+this.s}engulfs(u){return!!this.isValid&&this.s<=u.s&&this.e>=u.e}equals(u){return!(!this.isValid||!u.isValid)&&this.s.equals(u.s)&&this.e.equals(u.e)}intersection(u){if(!this.isValid)return this;const a=this.s>u.s?this.s:u.s,f=this.e<u.e?this.e:u.e;return a>=f?null:yo.fromDateTimes(a,f)}union(u){return this.isValid?yo.fromDateTimes(this.s<u.s?this.s:u.s,this.e>u.e?this.e:u.e):this}static merge(u){const[a,f]=u.sort((k,oe)=>k.s-oe.s).reduce(([k,oe],Je)=>oe?oe.overlaps(Je)||oe.abutsStart(Je)?[k,oe.union(Je)]:[k.concat([oe]),Je]:[k,Je],[[],null]);return f&&a.push(f),a}static xor(u){let a=null,f=0;const k=[],oe=u.map(Qt=>[{time:Qt.s,type:"s"},{time:Qt.e,type:"e"}]),Tt=Array.prototype.concat(...oe).sort((Qt,mi)=>Qt.time-mi.time);for(const Qt of Tt)f+="s"===Qt.type?1:-1,1===f?a=Qt.time:(a&&+a!=+Qt.time&&k.push(yo.fromDateTimes(a,Qt.time)),a=null);return yo.merge(k)}difference(...u){return yo.xor([this].concat(u)).map(a=>this.intersection(a)).filter(a=>a&&!a.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} \u2013 ${this.e.toISO()})`:sa}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(u=ni,a={}){return this.isValid?vo.create(this.s.loc.clone(a),u).formatInterval(this):sa}toISO(u){return this.isValid?`${this.s.toISO(u)}/${this.e.toISO(u)}`:sa}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:sa}toISOTime(u){return this.isValid?`${this.s.toISOTime(u)}/${this.e.toISOTime(u)}`:sa}toFormat(u,{separator:a=" \u2013 "}={}){return this.isValid?`${this.s.toFormat(u)}${a}${this.e.toFormat(u)}`:sa}toDuration(u,a){return this.isValid?this.e.diff(this.s,u,a):Fn.invalid(this.invalidReason)}mapEndpoints(u){return yo.fromDateTimes(u(this.s),u(this.e))}}class Ca{static hasDST(u=vn.defaultZone){const a=zi.now().setZone(u).set({month:12});return!u.isUniversal&&a.offset!==a.set({month:6}).offset}static isValidIANAZone(u){return E.isValidZone(u)}static normalizeZone(u){return en(u,vn.defaultZone)}static getStartOfWeek({locale:u=null,locObj:a=null}={}){return(a||Kt.create(u)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:u=null,locObj:a=null}={}){return(a||Kt.create(u)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:u=null,locObj:a=null}={}){return(a||Kt.create(u)).getWeekendDays().slice()}static months(u="long",{locale:a=null,numberingSystem:f=null,locObj:k=null,outputCalendar:oe="gregory"}={}){return(k||Kt.create(a,f,oe)).months(u)}static monthsFormat(u="long",{locale:a=null,numberingSystem:f=null,locObj:k=null,outputCalendar:oe="gregory"}={}){return(k||Kt.create(a,f,oe)).months(u,!0)}static weekdays(u="long",{locale:a=null,numberingSystem:f=null,locObj:k=null}={}){return(k||Kt.create(a,f,null)).weekdays(u)}static weekdaysFormat(u="long",{locale:a=null,numberingSystem:f=null,locObj:k=null}={}){return(k||Kt.create(a,f,null)).weekdays(u,!0)}static meridiems({locale:u=null}={}){return Kt.create(u).meridiems()}static eras(u="short",{locale:a=null}={}){return Kt.create(a,null,"gregory").eras(u)}static features(){return{relative:ea(),localeWeek:as()}}}function zc(h,u){const a=k=>k.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),f=a(u)-a(h);return Math.floor(Fn.fromMillis(f).as("days"))}function In(h,u=(a=>a)){return{regex:h,deser:([a])=>u(function Oi(h){let u=parseInt(h,10);if(isNaN(u)){u="";for(let a=0;a<h.length;a++){const f=h.charCodeAt(a);if(-1!==h[a].search(an.hanidec))u+=fi.indexOf(h[a]);else for(const k in Zn){const[oe,Je]=Zn[k];f>=oe&&f<=Je&&(u+=f-oe)}}return parseInt(u,10)}return u}(a))}}const Uc=`[ ${String.fromCharCode(160)}]`,fl=new RegExp(Uc,"g");function Wl(h){return h.replace(/\./g,"\\.?").replace(fl,Uc)}function Kl(h){return h.replace(/\./g,"").replace(fl," ").toLowerCase()}function pr(h,u){return null===h?null:{regex:RegExp(h.map(Wl).join("|")),deser:([a])=>h.findIndex(f=>Kl(a)===Kl(f))+u}}function gl(h,u){return{regex:h,deser:([,a,f])=>Ha(a,f),groups:u}}function $a(h){return{regex:h,deser:([u])=>u}}function lu(h){return h.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}const cu={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Jl=null;function ql(h,u){return Array.prototype.concat(...h.map(a=>function Xl(h,u){if(h.literal)return h;const f=ec(vo.macroTokenToFormatOpts(h.val),u);return null==f||f.includes(void 0)?h:f}(a,u)))}class _l{constructor(u,a){if(this.locale=u,this.format=a,this.tokens=ql(vo.parseFormat(a),u),this.units=this.tokens.map(f=>function Ql(h,u){const a=bn(u),f=bn(u,"{2}"),k=bn(u,"{3}"),oe=bn(u,"{4}"),Je=bn(u,"{6}"),Tt=bn(u,"{1,2}"),Qt=bn(u,"{1,3}"),mi=bn(u,"{1,6}"),Ri=bn(u,"{1,9}"),hn=bn(u,"{2,4}"),so=bn(u,"{4,6}"),Bi=Qn=>({regex:RegExp(lu(Qn.val)),deser:([po])=>po,literal:!0}),mo=(Qn=>{if(h.literal)return Bi(Qn);switch(Qn.val){case"G":return pr(u.eras("short"),0);case"GG":return pr(u.eras("long"),0);case"y":return In(mi);case"yy":case"kk":return In(hn,Ds);case"yyyy":case"kkkk":return In(oe);case"yyyyy":return In(so);case"yyyyyy":return In(Je);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return In(Tt);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return In(f);case"MMM":return pr(u.months("short",!0),1);case"MMMM":return pr(u.months("long",!0),1);case"LLL":return pr(u.months("short",!1),1);case"LLLL":return pr(u.months("long",!1),1);case"o":case"S":return In(Qt);case"ooo":case"SSS":return In(k);case"u":return $a(Ri);case"uu":return $a(Tt);case"uuu":case"E":case"c":return In(a);case"a":return pr(u.meridiems(),0);case"EEE":return pr(u.weekdays("short",!1),1);case"EEEE":return pr(u.weekdays("long",!1),1);case"ccc":return pr(u.weekdays("short",!0),1);case"cccc":return pr(u.weekdays("long",!0),1);case"Z":case"ZZ":return gl(new RegExp(`([+-]${Tt.source})(?::(${f.source}))?`),2);case"ZZZ":return gl(new RegExp(`([+-]${Tt.source})(${f.source})?`),2);case"z":return $a(/[a-z_+-/]{1,256}?/i);case" ":return $a(/[^\S\n\r]/);default:return Bi(Qn)}})(h)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return mo.token=h,mo}(f,u)),this.disqualifyingUnit=this.units.find(f=>f.invalidReason),!this.disqualifyingUnit){const[f,k]=function uu(h){return[`^${h.map(a=>a.regex).reduce((a,f)=>`${a}(${f.source})`,"")}$`,h]}(this.units);this.regex=RegExp(f,"i"),this.handlers=k}}explainFromTokens(u){if(this.isValid){const[a,f]=function hu(h,u,a){const f=h.match(u);if(f){const k={};let oe=1;for(const Je in a)if(Zr(a,Je)){const Tt=a[Je],Qt=Tt.groups?Tt.groups+1:1;!Tt.literal&&Tt.token&&(k[Tt.token.val[0]]=Tt.deser(f.slice(oe,oe+Qt))),oe+=Qt}return[f,k]}return[f,{}]}(u,this.regex,this.handlers),[k,oe,Je]=f?function mu(h){let f,a=null;return Xi(h.z)||(a=E.create(h.z)),Xi(h.Z)||(a||(a=new sn(h.Z)),f=h.Z),Xi(h.q)||(h.M=3*(h.q-1)+1),Xi(h.h)||(h.h<12&&1===h.a?h.h+=12:12===h.h&&0===h.a&&(h.h=0)),0===h.G&&h.y&&(h.y=-h.y),Xi(h.u)||(h.S=Nn(h.u)),[Object.keys(h).reduce((oe,Je)=>{const Tt=(oe=>{switch(oe){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(Je);return Tt&&(oe[Tt]=h[Je]),oe},{}),a,f]}(f):[null,null,void 0];if(Zr(f,"a")&&Zr(f,"H"))throw new ee("Can't include meridiem when specifying 24-hour format");return{input:u,tokens:this.tokens,regex:this.regex,rawMatches:a,matches:f,result:k,zone:oe,specificOffset:Je}}return{input:u,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Yc(h,u,a){return new _l(h,a).explainFromTokens(u)}function ec(h,u){if(!h)return null;const f=vo.create(u,h).dtFormatter(function Ss(){return Jl||(Jl=zi.fromMillis(1555555555555)),Jl}()),k=f.formatToParts(),oe=f.resolvedOptions();return k.map(Je=>function du(h,u,a){const{type:f,value:k}=h;if("literal"===f){const Qt=/^\s+$/.test(k);return{literal:!Qt,val:Qt?" ":k}}let Je=f;"hour"===f&&(Je=null!=u.hour12?u.hour12?"hour12":"hour24":null!=u.hourCycle?"h11"===u.hourCycle||"h12"===u.hourCycle?"hour12":"hour24":a.hour12?"hour12":"hour24");let Tt=cu[Je];if("object"==typeof Tt&&(Tt=Tt[u[f]]),Tt)return{literal:!1,val:Tt}}(Je,h,oe))}const bl="Invalid DateTime",Ys=864e13;function ds(h){return new or("unsupported zone",`the zone "${h.name}" is not supported`)}function Da(h){return null===h.weekData&&(h.weekData=xs(h.c)),h.weekData}function tc(h){return null===h.localWeekData&&(h.localWeekData=xs(h.c,h.loc.getMinDaysInFirstWeek(),h.loc.getStartOfWeek())),h.localWeekData}function Ma(h,u){const a={ts:h.ts,zone:h.zone,c:h.c,o:h.o,loc:h.loc,invalid:h.invalid};return new zi({...a,...u,old:a})}function gs(h,u,a){let f=h-60*u*1e3;const k=a.offset(f);if(u===k)return[f,u];f-=60*(k-u)*1e3;const oe=a.offset(f);return k===oe?[f,k]:[h-60*Math.min(k,oe)*1e3,Math.max(k,oe)]}function vl(h,u){const a=new Date(h+=60*u*1e3);return{year:a.getUTCFullYear(),month:a.getUTCMonth()+1,day:a.getUTCDate(),hour:a.getUTCHours(),minute:a.getUTCMinutes(),second:a.getUTCSeconds(),millisecond:a.getUTCMilliseconds()}}function Za(h,u,a){return gs(ln(h),u,a)}function ic(h,u){const a=h.o,f=h.c.year+Math.trunc(u.years),k=h.c.month+Math.trunc(u.months)+3*Math.trunc(u.quarters),oe={...h.c,year:f,month:k,day:Math.min(h.c.day,dl(f,k))+Math.trunc(u.days)+7*Math.trunc(u.weeks)},Je=Fn.fromObject({years:u.years-Math.trunc(u.years),quarters:u.quarters-Math.trunc(u.quarters),months:u.months-Math.trunc(u.months),weeks:u.weeks-Math.trunc(u.weeks),days:u.days-Math.trunc(u.days),hours:u.hours,minutes:u.minutes,seconds:u.seconds,milliseconds:u.milliseconds}).as("milliseconds"),Tt=ln(oe);let[Qt,mi]=gs(Tt,a,h.zone);return 0!==Je&&(Qt+=Je,mi=h.zone.offset(Qt)),{ts:Qt,o:mi}}function aa(h,u,a,f,k,oe){const{setZone:Je,zone:Tt}=a;if(h&&0!==Object.keys(h).length||u){const Qt=u||Tt,mi=zi.fromObject(h,{...a,zone:Qt,specificOffset:oe});return Je?mi:mi.setZone(Tt)}return zi.invalid(new or("unparsable",`the input "${k}" can't be parsed as ${f}`))}function Ta(h,u,a=!0){return h.isValid?vo.create(Kt.create("en-US"),{allowZ:a,forceSimple:!0}).formatDateTimeFromString(h,u):null}function yl(h,u){const a=h.c.year>9999||h.c.year<0;let f="";return a&&h.c.year>=0&&(f+="+"),f+=ro(h.c.year,a?6:4),u?(f+="-",f+=ro(h.c.month),f+="-",f+=ro(h.c.day)):(f+=ro(h.c.month),f+=ro(h.c.day)),f}function Wa(h,u,a,f,k,oe){let Je=ro(h.c.hour);return u?(Je+=":",Je+=ro(h.c.minute),(0!==h.c.millisecond||0!==h.c.second||!a)&&(Je+=":")):Je+=ro(h.c.minute),(0!==h.c.millisecond||0!==h.c.second||!a)&&(Je+=ro(h.c.second),(0!==h.c.millisecond||!f)&&(Je+=".",Je+=ro(h.c.millisecond,3))),k&&(h.isOffsetFixed&&0===h.offset&&!oe?Je+="Z":h.o<0?(Je+="-",Je+=ro(Math.trunc(-h.o/60)),Je+=":",Je+=ro(Math.trunc(-h.o%60))):(Je+="+",Je+=ro(Math.trunc(h.o/60)),Je+=":",Je+=ro(Math.trunc(h.o%60)))),oe&&(Je+="["+h.zone.ianaName+"]"),Je}const Ka={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Gc={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},nc={ordinal:1,hour:0,minute:0,second:0,millisecond:0},xl=["year","month","day","hour","minute","second","millisecond"],wl=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Qa=["year","ordinal","hour","minute","second","millisecond"];function Cl(h){switch(h.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function fu(h){const u={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[h.toLowerCase()];if(!u)throw new Q(h);return u}(h)}}function jc(h,u){const a=en(u.zone,vn.defaultZone);if(!a.isValid)return zi.invalid(ds(a));const f=Kt.fromObject(u);let k,oe;if(Xi(h.year))k=vn.now();else{for(const Qt of xl)Xi(h[Qt])&&(h[Qt]=Ka[Qt]);const Je=rs(h)||qs(h);if(Je)return zi.invalid(Je);const Tt=function gu(h){return la[h]||(void 0===Ja&&(Ja=vn.now()),la[h]=h.offset(Ja)),la[h]}(a);[k,oe]=Za(h,Tt,a)}return new zi({ts:k,zone:a,loc:f,o:oe})}function $c(h,u,a){const f=!!Xi(a.round)||a.round,k=(Je,Tt)=>(Je=Bl(Je,f||a.calendary?0:2,!0),u.loc.clone(a).relFormatter(a).format(Je,Tt)),oe=Je=>a.calendary?u.hasSame(h,Je)?0:u.startOf(Je).diff(h.startOf(Je),Je).get(Je):u.diff(h,Je).get(Je);if(a.unit)return k(oe(a.unit),a.unit);for(const Je of a.units){const Tt=oe(Je);if(Math.abs(Tt)>=1)return k(Tt,Je)}return k(h>u?-0:0,a.units[a.units.length-1])}function oc(h){let a,u={};return h.length>0&&"object"==typeof h[h.length-1]?(u=h[h.length-1],a=Array.from(h).slice(0,h.length-1)):a=Array.from(h),[u,a]}let Ja,la={};class zi{constructor(u){const a=u.zone||vn.defaultZone;let f=u.invalid||(Number.isNaN(u.ts)?new or("invalid input"):null)||(a.isValid?null:ds(a));this.ts=Xi(u.ts)?vn.now():u.ts;let k=null,oe=null;if(!f)if(u.old&&u.old.ts===this.ts&&u.old.zone.equals(a))[k,oe]=[u.old.c,u.old.o];else{const Tt=go(u.o)&&!u.old?u.o:a.offset(this.ts);k=vl(this.ts,Tt),f=Number.isNaN(k.year)?new or("invalid input"):null,k=f?null:k,oe=f?null:Tt}this._zone=a,this.loc=u.loc||Kt.create(),this.invalid=f,this.weekData=null,this.localWeekData=null,this.c=k,this.o=oe,this.isLuxonDateTime=!0}static now(){return new zi({})}static local(){const[u,a]=oc(arguments),[f,k,oe,Je,Tt,Qt,mi]=a;return jc({year:f,month:k,day:oe,hour:Je,minute:Tt,second:Qt,millisecond:mi},u)}static utc(){const[u,a]=oc(arguments),[f,k,oe,Je,Tt,Qt,mi]=a;return u.zone=sn.utcInstance,jc({year:f,month:k,day:oe,hour:Je,minute:Tt,second:Qt,millisecond:mi},u)}static fromJSDate(u,a={}){const f=function ss(h){return"[object Date]"===Object.prototype.toString.call(h)}(u)?u.valueOf():NaN;if(Number.isNaN(f))return zi.invalid("invalid input");const k=en(a.zone,vn.defaultZone);return k.isValid?new zi({ts:f,zone:k,loc:Kt.fromObject(a)}):zi.invalid(ds(k))}static fromMillis(u,a={}){if(go(u))return u<-Ys||u>Ys?zi.invalid("Timestamp out of range"):new zi({ts:u,zone:en(a.zone,vn.defaultZone),loc:Kt.fromObject(a)});throw new V(`fromMillis requires a numerical input, but received a ${typeof u} with value ${u}`)}static fromSeconds(u,a={}){if(go(u))return new zi({ts:1e3*u,zone:en(a.zone,vn.defaultZone),loc:Kt.fromObject(a)});throw new V("fromSeconds requires a numerical input")}static fromObject(u,a={}){u=u||{};const f=en(a.zone,vn.defaultZone);if(!f.isValid)return zi.invalid(ds(f));const k=Kt.fromObject(a),oe=na(u,Cl),{minDaysInFirstWeek:Je,startOfWeek:Tt}=Ns(oe,k),Qt=vn.now(),mi=Xi(a.specificOffset)?f.offset(Qt):a.specificOffset,Ri=!Xi(oe.ordinal),hn=!Xi(oe.year),so=!Xi(oe.month)||!Xi(oe.day),Bi=hn||so,qi=oe.weekYear||oe.weekNumber;if((Bi||Ri)&&qi)throw new ee("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(so&&Ri)throw new ee("Can't mix ordinal dates with month/day");const mo=qi||oe.weekday&&!Bi;let Qn,po,Ui=vl(Qt,mi);mo?(Qn=wl,po=Gc,Ui=xs(Ui,Je,Tt)):Ri?(Qn=Qa,po=nc,Ui=Ls(Ui)):(Qn=xl,po=Ka);let sr=!1;for(const sl of Qn)Xi(oe[sl])?oe[sl]=sr?po[sl]:Ui[sl]:sr=!0;const rl=mo?function Nl(h,u=4,a=1){const f=$r(h.weekYear),k=rr(h.weekNumber,1,jo(h.weekYear,u,a)),oe=rr(h.weekday,1,7);return f?k?!oe&&hr("weekday",h.weekday):hr("week",h.weekNumber):hr("weekYear",h.weekYear)}(oe,Je,Tt):Ri?function _a(h){const u=$r(h.year),a=rr(h.ordinal,1,va(h.year));return u?!a&&hr("ordinal",h.ordinal):hr("year",h.year)}(oe):rs(oe),Oa=rl||qs(oe);if(Oa)return zi.invalid(Oa);const bc=mo?Fs(oe,Je,Tt):Ri?Va(oe):oe,[vc,Pl]=Za(bc,mi,f),da=new zi({ts:vc,zone:f,o:Pl,loc:k});return oe.weekday&&Bi&&u.weekday!==da.weekday?zi.invalid("mismatched weekday",`you can't specify both a weekday of ${oe.weekday} and a date of ${da.toISO()}`):da.isValid?da:zi.invalid(da.invalid)}static fromISO(u,a={}){const[f,k]=function fs(h){return Ua(h,[ph,pl],[fh,Oc],[qd,Rc],[Ic,Pc])}(u);return aa(f,k,a,"ISO 8601",u)}static fromRFC2822(u,a={}){const[f,k]=function eu(h){return Ua(function dh(h){return h.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(h),[Jd,Ul])}(u);return aa(f,k,a,"RFC 2822",u)}static fromHTTP(u,a={}){const[f,k]=function tu(h){return Ua(h,[uh,Xd],[ml,Xd],[hh,mh])}(u);return aa(f,k,a,"HTTP",a)}static fromFormat(u,a,f={}){if(Xi(u)||Xi(a))throw new V("fromFormat requires an input string and a format");const{locale:k=null,numberingSystem:oe=null}=f,Je=Kt.fromOpts({locale:k,numberingSystem:oe,defaultToEN:!0}),[Tt,Qt,mi,Ri]=function pu(h,u,a){const{result:f,zone:k,specificOffset:oe,invalidReason:Je}=Yc(h,u,a);return[f,k,oe,Je]}(Je,u,a);return Ri?zi.invalid(Ri):aa(Tt,Qt,f,`format ${a}`,u,mi)}static fromString(u,a,f={}){return zi.fromFormat(u,a,f)}static fromSQL(u,a={}){const[f,k]=function Lc(h){return Ua(h,[nu,pl],[ou,ru])}(u);return aa(f,k,a,"SQL",u)}static invalid(u,a=null){if(!u)throw new V("need to specify a reason the DateTime is invalid");const f=u instanceof or?u:new or(u,a);if(vn.throwOnInvalid)throw new ts(f);return new zi({invalid:f})}static isDateTime(u){return u&&u.isLuxonDateTime||!1}static parseFormatForOpts(u,a={}){const f=ec(u,Kt.fromObject(a));return f?f.map(k=>k?k.val:null).join(""):null}static expandFormat(u,a={}){return ql(vo.parseFormat(u),Kt.fromObject(a)).map(k=>k.val).join("")}static resetCache(){Ja=void 0,la={}}get(u){return this[u]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Da(this).weekYear:NaN}get weekNumber(){return this.isValid?Da(this).weekNumber:NaN}get weekday(){return this.isValid?Da(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?tc(this).weekday:NaN}get localWeekNumber(){return this.isValid?tc(this).weekNumber:NaN}get localWeekYear(){return this.isValid?tc(this).weekYear:NaN}get ordinal(){return this.isValid?Ls(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ca.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ca.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ca.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ca.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const u=864e5,a=6e4,f=ln(this.c),k=this.zone.offset(f-u),oe=this.zone.offset(f+u),Je=this.zone.offset(f-k*a),Tt=this.zone.offset(f-oe*a);if(Je===Tt)return[this];const Qt=f-Je*a,mi=f-Tt*a,Ri=vl(Qt,Je),hn=vl(mi,Tt);return Ri.hour===hn.hour&&Ri.minute===hn.minute&&Ri.second===hn.second&&Ri.millisecond===hn.millisecond?[Ma(this,{ts:Qt}),Ma(this,{ts:mi})]:[this]}get isInLeapYear(){return cl(this.year)}get daysInMonth(){return dl(this.year,this.month)}get daysInYear(){return this.isValid?va(this.year):NaN}get weeksInWeekYear(){return this.isValid?jo(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?jo(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(u={}){const{locale:a,numberingSystem:f,calendar:k}=vo.create(this.loc.clone(u),u).resolvedOptions(this);return{locale:a,numberingSystem:f,outputCalendar:k}}toUTC(u=0,a={}){return this.setZone(sn.instance(u),a)}toLocal(){return this.setZone(vn.defaultZone)}setZone(u,{keepLocalTime:a=!1,keepCalendarTime:f=!1}={}){if((u=en(u,vn.defaultZone)).equals(this.zone))return this;if(u.isValid){let k=this.ts;if(a||f){const oe=u.offset(this.ts),Je=this.toObject();[k]=Za(Je,oe,u)}return Ma(this,{ts:k,zone:u})}return zi.invalid(ds(u))}reconfigure({locale:u,numberingSystem:a,outputCalendar:f}={}){return Ma(this,{loc:this.loc.clone({locale:u,numberingSystem:a,outputCalendar:f})})}setLocale(u){return this.reconfigure({locale:u})}set(u){if(!this.isValid)return this;const a=na(u,Cl),{minDaysInFirstWeek:f,startOfWeek:k}=Ns(a,this.loc),oe=!Xi(a.weekYear)||!Xi(a.weekNumber)||!Xi(a.weekday),Je=!Xi(a.ordinal),Tt=!Xi(a.year),Qt=!Xi(a.month)||!Xi(a.day);if((Tt||Qt||Je)&&(a.weekYear||a.weekNumber))throw new ee("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(Qt&&Je)throw new ee("Can't mix ordinal dates with month/day");let hn;oe?hn=Fs({...xs(this.c,f,k),...a},f,k):Xi(a.ordinal)?(hn={...this.toObject(),...a},Xi(a.day)&&(hn.day=Math.min(dl(hn.year,hn.month),hn.day))):hn=Va({...Ls(this.c),...a});const[so,Bi]=Za(hn,this.o,this.zone);return Ma(this,{ts:so,o:Bi})}plus(u){return this.isValid?Ma(this,ic(this,Fn.fromDurationLike(u))):this}minus(u){return this.isValid?Ma(this,ic(this,Fn.fromDurationLike(u).negate())):this}startOf(u,{useLocaleWeeks:a=!1}={}){if(!this.isValid)return this;const f={},k=Fn.normalizeUnit(u);switch(k){case"years":f.month=1;case"quarters":case"months":f.day=1;case"weeks":case"days":f.hour=0;case"hours":f.minute=0;case"minutes":f.second=0;case"seconds":f.millisecond=0}if("weeks"===k)if(a){const oe=this.loc.getStartOfWeek(),{weekday:Je}=this;Je<oe&&(f.weekNumber=this.weekNumber-1),f.weekday=oe}else f.weekday=1;if("quarters"===k){const oe=Math.ceil(this.month/3);f.month=3*(oe-1)+1}return this.set(f)}endOf(u,a){return this.isValid?this.plus({[u]:1}).startOf(u,a).minus(1):this}toFormat(u,a={}){return this.isValid?vo.create(this.loc.redefaultToEN(a)).formatDateTimeFromString(this,u):bl}toLocaleString(u=ni,a={}){return this.isValid?vo.create(this.loc.clone(a),u).formatDateTime(this):bl}toLocaleParts(u={}){return this.isValid?vo.create(this.loc.clone(u),u).formatDateTimeParts(this):[]}toISO({format:u="extended",suppressSeconds:a=!1,suppressMilliseconds:f=!1,includeOffset:k=!0,extendedZone:oe=!1}={}){if(!this.isValid)return null;const Je="extended"===u;let Tt=yl(this,Je);return Tt+="T",Tt+=Wa(this,Je,a,f,k,oe),Tt}toISODate({format:u="extended"}={}){return this.isValid?yl(this,"extended"===u):null}toISOWeekDate(){return Ta(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:u=!1,suppressSeconds:a=!1,includeOffset:f=!0,includePrefix:k=!1,extendedZone:oe=!1,format:Je="extended"}={}){return this.isValid?(k?"T":"")+Wa(this,"extended"===Je,a,u,f,oe):null}toRFC2822(){return Ta(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Ta(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?yl(this,!0):null}toSQLTime({includeOffset:u=!0,includeZone:a=!1,includeOffsetSpace:f=!0}={}){let k="HH:mm:ss.SSS";return(a||u)&&(f&&(k+=" "),a?k+="z":u&&(k+="ZZ")),Ta(this,k,!0)}toSQL(u={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(u)}`:null}toString(){return this.isValid?this.toISO():bl}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(u={}){if(!this.isValid)return{};const a={...this.c};return u.includeConfig&&(a.outputCalendar=this.outputCalendar,a.numberingSystem=this.loc.numberingSystem,a.locale=this.loc.locale),a}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(u,a="milliseconds",f={}){if(!this.isValid||!u.isValid)return Fn.invalid("created by diffing an invalid DateTime");const k={locale:this.locale,numberingSystem:this.numberingSystem,...f},oe=function ba(h){return Array.isArray(h)?h:[h]}(a).map(Fn.normalizeUnit),Je=u.valueOf()>this.valueOf(),mi=function Zl(h,u,a,f){let[k,oe,Je,Tt]=function $l(h,u,a){const f=[["years",(Qt,mi)=>mi.year-Qt.year],["quarters",(Qt,mi)=>mi.quarter-Qt.quarter+4*(mi.year-Qt.year)],["months",(Qt,mi)=>mi.month-Qt.month+12*(mi.year-Qt.year)],["weeks",(Qt,mi)=>{const Ri=zc(Qt,mi);return(Ri-Ri%7)/7}],["days",zc]],k={},oe=h;let Je,Tt;for(const[Qt,mi]of f)a.indexOf(Qt)>=0&&(Je=Qt,k[Qt]=mi(h,u),Tt=oe.plus(k),Tt>u?(k[Qt]--,(h=oe.plus(k))>u&&(Tt=h,k[Qt]--,h=oe.plus(k))):h=Tt);return[h,k,Tt,Je]}(h,u,a);const Qt=u-k,mi=a.filter(hn=>["hours","minutes","seconds","milliseconds"].indexOf(hn)>=0);0===mi.length&&(Je<u&&(Je=k.plus({[Tt]:1})),Je!==k&&(oe[Tt]=(oe[Tt]||0)+Qt/(Je-k)));const Ri=Fn.fromObject(oe,f);return mi.length>0?Fn.fromMillis(Qt,f).shiftTo(...mi).plus(Ri):Ri}(Je?this:u,Je?u:this,oe,k);return Je?mi.negate():mi}diffNow(u="milliseconds",a={}){return this.diff(zi.now(),u,a)}until(u){return this.isValid?yo.fromDateTimes(this,u):this}hasSame(u,a,f){if(!this.isValid)return!1;const k=u.valueOf(),oe=this.setZone(u.zone,{keepLocalTime:!0});return oe.startOf(a,f)<=k&&k<=oe.endOf(a,f)}equals(u){return this.isValid&&u.isValid&&this.valueOf()===u.valueOf()&&this.zone.equals(u.zone)&&this.loc.equals(u.loc)}toRelative(u={}){if(!this.isValid)return null;const a=u.base||zi.fromObject({},{zone:this.zone}),f=u.padding?this<a?-u.padding:u.padding:0;let k=["years","months","days","hours","minutes","seconds"],oe=u.unit;return Array.isArray(u.unit)&&(k=u.unit,oe=void 0),$c(a,this.plus(f),{...u,numeric:"always",units:k,unit:oe})}toRelativeCalendar(u={}){return this.isValid?$c(u.base||zi.fromObject({},{zone:this.zone}),this,{...u,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...u){if(!u.every(zi.isDateTime))throw new V("min requires all arguments be DateTimes");return ta(u,a=>a.valueOf(),Math.min)}static max(...u){if(!u.every(zi.isDateTime))throw new V("max requires all arguments be DateTimes");return ta(u,a=>a.valueOf(),Math.max)}static fromFormatExplain(u,a,f={}){const{locale:k=null,numberingSystem:oe=null}=f;return Yc(Kt.fromOpts({locale:k,numberingSystem:oe,defaultToEN:!0}),u,a)}static fromStringExplain(u,a,f={}){return zi.fromFormatExplain(u,a,f)}static buildFormatParser(u,a={}){const{locale:f=null,numberingSystem:k=null}=a,oe=Kt.fromOpts({locale:f,numberingSystem:k,defaultToEN:!0});return new _l(oe,u)}static fromFormatParser(u,a,f={}){if(Xi(u)||Xi(a))throw new V("fromFormatParser requires an input string and a format parser");const{locale:k=null,numberingSystem:oe=null}=f,Je=Kt.fromOpts({locale:k,numberingSystem:oe,defaultToEN:!0});if(!Je.equals(a.locale))throw new V(`fromFormatParser called with a locale of ${Je}, but the format parser was created for ${a.locale}`);const{result:Tt,zone:Qt,specificOffset:mi,invalidReason:Ri}=a.explainFromTokens(u);return Ri?zi.invalid(Ri):aa(Tt,Qt,f,`format ${a.format}`,u,mi)}static get DATE_SHORT(){return ni}static get DATE_MED(){return pn}static get DATE_MED_WITH_WEEKDAY(){return Or}static get DATE_FULL(){return is}static get DATE_HUGE(){return eo}static get TIME_SIMPLE(){return bs}static get TIME_WITH_SECONDS(){return Rr}static get TIME_WITH_SHORT_OFFSET(){return nr}static get TIME_WITH_LONG_OFFSET(){return Is}static get TIME_24_SIMPLE(){return Qs}static get TIME_24_WITH_SECONDS(){return Ba}static get TIME_24_WITH_SHORT_OFFSET(){return pa}static get TIME_24_WITH_LONG_OFFSET(){return ms}static get DATETIME_SHORT(){return dn}static get DATETIME_SHORT_WITH_SECONDS(){return Yo}static get DATETIME_MED(){return Yr}static get DATETIME_MED_WITH_SECONDS(){return Pr}static get DATETIME_MED_WITH_WEEKDAY(){return kr}static get DATETIME_FULL(){return ns}static get DATETIME_FULL_WITH_SECONDS(){return Gr}static get DATETIME_HUGE(){return Os}static get DATETIME_HUGE_WITH_SECONDS(){return Js}}function _s(h){if(zi.isDateTime(h))return h;if(h&&h.valueOf&&go(h.valueOf()))return zi.fromJSDate(h);if(h&&"object"==typeof h)return zi.fromObject(h);throw new V(`Unknown datetime argument: ${h}, of type ${typeof h}`)}const Xa=new l.OlP("MAT_LUXON_DATE_ADAPTER_OPTIONS",{providedIn:"root",factory:function bh(){return{useUtc:!1,firstDayOfWeek:0}}});let Dl=(()=>{class h extends b._A{constructor(a,f){super(),this._useUTC=!!f?.useUtc,this._firstDayOfWeek=f?.firstDayOfWeek||0,this.setLocale(a||zi.local().locale)}getYear(a){return a.year}getMonth(a){return a.month-1}getDate(a){return a.day}getDayOfWeek(a){return a.weekday}getMonthNames(a){return Ca.months(a,{locale:this.locale})}getDateNames(){const a=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return function _u(h,u){const a=Array(h);for(let f=0;f<h;f++)a[f]=u(f);return a}(31,f=>a.format(zi.utc(2017,1,f+1).toJSDate()))}getDayOfWeekNames(a){const f=Ca.weekdays(a,{locale:this.locale});return f.unshift(f.pop()),f}getYearName(a){return a.toFormat("yyyy")}getFirstDayOfWeek(){return this._firstDayOfWeek}getNumDaysInMonth(a){return a.daysInMonth}clone(a){return zi.fromObject(a.toObject())}createDate(a,f,k){if(f<0||f>11)throw Error(`Invalid month index "${f}". Month index has to be between 0 and 11.`);if(k<1)throw Error(`Invalid date "${k}". Date has to be greater than 0.`);const oe=this._useUTC?zi.utc(a,f+1,k):zi.local(a,f+1,k);if(!this.isValid(oe))throw Error(`Invalid date "${k}". Reason: "${oe.invalidReason}".`);return oe.setLocale(this.locale)}today(){return(this._useUTC?zi.utc():zi.local()).setLocale(this.locale)}parse(a,f){const k=this._getOptions();if("string"==typeof a&&a.length>0){const oe=zi.fromISO(a,k);if(this.isValid(oe))return oe;const Je=Array.isArray(f)?f:[f];if(!f.length)throw Error("Formats array must not be empty.");for(const Tt of Je){const Qt=zi.fromFormat(a,Tt,k);if(this.isValid(Qt))return Qt}return this.invalid()}return"number"==typeof a?zi.fromMillis(a,k):a instanceof Date?zi.fromJSDate(a,k):a instanceof zi?zi.fromMillis(a.toMillis(),k):null}format(a,f){if(!this.isValid(a))throw Error("LuxonDateAdapter: Cannot format invalid date.");return this._useUTC?a.setLocale(this.locale).setZone("utc").toFormat(f):a.setLocale(this.locale).toFormat(f)}addCalendarYears(a,f){return a.plus({years:f}).setLocale(this.locale)}addCalendarMonths(a,f){return a.plus({months:f}).setLocale(this.locale)}addCalendarDays(a,f){return a.plus({days:f}).setLocale(this.locale)}toIso8601(a){return a.toISO()}deserialize(a){const f=this._getOptions();let k;if(a instanceof Date&&(k=zi.fromJSDate(a,f)),"string"==typeof a){if(!a)return null;k=zi.fromISO(a,f)}return k&&this.isValid(k)?k:super.deserialize(a)}isDateInstance(a){return a instanceof zi}isValid(a){return a.isValid}invalid(){return zi.invalid("Invalid Luxon DateTime object.")}_getOptions(){return{zone:this._useUTC?"utc":void 0,locale:this.locale}}}return h.\u0275fac=function(a){return new(a||h)(l.LFG(b.Ad,8),l.LFG(Xa,8))},h.\u0275prov=l.Yz7({token:h,factory:h.\u0275fac}),h})();const Zc={parse:{dateInput:"D"},display:{dateInput:"D",monthYearLabel:"LLL yyyy",dateA11yLabel:"DD",monthYearA11yLabel:"LLLL yyyy"}};let Wc=(()=>{class h{}return h.\u0275fac=function(a){return new(a||h)},h.\u0275mod=l.oAB({type:h}),h.\u0275inj=l.cJS({providers:[{provide:b._A,useClass:Dl,deps:[b.Ad,Xa]}]}),h})(),Ml=(()=>{class h{}return h.\u0275fac=function(a){return new(a||h)},h.\u0275mod=l.oAB({type:h}),h.\u0275inj=l.cJS({providers:[{provide:b.sG,useValue:Zc}],imports:[Wc]}),h})(),qa=(()=>{const u=class{constructor(f){f.setDefaultFontSetClass("material-symbols-outlined")}};let h=u;return u.\u0275fac=function(k){return new(k||u)(l.LFG(re.jv))},u.\u0275mod=l.oAB({type:u}),u.\u0275inj=l.cJS({providers:[{provide:at.ye,deps:[zo],useFactory:f=>f.getPaginatorIntl()},{provide:yt.Bq,useValue:{...new yt.vA}},{provide:Me.o2,useValue:{appearance:"outline"}},{provide:b.sG,useValue:Zc},{provide:Xa,useValue:{useUtc:!0,firstDayOfWeek:1}},{provide:b._A,useClass:Dl,deps:[b.Ad,Xa]}],imports:[Nt,lt.g,zt.ot,ft.vV,Pt.QW,li.p9,oi.Hi,dt.FA,yt.Is,ve.t,N.To,Me.lN,re.Ps,We.c,Jo,ao.Tx,at.TU,xt.Cv,w.Cq,Dr,b.si,Eo.LD,bi,no,mn.rP,Ur.JX,Ao.T5,Ln.p0,Po.Nh,dr,ir.AV,Ml]}),h})();var Kc=p(4906),rc=p(6455),Qc=p(2445),Gs=p(5717);let Ea=(()=>{class h{}return h.\u0275fac=function(a){return new(a||h)},h.\u0275mod=l.oAB({type:h}),h.\u0275inj=l.cJS({imports:[e.ez,w.Cq,xt.Cv]}),h})();var vu=p(6259),yu=p(1444),xu=p(3495);let Xc=(()=>{const u=class{};let h=u;return u.\u0275fac=function(k){return new(k||u)},u.\u0275mod=l.oAB({type:u}),u.\u0275inj=l.cJS({imports:[Kc.t,rc.l,Qc.Zp,Gs.kp,Ea,vu.R,yu.F3,xu.y6]}),h})();var qc=p(1135),wu=p(9841),sc=p(5963),Cu=p(515),Du=p(4482),Mu=p(5032),ed=p(5403),Sa=p(8421),ka=p(8746);function td(h,u){if(1&h&&l._UZ(0,"div",6),2&h){const a=l.oxw(2);l.Udp("box-shadow","0 0 10px "+a.color+", 0 0 5px "+a.color)}}function id(h,u){if(1&h&&(l.TgZ(0,"div",7),l._UZ(1,"div",8),l.qZA()),2&h){const a=l.oxw(2);l.xp6(1),l.Udp("border-top-color",a.color)("border-left-color",a.color)}}function nd(h,u){if(1&h&&(l.ynx(0),l.TgZ(1,"div",1)(2,"div",2)(3,"div",3),l.YNc(4,td,1,2,"div",4),l.qZA()(),l.YNc(5,id,2,4,"div",5),l.qZA(),l.BQk()),2&h){const a=u.$implicit,f=l.oxw();l.xp6(1),l.Udp("transition","opacity "+f.speed+"ms "+f.ease),l.uIk("active",a.active),l.xp6(2),l.Udp("transform",a.transform)("background-color",f.color)("transition",a.active?"all "+f.speed+"ms "+f.ease:"none"),l.xp6(1),l.Q6J("ngIf",f.meteor),l.xp6(1),l.Q6J("ngIf",f.spinner)}}class wh{constructor(u,a){this._onDestroyCallback=a,this._started=new he.x,this.started=this._started.pipe((0,le.h)(()=>!this.isStarted)),this._completed=new he.x,this.completed=this._completed.pipe((0,le.h)(()=>this.isStarted)),this._trickling=new he.x,this._worker=Be.w0.EMPTY,this._state=new qc.X({active:!1,value:0}),this._config=new qc.X(u),this.state=this._state.asObservable(),this.config=this._config.asObservable(),this._worker=(0,wu.a)([this._trickling,this._config]).pipe(function ks(h){return(0,Du.e)((u,a)=>{let f=!1,k=null,oe=null;const Je=()=>{if(oe?.unsubscribe(),oe=null,f){f=!1;const Tt=k;k=null,a.next(Tt)}};u.subscribe((0,ed.x)(a,Tt=>{oe?.unsubscribe(),f=!0,k=Tt,oe=(0,ed.x)(a,Je,Mu.Z),(0,Sa.Xf)(h(Tt)).subscribe(oe)},()=>{Je(),a.complete()},void 0,()=>{k=oe=null}))})}(([f,k])=>(0,sc.H)(f?k.debounceTime:0)),(0,_e.w)(([f,k])=>f?this.onTrickling(k):this.onComplete(k))).subscribe()}get snapshot(){return this._state.value}get isStarted(){return this.snapshot.active}start(){this._started.next(),this._trickling.next(!0)}complete(){this._trickling.next(!1)}inc(u){const a=this.snapshot.value;this.isStarted?("number"!=typeof u&&(u=this._config.value.trickleFunc(a)),this.set(a+u)):this.start()}set(u){this.setState({value:this.clamp(u),active:!0})}setConfig(u){this._config.next({...this._config.value,...u})}destroy(){this._worker.unsubscribe(),this._trickling.complete(),this._state.complete(),this._config.complete(),this._started.complete(),this._completed.complete(),this._onDestroyCallback()}setState(u){this._state.next({...this.snapshot,...u})}clamp(u){return Math.max(this._config.value.min,Math.min(this._config.value.max,u))}onTrickling(u){return this.isStarted||this.set(this._config.value.min),(0,sc.H)(0,u.trickleSpeed).pipe((0,je.b)(()=>this.inc()))}onComplete(u){return this._completed.next(),this.isStarted?(0,Qe.of)({}).pipe((0,je.b)(()=>this.setState({value:100})),(0,Ke.g)(1.7*u.speed),(0,je.b)(()=>this.setState({active:!1})),(0,Ke.g)(u.speed),(0,ka.x)(()=>this.setState({value:0})),(0,ct.R)(this._started)):Cu.E}}const Tu=new l.OlP("ngProgressConfig"),Eu={min:8,max:100,speed:200,debounceTime:0,trickleSpeed:300,fixed:!0,meteor:!0,thick:!1,spinner:!0,ease:"linear",color:"#1B95E0",direction:"ltr+",spinnerPosition:"right",trickleFunc:h=>h>=0&&h<20?10:h>=20&&h<50?4:h>=50&&h<80?2:h>=80&&h<99?.5:0};let el=(()=>{class h{constructor(a){this._instances=new Map,this.config=a?{...Eu,...a}:Eu}ref(a="root",f){if(this._instances.has(a)){const k=this._instances.get(a);return f&&k.setConfig({...this.config,...f}),k}{const k=new wh({...this.config,...f},this.deleteInstance(a));return this._instances.set(a,k).get(a)}}destroyAll(){this._instances.forEach(a=>a.destroy())}deleteInstance(a){return()=>{this._instances.delete(a)}}}return h.\u0275fac=function(a){return new(a||h)(l.LFG(Tu,8))},h.\u0275prov=l.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})(),ac=(()=>{class h{constructor(a){this._ngProgress=a,this.id="root",this.min=this._ngProgress.config.min,this.max=this._ngProgress.config.max,this.ease=this._ngProgress.config.ease,this.color=this._ngProgress.config.color,this.speed=this._ngProgress.config.speed,this.thick=this._ngProgress.config.thick,this.fixed=this._ngProgress.config.fixed,this.meteor=this._ngProgress.config.meteor,this.spinner=this._ngProgress.config.spinner,this.trickleSpeed=this._ngProgress.config.trickleSpeed,this.debounceTime=this._ngProgress.config.debounceTime,this.trickleFunc=this._ngProgress.config.trickleFunc,this.spinnerPosition=this._ngProgress.config.spinnerPosition,this.direction=this._ngProgress.config.direction,this.started=new l.vpe,this.completed=new l.vpe}get isStarted(){return this.progressRef?.isStarted}ngOnChanges(){this.progressRef?.setConfig({max:this.max>0&&this.max<=100?this.max:100,min:this.min<100&&this.min>=0?this.min:0,speed:this.speed,trickleSpeed:this.trickleSpeed,trickleFunc:this.trickleFunc,debounceTime:this.debounceTime})}ngOnInit(){this.progressRef=this._ngProgress.ref(this.id,{max:this.max,min:this.min,speed:this.speed,trickleSpeed:this.trickleSpeed,debounceTime:this.debounceTime}),this.state$=this.progressRef.state.pipe((0,Se.U)(a=>({active:a.active,transform:`translate3d(${a.value}%,0,0)`}))),this.started.observed&&(this._started=this.progressRef.started.subscribe(()=>this.started.emit())),this.completed.observed&&(this._completed=this.progressRef.completed.subscribe(()=>this.completed.emit()))}ngOnDestroy(){this._started?.unsubscribe(),this._completed?.unsubscribe(),this.progressRef?.destroy()}start(){this.progressRef.start()}complete(){this.progressRef.complete()}inc(a){this.progressRef.inc(a)}set(a){this.progressRef.set(a)}}return h.\u0275fac=function(a){return new(a||h)(l.Y36(el))},h.\u0275cmp=l.Xpm({type:h,selectors:[["ng-progress"]],hostAttrs:["role","progressbar"],hostVars:4,hostBindings:function(a,f){2&a&&l.uIk("spinnerPosition",f.spinnerPosition)("direction",f.direction)("thick",f.thick)("fixed",f.fixed)},inputs:{id:"id",min:"min",max:"max",ease:"ease",color:"color",speed:"speed",thick:"thick",fixed:"fixed",meteor:"meteor",spinner:"spinner",trickleSpeed:"trickleSpeed",debounceTime:"debounceTime",trickleFunc:"trickleFunc",spinnerPosition:"spinnerPosition",direction:"direction"},outputs:{started:"started",completed:"completed"},features:[l.TTD],decls:2,vars:3,consts:[[4,"ngIf"],[1,"ng-progress-bar"],[1,"ng-bar-placeholder"],[1,"ng-bar"],["class","ng-meteor",3,"boxShadow",4,"ngIf"],["class","ng-spinner",4,"ngIf"],[1,"ng-meteor"],[1,"ng-spinner"],[1,"ng-spinner-icon"]],template:function(a,f){1&a&&(l.YNc(0,nd,6,11,"ng-container",0),l.ALo(1,"async")),2&a&&l.Q6J("ngIf",l.lcZ(1,1,f.state$))},dependencies:[e.O5,e.Ov],styles:['[_nghost-%COMP%]{z-index:999999;pointer-events:none}[fixed=true][_nghost-%COMP%]   .ng-progress-bar[_ngcontent-%COMP%], [fixed=true][_nghost-%COMP%]   .ng-spinner[_ngcontent-%COMP%]{position:fixed}[fixed=true][_nghost-%COMP%]   .ng-spinner[_ngcontent-%COMP%]{top:15px}[fixed=true][spinnerPosition=left][_nghost-%COMP%]   .ng-spinner[_ngcontent-%COMP%]{left:15px}[fixed=true][spinnerPosition=right][_nghost-%COMP%]   .ng-spinner[_ngcontent-%COMP%]{right:15px}[thick=true][_nghost-%COMP%]   .ng-spinner-icon[_ngcontent-%COMP%]{width:24px;height:24px;border-width:3px}[thick=true][_nghost-%COMP%]   .ng-bar-placeholder[_ngcontent-%COMP%]{height:3px!important}[direction="ltr+"][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%], [direction=ltr-][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%]{transform:rotate(3deg)}[direction="ltr+"][thick=true][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%], [direction=ltr-][thick=true][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%]{transform:rotate(4deg)}[direction="ltr+"][_nghost-%COMP%]   .ng-bar[_ngcontent-%COMP%], [direction="rtl+"][_nghost-%COMP%]   .ng-bar[_ngcontent-%COMP%]{margin-left:-100%}[direction="ltr+"][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%], [direction="rtl+"][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%]{right:0}[direction="ltr+"][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%], [direction=rtl-][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%]{top:-3px}[direction="ltr+"][thick=true][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%], [direction=rtl-][thick=true][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%]{top:-4px}[direction=ltr-][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%], [direction="rtl+"][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%]{bottom:-3px}[direction=ltr-][thick=true][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%], [direction="rtl+"][thick=true][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%]{bottom:-4px}[direction=ltr-][_nghost-%COMP%]   .ng-bar-placeholder[_ngcontent-%COMP%], [direction="rtl+"][_nghost-%COMP%]   .ng-bar-placeholder[_ngcontent-%COMP%]{transform:rotate(180deg)}[direction=ltr-][_nghost-%COMP%]   .ng-spinner-icon[_ngcontent-%COMP%], [direction="rtl+"][_nghost-%COMP%]   .ng-spinner-icon[_ngcontent-%COMP%]{animation-directionection:reverse}[direction="rtl+"][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%], [direction=rtl-][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%]{transform:rotate(-3deg)}[direction="rtl+"][thick=true][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%], [direction=rtl-][thick=true][_nghost-%COMP%]   .ng-meteor[_ngcontent-%COMP%]{transform:rotate(-4deg)}[spinnerPosition=left][_nghost-%COMP%]   .ng-spinner[_ngcontent-%COMP%]{left:10px}[spinnerPosition=right][_nghost-%COMP%]   .ng-spinner[_ngcontent-%COMP%]{right:10px}.ng-progress-bar[_ngcontent-%COMP%]{position:relative;z-index:999999;top:0;left:0;width:100%;transform:scale(1);filter:alpha(opacity=0);opacity:0}.ng-progress-bar[active=true][_ngcontent-%COMP%]{filter:alpha(opacity=100);opacity:1;transition:none}.ng-bar-placeholder[_ngcontent-%COMP%]{position:absolute;height:2px;width:100%}.ng-bar[_ngcontent-%COMP%]{width:100%;height:100%;transform:translate(-100%,0,0)}.ng-meteor[_ngcontent-%COMP%]{display:block;position:absolute;width:100px;height:100%;opacity:1}.ng-spinner[_ngcontent-%COMP%]{position:absolute;display:block;z-index:1031;top:10px}.ng-spinner-icon[_ngcontent-%COMP%]{width:18px;height:18px;box-sizing:border-box;-webkit-animation:_ngcontent-%COMP%_spinner-animation .25s linear infinite;animation:_ngcontent-%COMP%_spinner-animation .25s linear infinite;border:2px solid transparent;border-radius:50%}@-webkit-keyframes _ngcontent-%COMP%_spinner-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes _ngcontent-%COMP%_spinner-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}'],changeDetection:0}),h})(),Su=(()=>{class h{static withConfig(a){return{ngModule:h,providers:[{provide:Tu,useValue:a}]}}}return h.\u0275fac=function(a){return new(a||h)},h.\u0275mod=l.oAB({type:h}),h.\u0275inj=l.cJS({imports:[[e.ez]]}),h})();var Ch=p(529);const lc=new l.OlP("ngProgressHttpConfig");let ku=(()=>{class h{constructor(a,f){this.ngProgress=a,this._inProgressCount=0,this._config={id:"root",silentApis:[],matcher:void 0},this._config=f?{...this._config,...f}:this._config}intercept(a,f){return a.headers.has("ignoreProgressBar")?f.handle(a.clone({headers:a.headers.delete("ignoreProgressBar")})):this.checkUrl(a)?f.handle(a):(this._inProgressCount++,this._progressRef=this.ngProgress.ref(this._config.id),this._progressRef.isStarted||this._progressRef.start(),f.handle(a).pipe((0,ka.x)(()=>{this._inProgressCount--,0===this._inProgressCount&&this._progressRef.complete()})))}checkUrl(a){const f=a.url.toLowerCase();return this._config.matcher&&this._config.silentApis?.length?rd(f,this._config.matcher)&&od(f,this._config.silentApis):this._config.silentApis?.length?od(f,this._config.silentApis):!!this._config.matcher&&rd(f,this._config.matcher)}}return h.\u0275fac=function(a){return new(a||h)(l.LFG(el),l.LFG(lc,8))},h.\u0275prov=l.Yz7({token:h,factory:h.\u0275fac}),h})();function od(h,u){return!!u.find(a=>h.includes(a.toLowerCase()))}function rd(h,u){return!!h.match(u)}let sd=(()=>{class h{static withConfig(a){return{ngModule:h,providers:[{provide:lc,useValue:a}]}}}return h.\u0275fac=function(a){return new(a||h)},h.\u0275mod=l.oAB({type:h}),h.\u0275inj=l.cJS({providers:[{provide:Ch.TP,useClass:ku,multi:!0}]}),h})();const cc=new l.OlP("ngProgressRouterConfig");function tl(h,u){let a=!1;return u.map(f=>a=a||h instanceof f),a}let ad=(()=>{class h{constructor(a,f,k){this._config={id:"root",delay:0,startEvents:[s.OD],completeEvents:[s.m2,s.gk,s.Q3]},this._config=k?{...this._config,...k}:this._config;const oe=a.ref(this._config.id),Je=(0,Qe.of)({}).pipe((0,je.b)(()=>oe.start())),Tt=(0,Qe.of)({}).pipe((0,Ke.g)(this._config.delay),(0,je.b)(()=>oe.complete())),Qt=[...this._config.startEvents,...this._config.completeEvents];f.events.pipe((0,le.h)(mi=>tl(mi,Qt)),(0,_e.w)(mi=>tl(mi,this._config.startEvents)?Je:Tt)).subscribe()}}return h.\u0275fac=function(a){return new(a||h)(l.LFG(el),l.LFG(s.F0),l.LFG(cc,8))},h.\u0275prov=l.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})(),Tl=(()=>{class h{constructor(a){}static withConfig(a){return{ngModule:h,providers:[{provide:cc,useValue:a}]}}}return h.\u0275fac=function(a){return new(a||h)(l.LFG(ad))},h.\u0275mod=l.oAB({type:h}),h.\u0275inj=l.cJS({}),h})();var ld=p(7185);p(8574),p(7049),p(7729),p(1481),p(5191);var uc=p(9110);const Dh=[e.ez,s.Bz,T.UX,T.u5,qa,Xc,Su,Tl,sd,ld.Rh,Lo.aw];let hd=(()=>{const u=class{};let h=u;return u.\u0275fac=function(k){return new(k||u)},u.\u0275mod=l.oAB({type:u}),u.\u0275inj=l.cJS({imports:[Dh,e.ez,s.Bz,T.UX,T.u5,qa,Xc,Su,Tl,sd,ld.Rh,Lo.aw]}),h})();var $s=p(7105);const md=function(h){return[h]},Sl=function(h){return{item:h}};function pd(h,u){if(1&h&&(l.TgZ(0,"a",8),l.GkF(1,9),l.qZA()),2&h){const a=l.oxw(2).$implicit,f=l.oxw(),k=l.MAs(6);l.Q6J("routerLink",f.buildRoute(l.VKq(3,md,a.route))),l.xp6(1),l.Q6J("ngTemplateOutlet",k)("ngTemplateOutletContext",l.VKq(5,Sl,a))}}function fd(h,u){if(1&h&&(l.TgZ(0,"a",10),l.GkF(1,9),l.qZA()),2&h){const a=l.oxw(2).$implicit;l.oxw();const f=l.MAs(6);l.Q6J("href",a.route,l.LSH),l.xp6(1),l.Q6J("ngTemplateOutlet",f)("ngTemplateOutletContext",l.VKq(3,Sl,a))}}function hc(h,u){if(1&h&&(l.TgZ(0,"a",11),l.GkF(1,9),l.qZA()),2&h){const a=l.oxw(2).$implicit;l.oxw();const f=l.MAs(6);l.Q6J("href",a.route,l.LSH),l.xp6(1),l.Q6J("ngTemplateOutlet",f)("ngTemplateOutletContext",l.VKq(3,Sl,a))}}function Mh(h,u){if(1&h){const a=l.EpF();l.TgZ(0,"button",12),l.GkF(1,9),l.TgZ(2,"wg-app-topmenu-panel",13,14),l.NdJ("routeChange",function(k){l.CHM(a);const oe=l.oxw(2).index,Je=l.oxw();return l.KtG(Je.onRouteChange(k,oe))}),l.qZA()()}if(2&h){const a=l.MAs(3),f=l.oxw(2),k=f.index,oe=f.$implicit,Je=l.oxw(),Tt=l.MAs(6);l.ekj("active",Je.menuStates[k].active),l.Q6J("matMenuTriggerFor",a.menuPanel),l.xp6(1),l.Q6J("ngTemplateOutlet",Tt)("ngTemplateOutletContext",l.VKq(8,Sl,oe)),l.xp6(1),l.Q6J("items",oe.children)("parentRoute",l.VKq(10,md,oe.route))("level",1)}}function mc(h,u){if(1&h&&(l.YNc(0,pd,2,7,"a",4),l.YNc(1,fd,2,5,"a",5),l.YNc(2,hc,2,5,"a",6),l.YNc(3,Mh,4,12,"button",7)),2&h){const a=l.oxw().$implicit;l.Q6J("ngIf","link"===a.type),l.xp6(1),l.Q6J("ngIf","extLink"===a.type),l.xp6(1),l.Q6J("ngIf","extTabLink"===a.type),l.xp6(1),l.Q6J("ngIf","sub"===a.type)}}function Lu(h,u){1&h&&(l.ynx(0),l.YNc(1,mc,4,4,"ng-template"),l.BQk())}function pc(h,u){if(1&h&&(l.TgZ(0,"span"),l._uU(1),l.qZA()),2&h){const a=l.oxw().item;l.Gre("menu-label bg-",a.label.color,""),l.xp6(1),l.Oqu(a.label.value)}}function gd(h,u){if(1&h&&(l.TgZ(0,"span"),l._uU(1),l.qZA()),2&h){const a=l.oxw().item;l.Gre("menu-badge bg-",a.badge.color,""),l.xp6(1),l.Oqu(a.badge.value)}}function _d(h,u){if(1&h&&(l.TgZ(0,"mat-icon",19),l._uU(1),l.qZA()),2&h){const a=l.oxw().item;l.xp6(1),l.hij(" ","sub"===a.type?"arrow_drop_down":"launch"," ")}}function ca(h,u){if(1&h&&(l.TgZ(0,"mat-icon",15),l._uU(1),l.qZA(),l.TgZ(2,"span",16),l._uU(3),l.ALo(4,"translate"),l.qZA(),l.YNc(5,pc,2,4,"span",17),l.YNc(6,gd,2,4,"span",17),l.YNc(7,_d,2,1,"mat-icon",18)),2&h){const a=u.item;l.xp6(1),l.Oqu(a.icon),l.xp6(2),l.Oqu(l.lcZ(4,5,a.name)),l.xp6(2),l.Q6J("ngIf",a.label),l.xp6(1),l.Q6J("ngIf",a.badge),l.xp6(1),l.Q6J("ngIf","link"!==a.type)}}let bd=(()=>{const u=class{constructor(f,k){this.menu=f,this.router=k,this.class="matero-topmenu",this.menu$=this.menu.getAll(),this.buildRoute=this.menu.buildRoute,this.menuList=[],this.menuStates=[],this.menuSubscription=Be.w0.EMPTY,this.routerSubscription=Be.w0.EMPTY,this.menuSubscription=this.menu$.subscribe(oe=>{this.menuList=oe,this.menuList.forEach(Je=>{this.menuStates.push({active:this.router.url.split("/").includes(Je.route),route:Je.route})})})}ngOnDestroy(){this.menuSubscription.unsubscribe(),this.routerSubscription?.unsubscribe()}onRouteChange(f,k){this.routerSubscription.unsubscribe(),this.routerSubscription=this.router.events.pipe((0,le.h)(oe=>oe instanceof s.m2)).subscribe(oe=>{this.menuStates.forEach(Je=>Je.active=!1),setTimeout(()=>this.menuStates[k].active=f.isActive)})}};let h=u;return u.\u0275fac=function(k){return new(k||u)(l.Y36($s.hl),l.Y36(s.F0))},u.\u0275cmp=l.Xpm({type:u,selectors:[["wg-app-topmenu"]],hostVars:2,hostBindings:function(k,oe){2&k&&l.Tol(oe.class)},decls:7,vars:4,consts:[["mat-tab-nav-bar","",3,"tabPanel"],[4,"ngFor","ngForOf"],["tabPanel",""],["linkTypeTpl",""],["mat-button","","routerLinkActive","active",3,"routerLink",4,"ngIf"],["mat-button","",3,"href",4,"ngIf"],["mat-button","","target","_blank",3,"href",4,"ngIf"],["mat-button","","routerLinkActive","active",3,"matMenuTriggerFor","active",4,"ngIf"],["mat-button","","routerLinkActive","active",3,"routerLink"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["mat-button","",3,"href"],["mat-button","","target","_blank",3,"href"],["mat-button","","routerLinkActive","active",3,"matMenuTriggerFor"],[3,"items","parentRoute","level","routeChange"],["submenu",""],[1,"menu-icon"],[1,"menu-name"],[3,"class",4,"ngIf"],["class","menu-caret",4,"ngIf"],[1,"menu-caret"]],template:function(k,oe){if(1&k&&(l.TgZ(0,"nav",0),l.YNc(1,Lu,2,0,"ng-container",1),l.ALo(2,"async"),l.qZA(),l._UZ(3,"mat-tab-nav-panel",null,2),l.YNc(5,ca,8,7,"ng-template",null,3,l.W1O)),2&k){const Je=l.MAs(4);l.Q6J("tabPanel",Je),l.xp6(1),l.Q6J("ngForOf",l.lcZ(2,2,oe.menu$))}},styles:[".matero-topmenu{position:sticky;z-index:200;display:block;padding:8px;box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.matero-topmenu .mat-mdc-button-base{padding:0 16px;white-space:nowrap}.matero-topmenu .menu-icon,.matero-topmenu .menu-caret,.matero-topmenu .menu-name{vertical-align:middle}.matero-topmenu .mat-icon.menu-icon{width:18px;height:18px;margin-right:8px;font-size:18px;line-height:18px}[dir=rtl] .matero-topmenu .mat-icon.menu-icon{margin-right:auto;margin-left:8px}.matero-topmenu .mat-icon.menu-caret{margin-right:-8px}[dir=rtl] .matero-topmenu .mat-icon.menu-caret{margin-right:auto;margin-left:-8px}.matero-topmenu .menu-label,.matero-topmenu .menu-badge{display:inline-block;min-width:18px;padding:.35em .65em;color:#fff;font-weight:700;font-size:.75em;line-height:1;white-space:nowrap;text-align:center;vertical-align:baseline;background-color:#757575;border-radius:4px;margin-left:8px;font-size:12px}[dir=rtl] .matero-topmenu .menu-label,[dir=rtl] .matero-topmenu .menu-badge{margin-right:8px;margin-left:auto}.matero-topmenu .menu-badge{border-radius:50rem}.matero-topmenu .mat-tab-nav-bar,.matero-topmenu .mat-tab-header{border-bottom:none}.matero-topmenu-panel .mat-menu-item .menu-name{margin-right:8px;vertical-align:middle}[dir=rtl] .matero-topmenu-panel .mat-menu-item .menu-name{margin-right:auto;margin-left:8px}\n"],encapsulation:2}),h})();const kl=function(h){return[h]};function Al(h,u){if(1&h){const a=l.EpF();l.TgZ(0,"a",6,7),l.NdJ("click",function(){l.CHM(a);const k=l.MAs(1),oe=l.oxw(3);return l.KtG(oe.onRouterLinkClick(k))}),l._uU(2),l.ALo(3,"translate"),l.qZA()}if(2&h){const a=l.MAs(1),f=l.oxw(2).$implicit,k=l.oxw();l.ekj("active",a.isActive),l.Q6J("routerLink",k.buildRoute(k.parentRoute.concat(l.VKq(6,kl,f.route)))),l.xp6(2),l.hij(" ",l.lcZ(3,4,f.name)," ")}}function Il(h,u){if(1&h&&(l.TgZ(0,"a",8)(1,"span",9),l._uU(2),l.ALo(3,"translate"),l.qZA(),l.TgZ(4,"mat-icon"),l._uU(5,"launch"),l.qZA()()),2&h){const a=l.oxw(2).$implicit;l.Q6J("href",a.route,l.LSH),l.xp6(2),l.Oqu(l.lcZ(3,2,a.name))}}function vd(h,u){if(1&h&&(l.TgZ(0,"a",10)(1,"span",9),l._uU(2),l.ALo(3,"translate"),l.qZA(),l.TgZ(4,"mat-icon"),l._uU(5,"launch"),l.qZA()()),2&h){const a=l.oxw(2).$implicit;l.Q6J("href",a.route,l.LSH),l.xp6(2),l.Oqu(l.lcZ(3,2,a.name))}}function Ol(h,u){if(1&h){const a=l.EpF();l.TgZ(0,"button",11),l._uU(1),l.ALo(2,"translate"),l.TgZ(3,"wg-app-topmenu-panel",12,13),l.NdJ("routeChange",function(k){l.CHM(a);const oe=l.oxw(2).index,Je=l.oxw();return l.KtG(Je.onRouteChange(k,oe))}),l.qZA()()}if(2&h){const a=l.MAs(4),f=l.oxw(2),k=f.index,oe=f.$implicit,Je=l.oxw();l.ekj("active",Je.menuStates[k].active),l.Q6J("matMenuTriggerFor",a.menuPanel),l.xp6(1),l.hij(" ",l.lcZ(2,7,oe.name)," "),l.xp6(2),l.Q6J("items",oe.children)("parentRoute",Je.parentRoute.concat(l.VKq(9,kl,oe.route)))("level",Je.level+1)}}function Zs(h,u){if(1&h&&(l.YNc(0,Al,4,8,"a",2),l.YNc(1,Il,6,4,"a",3),l.YNc(2,vd,6,4,"a",4),l.YNc(3,Ol,5,11,"button",5)),2&h){const a=l.oxw().$implicit;l.Q6J("ngIf","link"===a.type),l.xp6(1),l.Q6J("ngIf","extLink"===a.type),l.xp6(1),l.Q6J("ngIf","extTabLink"===a.type),l.xp6(1),l.Q6J("ngIf","sub"===a.type)}}function yd(h,u){1&h&&(l.ynx(0),l.YNc(1,Zs,4,4,"ng-template"),l.BQk())}let xd=(()=>{const u=class{constructor(f,k){this.menu=f,this.router=k,this.items=[],this.parentRoute=[],this.level=1,this.routeChange=new l.vpe,this.menuStates=[],this.buildRoute=this.menu.buildRoute,this.routerSubscription=Be.w0.EMPTY}ngOnInit(){this.items.forEach(f=>{this.menuStates.push({active:this.checkRoute(f),route:f.route})})}ngOnDestroy(){this.routerSubscription.unsubscribe()}checkRoute(f){return f.route?this.router.url.split("/").includes(f.route):this.checkChildRoute(f.children)}checkChildRoute(f=[]){return f.some(k=>!!this.router.url.split("/").includes(k.route)||(!k.route&&k.children&&this.checkChildRoute(k.children),!1))}onRouterLinkClick(f){this.routeChange.emit(f)}onRouteChange(f,k){this.routeChange.emit(f),this.routerSubscription.unsubscribe(),this.routerSubscription=this.router.events.pipe((0,le.h)(oe=>oe instanceof s.m2)).subscribe(oe=>{this.menuStates.forEach(Je=>Je.active=!1),setTimeout(()=>this.menuStates[k].active=f.isActive)})}};let h=u;return u.\u0275fac=function(k){return new(k||u)(l.Y36($s.hl),l.Y36(s.F0))},u.\u0275cmp=l.Xpm({type:u,selectors:[["wg-app-topmenu-panel"]],viewQuery:function(k,oe){if(1&k&&l.Gf(ao.VK,7),2&k){let Je;l.iGM(Je=l.CRH())&&(oe.menuPanel=Je.first)}},inputs:{items:"items",parentRoute:"parentRoute",level:"level"},outputs:{routeChange:"routeChange"},decls:2,vars:1,consts:[[1,"matero-topmenu-panel"],[4,"ngFor","ngForOf"],["mat-menu-item","","routerLinkActive","",3,"routerLink","active","click",4,"ngIf"],["mat-menu-item","",3,"href",4,"ngIf"],["mat-menu-item","","target","_blank",3,"href",4,"ngIf"],["mat-menu-item","","routerLinkActive","active",3,"matMenuTriggerFor","active",4,"ngIf"],["mat-menu-item","","routerLinkActive","",3,"routerLink","click"],["rla","routerLinkActive"],["mat-menu-item","",3,"href"],[1,"menu-name"],["mat-menu-item","","target","_blank",3,"href"],["mat-menu-item","","routerLinkActive","active",3,"matMenuTriggerFor"],[3,"items","parentRoute","level","routeChange"],["submenu",""]],template:function(k,oe){1&k&&(l.TgZ(0,"mat-menu",0),l.YNc(1,yd,2,0,"ng-container",1),l.qZA()),2&k&&(l.xp6(1),l.Q6J("ngForOf",oe.items))},dependencies:[e.sg,e.O5,s.rH,s.Od,re.Hw,ao.VK,ao.OP,ao.p6,u,Lo.X$],encapsulation:2}),h})();l.B6R(bd,[e.sg,e.O5,e.tP,s.rH,s.Od,zt.zs,zt.lW,re.Hw,ao.p6,Po.BU,Po.sW,xd],[e.Ov,Lo.X$]);var Nu=p(2289);let fc=(()=>{const u=class{};let h=u;return u.\u0275fac=function(k){return new(k||u)},u.\u0275cmp=l.Xpm({type:u,selectors:[["wg-app-branding"]],decls:3,vars:0,consts:[["routerLink","/",1,"d-inline-block","text-nowrap","r-full","text-reset"],["src","./assets/images/logo-square.svg","alt","Oriens",1,"brand-logo","align-middle","m-2","show-small"],["src","./assets/images/logo.svg","alt","Oriens",1,"brand-logo","align-middle","m-2","hide-small"]],template:function(k,oe){1&k&&(l.TgZ(0,"a",0),l._UZ(1,"img",1)(2,"img",2),l.qZA())},dependencies:[s.rH],styles:[".brand-logo[_ngcontent-%COMP%]{height:40px;max-height:54px}"]}),h})(),Aa=(()=>{const u=class{constructor(f,k,oe){this.router=f,this.auth=k,this.cdr=oe}ngOnInit(){this.auth.user().pipe((0,je.b)(f=>this.user=f),(0,Xo.b)(10)).subscribe(()=>this.cdr.detectChanges())}logout(){this.auth.logout().subscribe(()=>this.router.navigateByUrl("/auth/login"))}};let h=u;return u.\u0275fac=function(k){return new(k||u)(l.Y36(s.F0),l.Y36($s.e8),l.Y36(l.sBO))},u.\u0275cmp=l.Xpm({type:u,selectors:[["wg-app-user"]],decls:19,vars:9,consts:[["mat-button","",1,"matero-avatar-button",3,"matMenuTriggerFor"],["color","accent"],[1,"m-x-8","hide-small"],["menu","matMenu"],["routerLink","/profile","mat-menu-item",""],["mat-menu-item","",3,"click"]],template:function(k,oe){if(1&k&&(l.TgZ(0,"button",0)(1,"mat-icon",1),l._uU(2,"account_circle"),l.qZA(),l.TgZ(3,"span",2),l._uU(4),l.qZA()(),l.TgZ(5,"mat-menu",null,3)(7,"a",4)(8,"mat-icon"),l._uU(9,"account_circle"),l.qZA(),l.TgZ(10,"span"),l._uU(11),l.ALo(12,"translate"),l.qZA()(),l.TgZ(13,"button",5),l.NdJ("click",function(){return oe.logout()}),l.TgZ(14,"mat-icon"),l._uU(15,"exit_to_app"),l.qZA(),l.TgZ(16,"span"),l._uU(17),l.ALo(18,"translate"),l.qZA()()()),2&k){const Je=l.MAs(6);l.Q6J("matMenuTriggerFor",Je),l.xp6(4),l.AsE("",null==oe.user?null:oe.user.nombre," ",null==oe.user?null:oe.user.apellidos,""),l.xp6(7),l.Oqu(l.lcZ(12,5,"accountMenu.profile")),l.xp6(6),l.Oqu(l.lcZ(18,7,"accountMenu.logout"))}},dependencies:[s.rH,zt.lW,re.Hw,ao.VK,ao.OP,ao.p6,Lo.X$],styles:[".matero-avatar-button.mat-mdc-button[_ngcontent-%COMP%]{border-radius:50rem}.matero-avatar-button.mat-mdc-button[_ngcontent-%COMP%]   .matero-username[_ngcontent-%COMP%]{letter-spacing:normal}"]}),h})();function wd(h,u){if(1&h){const a=l.EpF();l.TgZ(0,"button",4),l.NdJ("click",function(){l.CHM(a);const k=l.oxw();return l.KtG(k.toggleSidenav.emit())}),l.TgZ(1,"mat-icon"),l._uU(2,"menu"),l.qZA()()}}function Bu(h,u){1&h&&l._UZ(0,"wg-app-branding")}let Vu=(()=>{const u=class{constructor(){this.class="matero-header",this.showToggle=!0,this.showBranding=!1,this.toggleSidenav=new l.vpe}};let h=u;return u.\u0275fac=function(k){return new(k||u)},u.\u0275cmp=l.Xpm({type:u,selectors:[["wg-app-header"]],hostVars:2,hostBindings:function(k,oe){2&k&&l.Tol(oe.class)},inputs:{showToggle:"showToggle",showBranding:"showBranding"},outputs:{toggleSidenav:"toggleSidenav"},decls:5,vars:2,consts:[[1,"matero-toolbar"],["mat-icon-button","","class","matero-toolbar-button",3,"click",4,"ngIf"],[4,"ngIf"],[1,"flex-fill"],["mat-icon-button","",1,"matero-toolbar-button",3,"click"]],template:function(k,oe){1&k&&(l.TgZ(0,"mat-toolbar",0),l.YNc(1,wd,3,0,"button",1),l.YNc(2,Bu,1,0,"wg-app-branding",2),l._UZ(3,"span",3)(4,"wg-app-user"),l.qZA()),2&k&&(l.xp6(1),l.Q6J("ngIf",oe.showToggle),l.xp6(1),l.Q6J("ngIf",oe.showBranding))},dependencies:[e.O5,zt.RK,re.Hw,cr,fc,Aa],styles:[".matero-header{position:relative;z-index:200}.matero-toolbar{padding:0 8px}\n"],encapsulation:2,changeDetection:0}),h})(),gc=(()=>{const u=class{constructor(f,k){this.router=f,this.menu=k,this.navLinks=[],this.router.events.pipe((0,le.h)(oe=>oe instanceof s.m2)).subscribe(()=>this.checkOpenLinks()),this.menu.change().subscribe(()=>{setTimeout(()=>this.checkOpenLinks())})}addLink(f){this.navLinks.push(f)}removeLink(f){const k=this.navLinks.indexOf(f);-1!==k&&this.navLinks.splice(k,1)}closeOtherLinks(f){this.navLinks.forEach(k=>{k!==f&&(k.expanded=!1)})}checkOpenLinks(){this.navLinks.forEach(f=>{f.route&&this.router.url.split("/").includes(f.route)&&(f.expanded=!0,this.closeOtherLinks(f))})}};let h=u;return u.\u0275fac=function(k){return new(k||u)(l.Y36(s.F0),l.Y36($s.hl))},u.\u0275dir=l.lG2({type:u,selectors:[["","wgNavAccordion",""]]}),h})(),Cd=(()=>{const u=class{get expanded(){return this.isExpanded}set expanded(f){this.isExpanded="sub"===this.type&&f,f&&this.nav.closeOtherLinks(this)}constructor(f){this.isExpanded=!1,this.route="",this.nav=f}ngOnInit(){this.nav.addLink(this)}ngOnDestroy(){this.nav.removeLink(this)}toggle(){this.expanded=!this.expanded}};let h=u;return u.\u0275fac=function(k){return new(k||u)(l.Y36(gc))},u.\u0275dir=l.lG2({type:u,selectors:[["","wgNavAccordionItem",""]],hostVars:2,hostBindings:function(k,oe){2&k&&l.ekj("expanded",oe.expanded)},inputs:{route:"route",type:"type",expanded:"expanded"}}),h})(),Dd=(()=>{const u=class{constructor(f){this.navLink=f}onClick(){this.navLink.toggle()}};let h=u;return u.\u0275fac=function(k){return new(k||u)(l.Y36(Cd))},u.\u0275dir=l.lG2({type:u,selectors:[["","wgNavAccordionToggle",""]],hostBindings:function(k,oe){1&k&&l.NdJ("click",function(Tt){return oe.onClick(Tt)})}}),h})();const Md=function(h){return[h]},il=function(h,u){return{item:h,level:u}};function Th(h,u){if(1&h&&(l.TgZ(0,"a",10),l.GkF(1,0),l.qZA()),2&h){const a=l.oxw().$implicit,f=l.oxw(),k=f.parentRoute,oe=f.level,Je=l.oxw(),Tt=l.MAs(5);l.Q6J("routerLink",Je.buildRoute(k.concat(l.VKq(4,Md,a.route))))("matRippleDisabled",!Je.ripple),l.xp6(1),l.Q6J("ngTemplateOutlet",Tt)("ngTemplateOutletContext",l.WLB(6,il,a,oe))}}function Hu(h,u){if(1&h&&(l.TgZ(0,"a",11),l.GkF(1,0),l.qZA()),2&h){const a=l.oxw().$implicit,f=l.oxw().level,k=l.oxw(),oe=l.MAs(5);l.Q6J("href",a.route,l.LSH)("matRippleDisabled",!k.ripple),l.xp6(1),l.Q6J("ngTemplateOutlet",oe)("ngTemplateOutletContext",l.WLB(4,il,a,f))}}function nl(h,u){if(1&h&&(l.TgZ(0,"a",12),l.GkF(1,0),l.qZA()),2&h){const a=l.oxw().$implicit,f=l.oxw().level,k=l.oxw(),oe=l.MAs(5);l.Q6J("href",a.route,l.LSH)("matRippleDisabled",!k.ripple),l.xp6(1),l.Q6J("ngTemplateOutlet",oe)("ngTemplateOutletContext",l.WLB(4,il,a,f))}}function zu(h,u){if(1&h&&(l.TgZ(0,"button",13),l.GkF(1,0),l.qZA()),2&h){const a=l.oxw().$implicit,f=l.oxw().level,k=l.oxw(),oe=l.MAs(5);l.Q6J("matRippleDisabled",!k.ripple),l.xp6(1),l.Q6J("ngTemplateOutlet",oe)("ngTemplateOutletContext",l.WLB(3,il,a,f))}}const Ia=function(h,u,a){return{menuList:h,parentRoute:u,level:a}};function ol(h,u){if(1&h&&(l.TgZ(0,"li",5),l.YNc(1,Th,2,9,"a",6),l.YNc(2,Hu,2,7,"a",7),l.YNc(3,nl,2,7,"a",8),l.YNc(4,zu,2,6,"button",9),l.GkF(5,0),l.qZA()),2&h){const a=u.$implicit,f=l.oxw(),k=f.parentRoute,oe=f.level;l.oxw();const Je=l.MAs(3);l.Q6J("route",a.route)("type",a.type),l.xp6(1),l.Q6J("ngIf","link"===a.type),l.xp6(1),l.Q6J("ngIf","extLink"===a.type),l.xp6(1),l.Q6J("ngIf","extTabLink"===a.type),l.xp6(1),l.Q6J("ngIf","sub"===a.type),l.xp6(1),l.Q6J("ngTemplateOutlet",Je)("ngTemplateOutletContext",l.kEZ(10,Ia,a.children,k.concat(l.VKq(8,Md,a.route)),oe+1))}}function Uu(h,u){if(1&h&&(l.TgZ(0,"ul",3),l.YNc(1,ol,6,14,"li",4),l.qZA()),2&h){const a=u.menuList,f=u.level;l.Gre("matero-sidemenu level-",f,""),l.ekj("submenu",f>0),l.xp6(1),l.Q6J("ngForOf",a)}}function Td(h,u){if(1&h&&(l.TgZ(0,"mat-icon",19),l._uU(1),l.qZA()),2&h){const a=l.oxw().item;l.xp6(1),l.Oqu(a.icon)}}function Ed(h,u){if(1&h&&(l.TgZ(0,"span"),l._uU(1),l.qZA()),2&h){const a=l.oxw().item;l.Gre("menu-label bg-",a.label.color,""),l.xp6(1),l.hij(" ",a.label.value," ")}}function Yu(h,u){if(1&h&&(l.TgZ(0,"span"),l._uU(1),l.qZA()),2&h){const a=l.oxw().item;l.Gre("menu-badge bg-",a.badge.color,""),l.xp6(1),l.hij(" ",a.badge.value," ")}}function Eh(h,u){if(1&h&&(l.TgZ(0,"mat-icon",20),l._uU(1),l.qZA()),2&h){const a=l.oxw().item;l.xp6(1),l.hij(" ","sub"===a.type?"arrow_drop_down":"launch"," ")}}function Gu(h,u){if(1&h&&(l.YNc(0,Td,2,1,"mat-icon",14),l.TgZ(1,"span",15),l._uU(2),l.ALo(3,"translate"),l.qZA(),l.YNc(4,Ed,2,4,"span",16),l._UZ(5,"span",17),l.YNc(6,Yu,2,4,"span",16),l.YNc(7,Eh,2,1,"mat-icon",18)),2&h){const a=u.item;l.Q6J("ngIf",u.level<=1),l.xp6(2),l.Oqu(l.lcZ(3,5,a.name)),l.xp6(2),l.Q6J("ngIf",a.label),l.xp6(2),l.Q6J("ngIf",a.badge),l.xp6(1),l.Q6J("ngIf","link"!==a.type)}}const ju=function(){return[]},_c=function(h,u){return{menuList:h,parentRoute:u,level:0}};let Rl=(()=>{const u=class{constructor(f){this.menu=f,this.ripple=!1,this.menu$=this.menu.getAll(),this.buildRoute=this.menu.buildRoute}};let h=u;return u.\u0275fac=function(k){return new(k||u)(l.Y36($s.hl))},u.\u0275cmp=l.Xpm({type:u,selectors:[["wg-app-sidemenu"]],inputs:{ripple:"ripple"},decls:6,vars:8,consts:[[3,"ngTemplateOutlet","ngTemplateOutletContext"],["menuListTpl",""],["linkTypeTpl",""],["wgNavAccordion",""],["wgNavAccordionItem","","class","menu-item","routerLinkActive","active",3,"route","type",4,"ngFor","ngForOf"],["wgNavAccordionItem","","routerLinkActive","active",1,"menu-item",3,"route","type"],["class","menu-heading","matRipple","",3,"routerLink","matRippleDisabled",4,"ngIf"],["class","menu-heading","matRipple","",3,"href","matRippleDisabled",4,"ngIf"],["class","menu-heading","target","_blank","matRipple","",3,"href","matRippleDisabled",4,"ngIf"],["wgNavAccordionToggle","","class","menu-heading menu-toggle","matRipple","",3,"matRippleDisabled",4,"ngIf"],["matRipple","",1,"menu-heading",3,"routerLink","matRippleDisabled"],["matRipple","",1,"menu-heading",3,"href","matRippleDisabled"],["target","_blank","matRipple","",1,"menu-heading",3,"href","matRippleDisabled"],["wgNavAccordionToggle","","matRipple","",1,"menu-heading","menu-toggle",3,"matRippleDisabled"],["class","menu-icon",4,"ngIf"],[1,"menu-name"],[3,"class",4,"ngIf"],[1,"menu-spacer"],["class","menu-caret",4,"ngIf"],[1,"menu-icon"],[1,"menu-caret"]],template:function(k,oe){if(1&k&&(l.GkF(0,0),l.ALo(1,"async"),l.YNc(2,Uu,2,6,"ng-template",null,1,l.W1O),l.YNc(4,Gu,8,7,"ng-template",null,2,l.W1O)),2&k){const Je=l.MAs(3);l.Q6J("ngTemplateOutlet",Je)("ngTemplateOutletContext",l.WLB(5,_c,l.lcZ(1,2,oe.menu$),l.DdM(4,ju)))}},dependencies:[e.sg,e.O5,e.tP,s.rH,s.Od,re.Hw,b.wG,gc,Cd,Dd,e.Ov,Lo.X$],styles:[".matero-sidemenu{width:240px;padding:0;margin:0;list-style:none}.matero-sidemenu .menu-item{display:block;height:auto;padding:0;border-bottom:1px solid rgba(0,0,0,.12)}.matero-sidemenu .menu-item.expanded>.submenu{max-height:2000px}.matero-sidemenu .menu-item.expanded>.menu-toggle>.menu-caret{transform:rotate(-180deg)}.matero-sidemenu.submenu{max-height:0;padding-top:0;overflow:hidden;transform:translateZ(0)!important;transition:max-height 225ms cubic-bezier(.4,0,.2,1),visibility 225ms cubic-bezier(.4,0,.2,1)}.matero-sidemenu .menu-heading{display:flex;flex-direction:row;align-items:center;width:100%;height:48px;padding:0 12px;font-size:inherit;text-decoration:none;background-color:transparent;border:none;outline:none;cursor:pointer}.matero-sidemenu .mat-icon.menu-icon{width:33px;height:24px;margin-right:15px;font-size:28px;line-height:24px;text-align:left}[dir=rtl] .matero-sidemenu .mat-icon.menu-icon{margin-right:auto;margin-left:16px}.matero-sidemenu .mat-icon.menu-caret{display:block;text-align:center;transition:transform 225ms cubic-bezier(.4,0,.2,1)}.matero-sidemenu .menu-name,.matero-sidemenu .menu-label,.matero-sidemenu .menu-badge{transition:opacity .4s cubic-bezier(.25,.8,.25,1);overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;text-align:left}.matero-sidemenu .menu-label,.matero-sidemenu .menu-badge{display:inline-block;min-width:18px;padding:.35em .65em;color:#fff;font-weight:700;font-size:.75em;line-height:1;white-space:nowrap;text-align:center;vertical-align:baseline;background-color:#757575;border-radius:4px}.matero-sidemenu .menu-badge{border-radius:50rem}.matero-sidemenu .menu-spacer{flex-grow:1}.matero-sidemenu .level-1 li{border-bottom:none;font-size:14px}.matero-sidemenu .level-1 li a{height:42px}.matero-sidemenu.level-0>li>.menu-heading>.menu-name{margin-right:5px;text-transform:uppercase}[dir=rtl] .matero-sidemenu.level-0>li>.menu-heading>.menu-name{margin-right:auto;margin-left:5px}.matero-sidemenu.level-1>li>.menu-heading{padding-left:20px}[dir=rtl] .matero-sidemenu.level-1>li>.menu-heading{padding-right:50px;padding-left:16px}.matero-sidemenu.level-2>li>.menu-heading{padding-left:50px}[dir=rtl] .matero-sidemenu.level-2>li>.menu-heading{padding-right:64px;padding-left:16px}.matero-sidemenu.level-2 [class^=level-]>li>.menu-heading{padding-left:80px}[dir=rtl] .matero-sidemenu.level-2 [class^=level-]>li>.menu-heading{padding-right:80px;padding-left:16px}\n"],encapsulation:2}),h})(),$u=(()=>{const u=class{constructor(f,k){this.router=f,this.auth=k}ngOnInit(){this.auth.user().subscribe(f=>this.user=f)}logout(){this.auth.logout().subscribe(()=>this.router.navigateByUrl("/auth/login"))}};let h=u;return u.\u0275fac=function(k){return new(k||u)(l.Y36(s.F0),l.Y36($s.e8))},u.\u0275cmp=l.Xpm({type:u,selectors:[["wg-app-user-panel"]],decls:15,vars:3,consts:[[1,"matero-user-panel"],[1,"matero-user-panel-name"],[1,"matero-user-panel-email"],[1,"matero-user-panel-icons"],["mat-icon-button","","routerLink","/profile/overview"],[1,"icon-18"],["mat-icon-button","","routerLink","/profile/settings"],["mat-icon-button","",3,"click"]],template:function(k,oe){1&k&&(l.TgZ(0,"div",0)(1,"h4",1),l._uU(2),l.qZA(),l.TgZ(3,"h5",2),l._uU(4),l.qZA(),l.TgZ(5,"div",3)(6,"a",4)(7,"mat-icon",5),l._uU(8,"account_circle"),l.qZA()(),l.TgZ(9,"a",6)(10,"mat-icon",5),l._uU(11,"settings"),l.qZA()(),l.TgZ(12,"button",7),l.NdJ("click",function(){return oe.logout()}),l.TgZ(13,"mat-icon",5),l._uU(14,"exit_to_app"),l.qZA()()()()),2&k&&(l.xp6(2),l.AsE("",null==oe.user?null:oe.user.nombre," ",null==oe.user?null:oe.user.apellidos,""),l.xp6(2),l.Oqu(null==oe.user?null:oe.user.email))},dependencies:[s.rH,zt.o6,zt.RK,re.Hw],styles:[".matero-user-panel{display:flex;flex-direction:column;align-items:center;padding:12px 0}.matero-user-panel-avatar{width:64px;height:64px;margin-bottom:4px;border-radius:50rem;transition:transform .4s cubic-bezier(.25,.8,.25,1)}.matero-user-panel-name,.matero-user-panel-email{margin-top:0;margin-bottom:8px;font-weight:400}.matero-user-panel-name,.matero-user-panel-email,.matero-user-panel-icons{opacity:1;transition:opacity .4s cubic-bezier(.25,.8,.25,1)}.matero-user-panel-icons{white-space:nowrap}.matero-user-panel-icons .mat-mdc-button-base,.matero-user-panel-icons .mat-mdc-button-touch-target{width:32px;height:32px}.matero-user-panel-icons .mat-mdc-button-base{display:inline-flex;align-items:center;justify-content:center;padding:0}\n"],encapsulation:2}),h})();function d(h,u){if(1&h){const a=l.EpF();l.TgZ(0,"mat-slide-toggle",6),l.NdJ("change",function(){l.CHM(a);const k=l.oxw(2);return l.KtG(k.toggleCollapsed.emit())}),l.qZA()}if(2&h){const a=l.oxw(2);l.Q6J("checked",a.toggleChecked)}}function g(h,u){if(1&h&&(l.TgZ(0,"div",4),l._UZ(1,"wg-app-branding"),l.YNc(2,d,1,1,"mat-slide-toggle",5),l.qZA()),2&h){const a=l.oxw();l.xp6(2),l.Q6J("ngIf",a.showToggle)}}function r(h,u){1&h&&l._UZ(0,"wg-app-user-panel")}let _=(()=>{const u=class{constructor(){this.showToggle=!0,this.showUser=!0,this.showHeader=!0,this.toggleChecked=!1,this.toggleCollapsed=new l.vpe}};let h=u;return u.\u0275fac=function(k){return new(k||u)},u.\u0275cmp=l.Xpm({type:u,selectors:[["wg-app-sidebar"]],inputs:{showToggle:"showToggle",showUser:"showUser",showHeader:"showHeader",toggleChecked:"toggleChecked"},outputs:{toggleCollapsed:"toggleCollapsed"},decls:4,vars:3,consts:[["class","matero-sidebar-header",4,"ngIf"],[1,"matero-sidebar-main","scrollbar-none"],[4,"ngIf"],[3,"ripple"],[1,"matero-sidebar-header"],[3,"checked","change",4,"ngIf"],[3,"checked","change"]],template:function(k,oe){1&k&&(l.YNc(0,g,3,1,"div",0),l.TgZ(1,"div",1),l.YNc(2,r,1,0,"wg-app-user-panel",2),l._UZ(3,"wg-app-sidemenu",3),l.qZA()),2&k&&(l.Q6J("ngIf",oe.showHeader),l.xp6(2),l.Q6J("ngIf",oe.showUser),l.xp6(1),l.Q6J("ripple",oe.showToggle))},dependencies:[e.O5,mn.Rr,fc,Rl,$u],styles:[".matero-sidebar-header{position:relative;top:0;left:0;z-index:1;display:flex;align-items:center;justify-content:space-between;height:64px;padding:0 8px;overflow:hidden}@media (max-width: 599px){.matero-sidebar-header{height:56px}}.matero-header-white .matero-sidebar-header{background-color:#fff}.matero-sidebar-main{height:calc(100% - 64px);overflow:auto}@media (max-width: 599px){.matero-sidebar-main{height:calc(100% - 56px)}}\n"],encapsulation:2}),h})(),P=(()=>{const u=class{};let h=u;return u.\u0275fac=function(k){return new(k||u)},u.\u0275cmp=l.Xpm({type:u,selectors:[["wg-app-sidebar-notice"]],decls:5,vars:0,consts:[["bodyClass","p-16","label","Today"],["bodyClass","p-16","label","Notifications"]],template:function(k,oe){1&k&&(l.TgZ(0,"mat-tab-group")(1,"mat-tab",0),l._uU(2," Content 1 "),l.qZA(),l.TgZ(3,"mat-tab",1),l._uU(4," Content 2 "),l.qZA()())},dependencies:[Po.uX,Po.SP],styles:["[_nghost-%COMP%]     .mat-mdc-tab{min-width:160px}"]}),h})();const ne=["sidenav"],nt=["content"];function St(h,u){if(1&h){const a=l.EpF();l.TgZ(0,"wg-app-header",13),l.NdJ("toggleSidenav",function(){l.CHM(a),l.oxw();const k=l.MAs(5);return l.KtG(k.toggle())})("toggleSidenavNotice",function(){l.CHM(a),l.oxw();const k=l.MAs(8);return l.KtG(k.toggle())}),l.qZA()}2&h&&l.Q6J("showBranding",!0)}function ti(h,u){if(1&h){const a=l.EpF();l.TgZ(0,"wg-app-header",14),l.NdJ("toggleSidenav",function(){l.CHM(a),l.oxw();const k=l.MAs(5);return l.KtG(k.toggle())})("toggleSidenavNotice",function(){l.CHM(a),l.oxw();const k=l.MAs(8);return l.KtG(k.toggle())}),l.qZA()}if(2&h){const a=l.oxw();l.Q6J("showToggle",!a.options.sidenavCollapsed&&"top"!==a.options.navPos)("showBranding","top"===a.options.navPos)}}function ui(h,u){1&h&&l._UZ(0,"wg-app-topmenu")}const hi=function(h,u,a,f,k,oe){return{"matero-sidenav-collapsed":h,"matero-navbar-side":u,"matero-navbar-top":a,"matero-header-above":f,"matero-header-fixed":k,"matero-header-white":oe}},Ni="screen and (max-width: 599px)",wi="screen and (min-width: 600px) and (max-width: 959px)",tn="screen and (min-width: 960px)";let Cn=(()=>{const u=class{get isOver(){return this.isMobileScreen}get contentWidthFix(){return this.isContentWidthFixed&&"side"===this.options.navPos&&this.options.sidenavOpened&&!this.isOver}get collapsedWidthFix(){return this.isCollapsedWidthFixed&&("top"===this.options.navPos||this.options.sidenavOpened&&this.isOver)}constructor(f,k,oe,Je,Tt){this.router=f,this.mediaMatcher=k,this.breakpointObserver=oe,this.settings=Je,this.document=Tt,this.options=this.settings.getOptions(),this.layoutChangesSubscription=Be.w0.EMPTY,this.isMobileScreen=!1,this.isContentWidthFixed=!0,this.isCollapsedWidthFixed=!1,this.htmlElement=this.document.querySelector("html"),this.layoutChangesSubscription=this.breakpointObserver.observe([Ni,wi,tn]).subscribe(Qt=>{this.options.sidenavOpened=!0,this.isMobileScreen=Qt.breakpoints[Ni],this.options.sidenavCollapsed=Qt.breakpoints[wi],this.isContentWidthFixed=Qt.breakpoints[tn]}),this.router.events.pipe((0,le.h)(Qt=>Qt instanceof s.m2)).subscribe(Qt=>{this.isOver&&this.sidenav.close(),this.content.scrollTo({top:0})}),"not all"!==this.mediaMatcher.matchMedia("(prefers-color-scheme)").media?this.mediaMatcher.matchMedia("(prefers-color-scheme: dark)"):this.options.theme="light",this.receiveOptions(this.options)}ngOnDestroy(){this.layoutChangesSubscription.unsubscribe()}toggleCollapsed(){this.isContentWidthFixed=!1,this.options.sidenavCollapsed=!this.options.sidenavCollapsed,this.resetCollapsedState()}resetCollapsedState(f=400){setTimeout(()=>this.settings.setOptions(this.options),f)}onSidenavClosedStart(){this.isContentWidthFixed=!1}onSidenavOpenedChange(f){this.isCollapsedWidthFixed=!this.isOver,this.options.sidenavOpened=f,this.settings.setOptions(this.options)}receiveOptions(f){this.options=f,this.settings.setOptions(f),this.toggleDarkTheme(f)}toggleDarkTheme(f){"dark"===f.theme?this.htmlElement.classList.add("theme-dark"):this.htmlElement.classList.remove("theme-dark")}};let h=u;return u.\u0275fac=function(k){return new(k||u)(l.Y36(s.F0),l.Y36(Nu.vx),l.Y36(Nu.Yg),l.Y36($s.gb),l.Y36(e.K0,8))},u.\u0275cmp=l.Xpm({type:u,selectors:[["wg-app-admin-layout"]],viewQuery:function(k,oe){if(1&k&&(l.Gf(ne,7),l.Gf(nt,7)),2&k){let Je;l.iGM(Je=l.CRH())&&(oe.sidenav=Je.first),l.iGM(Je=l.CRH())&&(oe.content=Je.first)}},hostVars:4,hostBindings:function(k,oe){2&k&&l.ekj("matero-content-width-fix",oe.contentWidthFix)("matero-sidenav-collapsed-fix",oe.collapsedWidthFix)},decls:16,vars:17,consts:[[1,"matero-container-wrap",3,"ngClass"],[3,"showBranding","toggleSidenav","toggleSidenavNotice",4,"ngIf"],["autosize","","autoFocus","",1,"matero-container"],[1,"matero-sidenav",3,"mode","opened","openedChange","closedStart"],["sidenav",""],[3,"showToggle","showUser","showHeader","toggleChecked","toggleCollapsed"],["position","end","mode","over"],["sidenavNotice",""],[1,"matero-content-wrap"],["content",""],[3,"showToggle","showBranding","toggleSidenav","toggleSidenavNotice",4,"ngIf"],[4,"ngIf"],[1,"matero-content"],[3,"showBranding","toggleSidenav","toggleSidenavNotice"],[3,"showToggle","showBranding","toggleSidenav","toggleSidenavNotice"]],template:function(k,oe){1&k&&(l.TgZ(0,"div",0),l._UZ(1,"ng-progress"),l.YNc(2,St,1,1,"wg-app-header",1),l.TgZ(3,"mat-sidenav-container",2)(4,"mat-sidenav",3,4),l.NdJ("openedChange",function(Tt){return oe.onSidenavOpenedChange(Tt)})("closedStart",function(){return oe.onSidenavClosedStart()}),l.TgZ(6,"wg-app-sidebar",5),l.NdJ("toggleCollapsed",function(){return oe.toggleCollapsed()}),l.qZA()(),l.TgZ(7,"mat-sidenav",6,7),l._UZ(9,"wg-app-sidebar-notice"),l.qZA(),l.TgZ(10,"mat-sidenav-content",8,9),l.YNc(12,ti,1,2,"wg-app-header",10),l.YNc(13,ui,1,0,"wg-app-topmenu",11),l.TgZ(14,"div",12),l._UZ(15,"router-outlet"),l.qZA()()()()),2&k&&(l.Q6J("ngClass",l.HTZ(10,hi,oe.options.sidenavCollapsed&&"top"!==oe.options.navPos,"side"===oe.options.navPos,"top"===oe.options.navPos,"above"===oe.options.headerPos,"fixed"===oe.options.headerPos,"dark"!==oe.options.theme)),l.xp6(2),l.Q6J("ngIf",oe.options.showHeader&&"above"===oe.options.headerPos),l.xp6(2),l.Q6J("mode",oe.isOver?"over":"side")("opened","side"===oe.options.navPos&&oe.options.sidenavOpened&&!oe.isOver),l.xp6(2),l.Q6J("showToggle",!oe.isOver)("showUser",!!oe.options.showUserPanel)("showHeader","above"!==oe.options.headerPos)("toggleChecked",!!oe.options.sidenavCollapsed),l.xp6(6),l.Q6J("ngIf",oe.options.showHeader&&"above"!==oe.options.headerPos),l.xp6(1),l.Q6J("ngIf","top"===oe.options.navPos))},dependencies:[e.mk,e.O5,s.lC,It,Ht,Te,ac,Vu,_,P,bd],styles:[".matero-container-wrap,.matero-container{height:100%}.matero-content{position:relative;padding:16px}@media (max-width: 599px){.matero-content{padding:8px}}.matero-sidenav{position:absolute;overflow-x:hidden;transition:width .4s cubic-bezier(.25,.8,.25,1);box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.matero-sidenav.mat-drawer-side,[dir=rtl] .matero-sidenav.mat-drawer-side{border-width:0}.matero-header-above .matero-container{height:calc(100% - 64px)!important}.matero-header-above .matero-sidebar-main{height:100%!important}.matero-sidenav-collapsed .matero-sidenav,.matero-sidenav-collapsed-fix .matero-sidenav{width:50px}.matero-sidenav-collapsed .matero-sidenav .menu-name,.matero-sidenav-collapsed .matero-sidenav .menu-label,.matero-sidenav-collapsed .matero-sidenav .menu-badge,.matero-sidenav-collapsed .matero-sidenav .menu-caret,.matero-sidenav-collapsed .matero-sidenav .matero-user-panel-name,.matero-sidenav-collapsed .matero-sidenav .matero-user-panel-email,.matero-sidenav-collapsed .matero-sidenav .matero-user-panel-icons,.matero-sidenav-collapsed-fix .matero-sidenav .menu-name,.matero-sidenav-collapsed-fix .matero-sidenav .menu-label,.matero-sidenav-collapsed-fix .matero-sidenav .menu-badge,.matero-sidenav-collapsed-fix .matero-sidenav .menu-caret,.matero-sidenav-collapsed-fix .matero-sidenav .matero-user-panel-name,.matero-sidenav-collapsed-fix .matero-sidenav .matero-user-panel-email,.matero-sidenav-collapsed-fix .matero-sidenav .matero-user-panel-icons{opacity:0}.matero-sidenav-collapsed .matero-sidenav .matero-user-panel-avatar,.matero-sidenav-collapsed-fix .matero-sidenav .matero-user-panel-avatar{transform:scale(.5)}.matero-sidenav-collapsed .matero-sidenav:hover,.matero-sidenav-collapsed-fix .matero-sidenav:hover{width:240px}.matero-sidenav-collapsed .matero-sidenav:hover .menu-name,.matero-sidenav-collapsed .matero-sidenav:hover .menu-label,.matero-sidenav-collapsed .matero-sidenav:hover .menu-badge,.matero-sidenav-collapsed .matero-sidenav:hover .menu-caret,.matero-sidenav-collapsed .matero-sidenav:hover .matero-user-panel-name,.matero-sidenav-collapsed .matero-sidenav:hover .matero-user-panel-email,.matero-sidenav-collapsed .matero-sidenav:hover .matero-user-panel-icons,.matero-sidenav-collapsed-fix .matero-sidenav:hover .menu-name,.matero-sidenav-collapsed-fix .matero-sidenav:hover .menu-label,.matero-sidenav-collapsed-fix .matero-sidenav:hover .menu-badge,.matero-sidenav-collapsed-fix .matero-sidenav:hover .menu-caret,.matero-sidenav-collapsed-fix .matero-sidenav:hover .matero-user-panel-name,.matero-sidenav-collapsed-fix .matero-sidenav:hover .matero-user-panel-email,.matero-sidenav-collapsed-fix .matero-sidenav:hover .matero-user-panel-icons{opacity:1}.matero-sidenav-collapsed .matero-sidenav:hover .matero-user-panel-avatar,.matero-sidenav-collapsed-fix .matero-sidenav:hover .matero-user-panel-avatar{transform:scale(1)}.matero-sidenav-collapsed .matero-content-wrap{margin-left:50px!important}[dir=rtl] .matero-sidenav-collapsed .matero-content-wrap,.matero-sidenav-collapsed[dir=rtl] .matero-content-wrap{margin-right:50px!important;margin-left:auto!important}.matero-navbar-top .matero-topmenu{top:0}.matero-navbar-top .matero-branding{margin-left:16px}[dir=rtl] .matero-navbar-top .matero-branding{margin-right:16px;margin-left:auto}.matero-header-fixed .matero-header{position:sticky;top:0}.matero-header-fixed .matero-topmenu{top:64px}@media (max-width: 599px){.matero-header-fixed .matero-topmenu{top:56px}}.matero-header-fixed.matero-navbar-side .matero-toolbar{border-bottom:unset;box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.matero-content-width-fix .matero-content-wrap{margin-left:240px!important}[dir=rtl] .matero-content-width-fix .matero-content-wrap{margin-right:240px!important;margin-left:auto!important}.matero-header-white .matero-toolbar,.matero-header-white .matero-topmenu{background-color:#fff}\n"],encapsulation:2}),h})(),$i=(()=>{const u=class{};let h=u;return u.\u0275fac=function(k){return new(k||u)},u.\u0275cmp=l.Xpm({type:u,selectors:[["wg-app-auth-layout"]],decls:2,vars:0,consts:[[1,"matero-auth-container"]],template:function(k,oe){1&k&&(l.TgZ(0,"div",0),l._UZ(1,"router-outlet"),l.qZA())},dependencies:[s.lC],styles:[".matero-auth-container{position:relative;display:flex;justify-content:center;min-height:100%;padding:16px;background:rgb(0,168,228);background:linear-gradient(45deg,rgb(0,168,228) 0%,rgb(175,34,218) 33%,rgb(255,63,81) 66%,rgb(255,129,25) 100%)}\n"],encapsulation:2}),h})()},8574:(ri,mt,p)=>{p.d(mt,{R:()=>l});var e=p(4650),s=p(4006),T=p(4144);let l=(()=>{const O=class{constructor(q){this.elementRef=q,this._value=null,this._onChange=Ee=>{console.log(Ee)},this._onTouched=()=>{}}get value(){return this._value}set value(q){this._value=q,this.formatValue(q)}formatValue(q){this.elementRef.nativeElement.value=null!==q?(100*q).toFixed(2):""}onInput(q){this._value=isNaN(parseFloat(q))?null:parseFloat(q)/100,this._onChange(this._value)}_onBlur(){this.formatValue(this._value)}writeValue(q){this._value=isNaN(parseFloat(q))?null:parseFloat(q),this.formatValue(this._value)}registerOnChange(q){this._onChange=q}registerOnTouched(q){this._onTouched=q}};let b=O;return O.\u0275fac=function(Ee){return new(Ee||O)(e.Y36(e.SBq))},O.\u0275dir=e.lG2({type:O,selectors:[["input","matInputPercentage",""]],hostBindings:function(Ee,de){1&Ee&&e.NdJ("input",function(he){return de.onInput(he.target.value)})("blur",function(){return de._onBlur()})},inputs:{value:"value"},features:[e._Bn([{provide:T.Jk,useExisting:O},{provide:s.JU,useExisting:(0,e.Gpc)(()=>O),multi:!0}])]}),b})()},7049:(ri,mt,p)=>{p.d(mt,{p:()=>s});var e=p(4650);let s=(()=>{const l=class{transform(O=0,X=2){if(0===O)return"0 Bytes";const Ee=X||2,Be=Math.floor(Math.log(O)/Math.log(1024));return parseFloat((O/Math.pow(1024,Be)).toFixed(Ee))+" "+["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][Be]}};let T=l;return l.\u0275fac=function(X){return new(X||l)},l.\u0275pipe=e.Yjl({name:"filesize",type:l,pure:!0}),T})()},7729:(ri,mt,p)=>{p.d(mt,{z:()=>T});var e=p(4650),s=p(1481);let T=(()=>{const b=class{constructor(X){this.sanitizer=X}transform(X){return this.sanitizer.bypassSecurityTrustHtml(X)}};let l=b;return b.\u0275fac=function(q){return new(q||b)(e.Y36(s.H7,16))},b.\u0275pipe=e.Yjl({name:"safeHtml",type:b,pure:!0}),l})()},9110:(ri,mt,p)=>{p.d(mt,{W:()=>s});var e=p(4650);let s=(()=>{const l=class{transform(O,X=25,q=""){return O.length>X?O.substring(0,X)+q:O}};let T=l;return l.\u0275fac=function(X){return new(X||l)},l.\u0275pipe=e.Yjl({name:"truncate",type:l,pure:!0}),T})()},1135:(ri,mt,p)=>{p.d(mt,{X:()=>s});var e=p(7579);class s extends e.x{constructor(l){super(),this._value=l}get value(){return this.getValue()}_subscribe(l){const b=super._subscribe(l);return!b.closed&&l.next(this._value),b}getValue(){const{hasError:l,thrownError:b,_value:O}=this;if(l)throw b;return this._throwIfClosed(),O}next(l){super.next(this._value=l)}}},9751:(ri,mt,p)=>{p.d(mt,{y:()=>q});var e=p(930),s=p(727),T=p(8822),l=p(9635),b=p(2416),O=p(576),X=p(2806);let q=(()=>{class he{constructor(He){He&&(this._subscribe=He)}lift(He){const Qe=new he;return Qe.source=this,Qe.operator=He,Qe}subscribe(He,Qe,pt){const Re=function Be(he){return he&&he instanceof e.Lv||function de(he){return he&&(0,O.m)(he.next)&&(0,O.m)(he.error)&&(0,O.m)(he.complete)}(he)&&(0,s.Nn)(he)}(He)?He:new e.Hp(He,Qe,pt);return(0,X.x)(()=>{const{operator:ze,source:Me}=this;Re.add(ze?ze.call(Re,Me):Me?this._subscribe(Re):this._trySubscribe(Re))}),Re}_trySubscribe(He){try{return this._subscribe(He)}catch(Qe){He.error(Qe)}}forEach(He,Qe){return new(Qe=Ee(Qe))((pt,Re)=>{const ze=new e.Hp({next:Me=>{try{He(Me)}catch(Pe){Re(Pe),ze.unsubscribe()}},error:Re,complete:pt});this.subscribe(ze)})}_subscribe(He){var Qe;return null===(Qe=this.source)||void 0===Qe?void 0:Qe.subscribe(He)}[T.L](){return this}pipe(...He){return(0,l.U)(He)(this)}toPromise(He){return new(He=Ee(He))((Qe,pt)=>{let Re;this.subscribe(ze=>Re=ze,ze=>pt(ze),()=>Qe(Re))})}}return he.create=Le=>new he(Le),he})();function Ee(he){var Le;return null!==(Le=he??b.v.Promise)&&void 0!==Le?Le:Promise}},4707:(ri,mt,p)=>{p.d(mt,{t:()=>T});var e=p(7579),s=p(6063);class T extends e.x{constructor(b=1/0,O=1/0,X=s.l){super(),this._bufferSize=b,this._windowTime=O,this._timestampProvider=X,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=O===1/0,this._bufferSize=Math.max(1,b),this._windowTime=Math.max(1,O)}next(b){const{isStopped:O,_buffer:X,_infiniteTimeWindow:q,_timestampProvider:Ee,_windowTime:de}=this;O||(X.push(b),!q&&X.push(Ee.now()+de)),this._trimBuffer(),super.next(b)}_subscribe(b){this._throwIfClosed(),this._trimBuffer();const O=this._innerSubscribe(b),{_infiniteTimeWindow:X,_buffer:q}=this,Ee=q.slice();for(let de=0;de<Ee.length&&!b.closed;de+=X?1:2)b.next(Ee[de]);return this._checkFinalizedStatuses(b),O}_trimBuffer(){const{_bufferSize:b,_timestampProvider:O,_buffer:X,_infiniteTimeWindow:q}=this,Ee=(q?1:2)*b;if(b<1/0&&Ee<X.length&&X.splice(0,X.length-Ee),!q){const de=O.now();let Be=0;for(let he=1;he<X.length&&X[he]<=de;he+=2)Be=he;Be&&X.splice(0,Be+1)}}}},7579:(ri,mt,p)=>{p.d(mt,{x:()=>X});var e=p(9751),s=p(727);const l=(0,p(3888).d)(Ee=>function(){Ee(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var b=p(8737),O=p(2806);let X=(()=>{class Ee extends e.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(Be){const he=new q(this,this);return he.operator=Be,he}_throwIfClosed(){if(this.closed)throw new l}next(Be){(0,O.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const he of this.currentObservers)he.next(Be)}})}error(Be){(0,O.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=Be;const{observers:he}=this;for(;he.length;)he.shift().error(Be)}})}complete(){(0,O.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:Be}=this;for(;Be.length;)Be.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var Be;return(null===(Be=this.observers)||void 0===Be?void 0:Be.length)>0}_trySubscribe(Be){return this._throwIfClosed(),super._trySubscribe(Be)}_subscribe(Be){return this._throwIfClosed(),this._checkFinalizedStatuses(Be),this._innerSubscribe(Be)}_innerSubscribe(Be){const{hasError:he,isStopped:Le,observers:He}=this;return he||Le?s.Lc:(this.currentObservers=null,He.push(Be),new s.w0(()=>{this.currentObservers=null,(0,b.P)(He,Be)}))}_checkFinalizedStatuses(Be){const{hasError:he,thrownError:Le,isStopped:He}=this;he?Be.error(Le):He&&Be.complete()}asObservable(){const Be=new e.y;return Be.source=this,Be}}return Ee.create=(de,Be)=>new q(de,Be),Ee})();class q extends X{constructor(de,Be){super(),this.destination=de,this.source=Be}next(de){var Be,he;null===(he=null===(Be=this.destination)||void 0===Be?void 0:Be.next)||void 0===he||he.call(Be,de)}error(de){var Be,he;null===(he=null===(Be=this.destination)||void 0===Be?void 0:Be.error)||void 0===he||he.call(Be,de)}complete(){var de,Be;null===(Be=null===(de=this.destination)||void 0===de?void 0:de.complete)||void 0===Be||Be.call(de)}_subscribe(de){var Be,he;return null!==(he=null===(Be=this.source)||void 0===Be?void 0:Be.subscribe(de))&&void 0!==he?he:s.Lc}}},930:(ri,mt,p)=>{p.d(mt,{Hp:()=>pt,Lv:()=>he});var e=p(576),s=p(727),T=p(2416),l=p(7849),b=p(5032);const O=Ee("C",void 0,void 0);function Ee(_e,ge,le){return{kind:_e,value:ge,error:le}}var de=p(3410),Be=p(2806);class he extends s.w0{constructor(ge){super(),this.isStopped=!1,ge?(this.destination=ge,(0,s.Nn)(ge)&&ge.add(this)):this.destination=Pe}static create(ge,le,Se){return new pt(ge,le,Se)}next(ge){this.isStopped?Me(function q(_e){return Ee("N",_e,void 0)}(ge),this):this._next(ge)}error(ge){this.isStopped?Me(function X(_e){return Ee("E",void 0,_e)}(ge),this):(this.isStopped=!0,this._error(ge))}complete(){this.isStopped?Me(O,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(ge){this.destination.next(ge)}_error(ge){try{this.destination.error(ge)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Le=Function.prototype.bind;function He(_e,ge){return Le.call(_e,ge)}class Qe{constructor(ge){this.partialObserver=ge}next(ge){const{partialObserver:le}=this;if(le.next)try{le.next(ge)}catch(Se){Re(Se)}}error(ge){const{partialObserver:le}=this;if(le.error)try{le.error(ge)}catch(Se){Re(Se)}else Re(ge)}complete(){const{partialObserver:ge}=this;if(ge.complete)try{ge.complete()}catch(le){Re(le)}}}class pt extends he{constructor(ge,le,Se){let je;if(super(),(0,e.m)(ge)||!ge)je={next:ge??void 0,error:le??void 0,complete:Se??void 0};else{let Ke;this&&T.v.useDeprecatedNextContext?(Ke=Object.create(ge),Ke.unsubscribe=()=>this.unsubscribe(),je={next:ge.next&&He(ge.next,Ke),error:ge.error&&He(ge.error,Ke),complete:ge.complete&&He(ge.complete,Ke)}):je=ge}this.destination=new Qe(je)}}function Re(_e){T.v.useDeprecatedSynchronousErrorHandling?(0,Be.O)(_e):(0,l.h)(_e)}function Me(_e,ge){const{onStoppedNotification:le}=T.v;le&&de.z.setTimeout(()=>le(_e,ge))}const Pe={closed:!0,next:b.Z,error:function ze(_e){throw _e},complete:b.Z}},727:(ri,mt,p)=>{p.d(mt,{Lc:()=>O,w0:()=>b,Nn:()=>X});var e=p(576);const T=(0,p(3888).d)(Ee=>function(Be){Ee(this),this.message=Be?`${Be.length} errors occurred during unsubscription:\n${Be.map((he,Le)=>`${Le+1}) ${he.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=Be});var l=p(8737);class b{constructor(de){this.initialTeardown=de,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let de;if(!this.closed){this.closed=!0;const{_parentage:Be}=this;if(Be)if(this._parentage=null,Array.isArray(Be))for(const He of Be)He.remove(this);else Be.remove(this);const{initialTeardown:he}=this;if((0,e.m)(he))try{he()}catch(He){de=He instanceof T?He.errors:[He]}const{_finalizers:Le}=this;if(Le){this._finalizers=null;for(const He of Le)try{q(He)}catch(Qe){de=de??[],Qe instanceof T?de=[...de,...Qe.errors]:de.push(Qe)}}if(de)throw new T(de)}}add(de){var Be;if(de&&de!==this)if(this.closed)q(de);else{if(de instanceof b){if(de.closed||de._hasParent(this))return;de._addParent(this)}(this._finalizers=null!==(Be=this._finalizers)&&void 0!==Be?Be:[]).push(de)}}_hasParent(de){const{_parentage:Be}=this;return Be===de||Array.isArray(Be)&&Be.includes(de)}_addParent(de){const{_parentage:Be}=this;this._parentage=Array.isArray(Be)?(Be.push(de),Be):Be?[Be,de]:de}_removeParent(de){const{_parentage:Be}=this;Be===de?this._parentage=null:Array.isArray(Be)&&(0,l.P)(Be,de)}remove(de){const{_finalizers:Be}=this;Be&&(0,l.P)(Be,de),de instanceof b&&de._removeParent(this)}}b.EMPTY=(()=>{const Ee=new b;return Ee.closed=!0,Ee})();const O=b.EMPTY;function X(Ee){return Ee instanceof b||Ee&&"closed"in Ee&&(0,e.m)(Ee.remove)&&(0,e.m)(Ee.add)&&(0,e.m)(Ee.unsubscribe)}function q(Ee){(0,e.m)(Ee)?Ee():Ee.unsubscribe()}},2416:(ri,mt,p)=>{p.d(mt,{v:()=>e});const e={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},4033:(ri,mt,p)=>{p.d(mt,{c:()=>O});var e=p(9751),s=p(727),T=p(8343),l=p(5403),b=p(4482);class O extends e.y{constructor(q,Ee){super(),this.source=q,this.subjectFactory=Ee,this._subject=null,this._refCount=0,this._connection=null,(0,b.A)(q)&&(this.lift=q.lift)}_subscribe(q){return this.getSubject().subscribe(q)}getSubject(){const q=this._subject;return(!q||q.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:q}=this;this._subject=this._connection=null,q?.unsubscribe()}connect(){let q=this._connection;if(!q){q=this._connection=new s.w0;const Ee=this.getSubject();q.add(this.source.subscribe((0,l.x)(Ee,void 0,()=>{this._teardown(),Ee.complete()},de=>{this._teardown(),Ee.error(de)},()=>this._teardown()))),q.closed&&(this._connection=null,q=s.w0.EMPTY)}return q}refCount(){return(0,T.x)()(this)}}},9841:(ri,mt,p)=>{p.d(mt,{a:()=>de});var e=p(9751),s=p(4742),T=p(2076),l=p(4671),b=p(3268),O=p(3269),X=p(1810),q=p(5403),Ee=p(9672);function de(...Le){const He=(0,O.yG)(Le),Qe=(0,O.jO)(Le),{args:pt,keys:Re}=(0,s.D)(Le);if(0===pt.length)return(0,T.D)([],He);const ze=new e.y(function Be(Le,He,Qe=l.y){return pt=>{he(He,()=>{const{length:Re}=Le,ze=new Array(Re);let Me=Re,Pe=Re;for(let _e=0;_e<Re;_e++)he(He,()=>{const ge=(0,T.D)(Le[_e],He);let le=!1;ge.subscribe((0,q.x)(pt,Se=>{ze[_e]=Se,le||(le=!0,Pe--),Pe||pt.next(Qe(ze.slice()))},()=>{--Me||pt.complete()}))},pt)},pt)}}(pt,He,Re?Me=>(0,X.n)(Re,Me):l.y));return Qe?ze.pipe((0,b.Z)(Qe)):ze}function he(Le,He,Qe){Le?(0,Ee.f)(Qe,Le,He):He()}},7272:(ri,mt,p)=>{p.d(mt,{z:()=>b});var e=p(8189),T=p(3269),l=p(2076);function b(...O){return function s(){return(0,e.J)(1)}()((0,l.D)(O,(0,T.yG)(O)))}},9770:(ri,mt,p)=>{p.d(mt,{P:()=>T});var e=p(9751),s=p(8421);function T(l){return new e.y(b=>{(0,s.Xf)(l()).subscribe(b)})}},515:(ri,mt,p)=>{p.d(mt,{E:()=>s});const s=new(p(9751).y)(b=>b.complete())},4128:(ri,mt,p)=>{p.d(mt,{D:()=>q});var e=p(9751),s=p(4742),T=p(8421),l=p(3269),b=p(5403),O=p(3268),X=p(1810);function q(...Ee){const de=(0,l.jO)(Ee),{args:Be,keys:he}=(0,s.D)(Ee),Le=new e.y(He=>{const{length:Qe}=Be;if(!Qe)return void He.complete();const pt=new Array(Qe);let Re=Qe,ze=Qe;for(let Me=0;Me<Qe;Me++){let Pe=!1;(0,T.Xf)(Be[Me]).subscribe((0,b.x)(He,_e=>{Pe||(Pe=!0,ze--),pt[Me]=_e},()=>Re--,void 0,()=>{(!Re||!Pe)&&(ze||He.next(he?(0,X.n)(he,pt):pt),He.complete())}))}});return de?Le.pipe((0,O.Z)(de)):Le}},2076:(ri,mt,p)=>{p.d(mt,{D:()=>Se});var e=p(8421),s=p(9672),T=p(4482),l=p(5403);function b(je,Ke=0){return(0,T.e)((Ge,vt)=>{Ge.subscribe((0,l.x)(vt,xe=>(0,s.f)(vt,je,()=>vt.next(xe),Ke),()=>(0,s.f)(vt,je,()=>vt.complete(),Ke),xe=>(0,s.f)(vt,je,()=>vt.error(xe),Ke)))})}function O(je,Ke=0){return(0,T.e)((Ge,vt)=>{vt.add(je.schedule(()=>Ge.subscribe(vt),Ke))})}var Ee=p(9751),Be=p(2202),he=p(576);function He(je,Ke){if(!je)throw new Error("Iterable cannot be null");return new Ee.y(Ge=>{(0,s.f)(Ge,Ke,()=>{const vt=je[Symbol.asyncIterator]();(0,s.f)(Ge,Ke,()=>{vt.next().then(xe=>{xe.done?Ge.complete():Ge.next(xe.value)})},0,!0)})})}var Qe=p(3670),pt=p(8239),Re=p(1144),ze=p(6495),Me=p(2206),Pe=p(4532),_e=p(3260);function Se(je,Ke){return Ke?function le(je,Ke){if(null!=je){if((0,Qe.c)(je))return function X(je,Ke){return(0,e.Xf)(je).pipe(O(Ke),b(Ke))}(je,Ke);if((0,Re.z)(je))return function de(je,Ke){return new Ee.y(Ge=>{let vt=0;return Ke.schedule(function(){vt===je.length?Ge.complete():(Ge.next(je[vt++]),Ge.closed||this.schedule())})})}(je,Ke);if((0,pt.t)(je))return function q(je,Ke){return(0,e.Xf)(je).pipe(O(Ke),b(Ke))}(je,Ke);if((0,Me.D)(je))return He(je,Ke);if((0,ze.T)(je))return function Le(je,Ke){return new Ee.y(Ge=>{let vt;return(0,s.f)(Ge,Ke,()=>{vt=je[Be.h](),(0,s.f)(Ge,Ke,()=>{let xe,kt;try{({value:xe,done:kt}=vt.next())}catch(rt){return void Ge.error(rt)}kt?Ge.complete():Ge.next(xe)},0,!0)}),()=>(0,he.m)(vt?.return)&&vt.return()})}(je,Ke);if((0,_e.L)(je))return function ge(je,Ke){return He((0,_e.Q)(je),Ke)}(je,Ke)}throw(0,Pe.z)(je)}(je,Ke):(0,e.Xf)(je)}},4968:(ri,mt,p)=>{p.d(mt,{R:()=>de});var e=p(8421),s=p(9751),T=p(5577),l=p(1144),b=p(576),O=p(3268);const X=["addListener","removeListener"],q=["addEventListener","removeEventListener"],Ee=["on","off"];function de(Qe,pt,Re,ze){if((0,b.m)(Re)&&(ze=Re,Re=void 0),ze)return de(Qe,pt,Re).pipe((0,O.Z)(ze));const[Me,Pe]=function He(Qe){return(0,b.m)(Qe.addEventListener)&&(0,b.m)(Qe.removeEventListener)}(Qe)?q.map(_e=>ge=>Qe[_e](pt,ge,Re)):function he(Qe){return(0,b.m)(Qe.addListener)&&(0,b.m)(Qe.removeListener)}(Qe)?X.map(Be(Qe,pt)):function Le(Qe){return(0,b.m)(Qe.on)&&(0,b.m)(Qe.off)}(Qe)?Ee.map(Be(Qe,pt)):[];if(!Me&&(0,l.z)(Qe))return(0,T.z)(_e=>de(_e,pt,Re))((0,e.Xf)(Qe));if(!Me)throw new TypeError("Invalid event target");return new s.y(_e=>{const ge=(...le)=>_e.next(1<le.length?le:le[0]);return Me(ge),()=>Pe(ge)})}function Be(Qe,pt){return Re=>ze=>Qe[Re](pt,ze)}},8421:(ri,mt,p)=>{p.d(mt,{Xf:()=>Le});var e=p(7582),s=p(1144),T=p(8239),l=p(9751),b=p(3670),O=p(2206),X=p(4532),q=p(6495),Ee=p(3260),de=p(576),Be=p(7849),he=p(8822);function Le(_e){if(_e instanceof l.y)return _e;if(null!=_e){if((0,b.c)(_e))return function He(_e){return new l.y(ge=>{const le=_e[he.L]();if((0,de.m)(le.subscribe))return le.subscribe(ge);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(_e);if((0,s.z)(_e))return function Qe(_e){return new l.y(ge=>{for(let le=0;le<_e.length&&!ge.closed;le++)ge.next(_e[le]);ge.complete()})}(_e);if((0,T.t)(_e))return function pt(_e){return new l.y(ge=>{_e.then(le=>{ge.closed||(ge.next(le),ge.complete())},le=>ge.error(le)).then(null,Be.h)})}(_e);if((0,O.D)(_e))return ze(_e);if((0,q.T)(_e))return function Re(_e){return new l.y(ge=>{for(const le of _e)if(ge.next(le),ge.closed)return;ge.complete()})}(_e);if((0,Ee.L)(_e))return function Me(_e){return ze((0,Ee.Q)(_e))}(_e)}throw(0,X.z)(_e)}function ze(_e){return new l.y(ge=>{(function Pe(_e,ge){var le,Se,je,Ke;return(0,e.mG)(this,void 0,void 0,function*(){try{for(le=(0,e.KL)(_e);!(Se=yield le.next()).done;)if(ge.next(Se.value),ge.closed)return}catch(Ge){je={error:Ge}}finally{try{Se&&!Se.done&&(Ke=le.return)&&(yield Ke.call(le))}finally{if(je)throw je.error}}ge.complete()})})(_e,ge).catch(le=>ge.error(le))})}},6451:(ri,mt,p)=>{p.d(mt,{T:()=>O});var e=p(8189),s=p(8421),T=p(515),l=p(3269),b=p(2076);function O(...X){const q=(0,l.yG)(X),Ee=(0,l._6)(X,1/0),de=X;return de.length?1===de.length?(0,s.Xf)(de[0]):(0,e.J)(Ee)((0,b.D)(de,q)):T.E}},9646:(ri,mt,p)=>{p.d(mt,{of:()=>T});var e=p(3269),s=p(2076);function T(...l){const b=(0,e.yG)(l);return(0,s.D)(l,b)}},2843:(ri,mt,p)=>{p.d(mt,{_:()=>T});var e=p(9751),s=p(576);function T(l,b){const O=(0,s.m)(l)?l:()=>l,X=q=>q.error(O());return new e.y(b?q=>b.schedule(X,0,q):X)}},5963:(ri,mt,p)=>{p.d(mt,{H:()=>b});var e=p(9751),s=p(4986),T=p(3532);function b(O=0,X,q=s.P){let Ee=-1;return null!=X&&((0,T.K)(X)?q=X:Ee=X),new e.y(de=>{let Be=function l(O){return O instanceof Date&&!isNaN(O)}(O)?+O-q.now():O;Be<0&&(Be=0);let he=0;return q.schedule(function(){de.closed||(de.next(he++),0<=Ee?this.schedule(void 0,Ee):de.complete())},Be)})}},5403:(ri,mt,p)=>{p.d(mt,{x:()=>s});var e=p(930);function s(l,b,O,X,q){return new T(l,b,O,X,q)}class T extends e.Lv{constructor(b,O,X,q,Ee,de){super(b),this.onFinalize=Ee,this.shouldUnsubscribe=de,this._next=O?function(Be){try{O(Be)}catch(he){b.error(he)}}:super._next,this._error=q?function(Be){try{q(Be)}catch(he){b.error(he)}finally{this.unsubscribe()}}:super._error,this._complete=X?function(){try{X()}catch(Be){b.error(Be)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var b;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:O}=this;super.unsubscribe(),!O&&(null===(b=this.onFinalize)||void 0===b||b.call(this))}}}},3601:(ri,mt,p)=>{p.d(mt,{e:()=>X});var e=p(4986),s=p(4482),T=p(8421),l=p(5403),O=p(5963);function X(q,Ee=e.z){return function b(q){return(0,s.e)((Ee,de)=>{let Be=!1,he=null,Le=null,He=!1;const Qe=()=>{if(Le?.unsubscribe(),Le=null,Be){Be=!1;const Re=he;he=null,de.next(Re)}He&&de.complete()},pt=()=>{Le=null,He&&de.complete()};Ee.subscribe((0,l.x)(de,Re=>{Be=!0,he=Re,Le||(0,T.Xf)(q(Re)).subscribe(Le=(0,l.x)(de,Qe,pt))},()=>{He=!0,(!Be||!Le||Le.closed)&&de.complete()}))})}(()=>(0,O.H)(q,Ee))}},262:(ri,mt,p)=>{p.d(mt,{K:()=>l});var e=p(8421),s=p(5403),T=p(4482);function l(b){return(0,T.e)((O,X)=>{let de,q=null,Ee=!1;q=O.subscribe((0,s.x)(X,void 0,void 0,Be=>{de=(0,e.Xf)(b(Be,l(b)(O))),q?(q.unsubscribe(),q=null,de.subscribe(X)):Ee=!0})),Ee&&(q.unsubscribe(),q=null,de.subscribe(X))})}},4351:(ri,mt,p)=>{p.d(mt,{b:()=>T});var e=p(5577),s=p(576);function T(l,b){return(0,s.m)(b)?(0,e.z)(l,b,1):(0,e.z)(l,1)}},8372:(ri,mt,p)=>{p.d(mt,{b:()=>l});var e=p(4986),s=p(4482),T=p(5403);function l(b,O=e.z){return(0,s.e)((X,q)=>{let Ee=null,de=null,Be=null;const he=()=>{if(Ee){Ee.unsubscribe(),Ee=null;const He=de;de=null,q.next(He)}};function Le(){const He=Be+b,Qe=O.now();if(Qe<He)return Ee=this.schedule(void 0,He-Qe),void q.add(Ee);he()}X.subscribe((0,T.x)(q,He=>{de=He,Be=O.now(),Ee||(Ee=O.schedule(Le,b),q.add(Ee))},()=>{he(),q.complete()},void 0,()=>{de=Ee=null}))})}},1005:(ri,mt,p)=>{p.d(mt,{g:()=>he});var e=p(4986),s=p(7272),T=p(5698),l=p(4482),b=p(5403),O=p(5032),q=p(9718),Ee=p(5577);function de(Le,He){return He?Qe=>(0,s.z)(He.pipe((0,T.q)(1),function X(){return(0,l.e)((Le,He)=>{Le.subscribe((0,b.x)(He,O.Z))})}()),Qe.pipe(de(Le))):(0,Ee.z)((Qe,pt)=>Le(Qe,pt).pipe((0,T.q)(1),(0,q.h)(Qe)))}var Be=p(5963);function he(Le,He=e.z){const Qe=(0,Be.H)(Le,He);return de(()=>Qe)}},1884:(ri,mt,p)=>{p.d(mt,{x:()=>l});var e=p(4671),s=p(4482),T=p(5403);function l(O,X=e.y){return O=O??b,(0,s.e)((q,Ee)=>{let de,Be=!0;q.subscribe((0,T.x)(Ee,he=>{const Le=X(he);(Be||!O(de,Le))&&(Be=!1,de=Le,Ee.next(he))}))})}function b(O,X){return O===X}},9300:(ri,mt,p)=>{p.d(mt,{h:()=>T});var e=p(4482),s=p(5403);function T(l,b){return(0,e.e)((O,X)=>{let q=0;O.subscribe((0,s.x)(X,Ee=>l.call(b,Ee,q++)&&X.next(Ee)))})}},8746:(ri,mt,p)=>{p.d(mt,{x:()=>s});var e=p(4482);function s(T){return(0,e.e)((l,b)=>{try{l.subscribe(b)}finally{b.add(T)}})}},4004:(ri,mt,p)=>{p.d(mt,{U:()=>T});var e=p(4482),s=p(5403);function T(l,b){return(0,e.e)((O,X)=>{let q=0;O.subscribe((0,s.x)(X,Ee=>{X.next(l.call(b,Ee,q++))}))})}},9718:(ri,mt,p)=>{p.d(mt,{h:()=>s});var e=p(4004);function s(T){return(0,e.U)(()=>T)}},8189:(ri,mt,p)=>{p.d(mt,{J:()=>T});var e=p(5577),s=p(4671);function T(l=1/0){return(0,e.z)(s.y,l)}},5577:(ri,mt,p)=>{p.d(mt,{z:()=>q});var e=p(4004),s=p(8421),T=p(4482),l=p(9672),b=p(5403),X=p(576);function q(Ee,de,Be=1/0){return(0,X.m)(de)?q((he,Le)=>(0,e.U)((He,Qe)=>de(he,He,Le,Qe))((0,s.Xf)(Ee(he,Le))),Be):("number"==typeof de&&(Be=de),(0,T.e)((he,Le)=>function O(Ee,de,Be,he,Le,He,Qe,pt){const Re=[];let ze=0,Me=0,Pe=!1;const _e=()=>{Pe&&!Re.length&&!ze&&de.complete()},ge=Se=>ze<he?le(Se):Re.push(Se),le=Se=>{He&&de.next(Se),ze++;let je=!1;(0,s.Xf)(Be(Se,Me++)).subscribe((0,b.x)(de,Ke=>{Le?.(Ke),He?ge(Ke):de.next(Ke)},()=>{je=!0},void 0,()=>{if(je)try{for(ze--;Re.length&&ze<he;){const Ke=Re.shift();Qe?(0,l.f)(de,Qe,()=>le(Ke)):le(Ke)}_e()}catch(Ke){de.error(Ke)}}))};return Ee.subscribe((0,b.x)(de,ge,()=>{Pe=!0,_e()})),()=>{pt?.()}}(he,Le,Ee,Be)))}},8343:(ri,mt,p)=>{p.d(mt,{x:()=>T});var e=p(4482),s=p(5403);function T(){return(0,e.e)((l,b)=>{let O=null;l._refCount++;const X=(0,s.x)(b,void 0,void 0,void 0,()=>{if(!l||l._refCount<=0||0<--l._refCount)return void(O=null);const q=l._connection,Ee=O;O=null,q&&(!Ee||q===Ee)&&q.unsubscribe(),b.unsubscribe()});l.subscribe(X),X.closed||(O=l.connect())})}},3099:(ri,mt,p)=>{p.d(mt,{B:()=>b});var e=p(8421),s=p(7579),T=p(930),l=p(4482);function b(X={}){const{connector:q=(()=>new s.x),resetOnError:Ee=!0,resetOnComplete:de=!0,resetOnRefCountZero:Be=!0}=X;return he=>{let Le,He,Qe,pt=0,Re=!1,ze=!1;const Me=()=>{He?.unsubscribe(),He=void 0},Pe=()=>{Me(),Le=Qe=void 0,Re=ze=!1},_e=()=>{const ge=Le;Pe(),ge?.unsubscribe()};return(0,l.e)((ge,le)=>{pt++,!ze&&!Re&&Me();const Se=Qe=Qe??q();le.add(()=>{pt--,0===pt&&!ze&&!Re&&(He=O(_e,Be))}),Se.subscribe(le),!Le&&pt>0&&(Le=new T.Hp({next:je=>Se.next(je),error:je=>{ze=!0,Me(),He=O(Pe,Ee,je),Se.error(je)},complete:()=>{Re=!0,Me(),He=O(Pe,de),Se.complete()}}),(0,e.Xf)(ge).subscribe(Le))})(he)}}function O(X,q,...Ee){if(!0===q)return void X();if(!1===q)return;const de=new T.Hp({next:()=>{de.unsubscribe(),X()}});return q(...Ee).subscribe(de)}},5684:(ri,mt,p)=>{p.d(mt,{T:()=>s});var e=p(9300);function s(T){return(0,e.h)((l,b)=>T<=b)}},8675:(ri,mt,p)=>{p.d(mt,{O:()=>l});var e=p(7272),s=p(3269),T=p(4482);function l(...b){const O=(0,s.yG)(b);return(0,T.e)((X,q)=>{(O?(0,e.z)(b,X,O):(0,e.z)(b,X)).subscribe(q)})}},3900:(ri,mt,p)=>{p.d(mt,{w:()=>l});var e=p(8421),s=p(4482),T=p(5403);function l(b,O){return(0,s.e)((X,q)=>{let Ee=null,de=0,Be=!1;const he=()=>Be&&!Ee&&q.complete();X.subscribe((0,T.x)(q,Le=>{Ee?.unsubscribe();let He=0;const Qe=de++;(0,e.Xf)(b(Le,Qe)).subscribe(Ee=(0,T.x)(q,pt=>q.next(O?O(Le,pt,Qe,He++):pt),()=>{Ee=null,he()}))},()=>{Be=!0,he()}))})}},5698:(ri,mt,p)=>{p.d(mt,{q:()=>l});var e=p(515),s=p(4482),T=p(5403);function l(b){return b<=0?()=>e.E:(0,s.e)((O,X)=>{let q=0;O.subscribe((0,T.x)(X,Ee=>{++q<=b&&(X.next(Ee),b<=q&&X.complete())}))})}},2722:(ri,mt,p)=>{p.d(mt,{R:()=>b});var e=p(4482),s=p(5403),T=p(8421),l=p(5032);function b(O){return(0,e.e)((X,q)=>{(0,T.Xf)(O).subscribe((0,s.x)(q,()=>q.complete(),l.Z)),!q.closed&&X.subscribe(q)})}},2529:(ri,mt,p)=>{p.d(mt,{o:()=>T});var e=p(4482),s=p(5403);function T(l,b=!1){return(0,e.e)((O,X)=>{let q=0;O.subscribe((0,s.x)(X,Ee=>{const de=l(Ee,q++);(de||b)&&X.next(Ee),!de&&X.complete()}))})}},8505:(ri,mt,p)=>{p.d(mt,{b:()=>b});var e=p(576),s=p(4482),T=p(5403),l=p(4671);function b(O,X,q){const Ee=(0,e.m)(O)||X||q?{next:O,error:X,complete:q}:O;return Ee?(0,s.e)((de,Be)=>{var he;null===(he=Ee.subscribe)||void 0===he||he.call(Ee);let Le=!0;de.subscribe((0,T.x)(Be,He=>{var Qe;null===(Qe=Ee.next)||void 0===Qe||Qe.call(Ee,He),Be.next(He)},()=>{var He;Le=!1,null===(He=Ee.complete)||void 0===He||He.call(Ee),Be.complete()},He=>{var Qe;Le=!1,null===(Qe=Ee.error)||void 0===Qe||Qe.call(Ee,He),Be.error(He)},()=>{var He,Qe;Le&&(null===(He=Ee.unsubscribe)||void 0===He||He.call(Ee)),null===(Qe=Ee.finalize)||void 0===Qe||Qe.call(Ee)}))}):l.y}},4408:(ri,mt,p)=>{p.d(mt,{o:()=>b});var e=p(727);class s extends e.w0{constructor(X,q){super()}schedule(X,q=0){return this}}const T={setInterval(O,X,...q){const{delegate:Ee}=T;return Ee?.setInterval?Ee.setInterval(O,X,...q):setInterval(O,X,...q)},clearInterval(O){const{delegate:X}=T;return(X?.clearInterval||clearInterval)(O)},delegate:void 0};var l=p(8737);class b extends s{constructor(X,q){super(X,q),this.scheduler=X,this.work=q,this.pending=!1}schedule(X,q=0){var Ee;if(this.closed)return this;this.state=X;const de=this.id,Be=this.scheduler;return null!=de&&(this.id=this.recycleAsyncId(Be,de,q)),this.pending=!0,this.delay=q,this.id=null!==(Ee=this.id)&&void 0!==Ee?Ee:this.requestAsyncId(Be,this.id,q),this}requestAsyncId(X,q,Ee=0){return T.setInterval(X.flush.bind(X,this),Ee)}recycleAsyncId(X,q,Ee=0){if(null!=Ee&&this.delay===Ee&&!1===this.pending)return q;null!=q&&T.clearInterval(q)}execute(X,q){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const Ee=this._execute(X,q);if(Ee)return Ee;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(X,q){let de,Ee=!1;try{this.work(X)}catch(Be){Ee=!0,de=Be||new Error("Scheduled action threw falsy error")}if(Ee)return this.unsubscribe(),de}unsubscribe(){if(!this.closed){const{id:X,scheduler:q}=this,{actions:Ee}=q;this.work=this.state=this.scheduler=null,this.pending=!1,(0,l.P)(Ee,this),null!=X&&(this.id=this.recycleAsyncId(q,X,null)),this.delay=null,super.unsubscribe()}}}},7565:(ri,mt,p)=>{p.d(mt,{v:()=>T});var e=p(6063);class s{constructor(b,O=s.now){this.schedulerActionCtor=b,this.now=O}schedule(b,O=0,X){return new this.schedulerActionCtor(this,b).schedule(X,O)}}s.now=e.l.now;class T extends s{constructor(b,O=s.now){super(b,O),this.actions=[],this._active=!1}flush(b){const{actions:O}=this;if(this._active)return void O.push(b);let X;this._active=!0;do{if(X=b.execute(b.state,b.delay))break}while(b=O.shift());if(this._active=!1,X){for(;b=O.shift();)b.unsubscribe();throw X}}}},6406:(ri,mt,p)=>{p.d(mt,{Z:()=>X});var e=p(4408),s=p(727);const T={schedule(Ee){let de=requestAnimationFrame,Be=cancelAnimationFrame;const{delegate:he}=T;he&&(de=he.requestAnimationFrame,Be=he.cancelAnimationFrame);const Le=de(He=>{Be=void 0,Ee(He)});return new s.w0(()=>Be?.(Le))},requestAnimationFrame(...Ee){const{delegate:de}=T;return(de?.requestAnimationFrame||requestAnimationFrame)(...Ee)},cancelAnimationFrame(...Ee){const{delegate:de}=T;return(de?.cancelAnimationFrame||cancelAnimationFrame)(...Ee)},delegate:void 0};var b=p(7565);const X=new class O extends b.v{flush(de){this._active=!0;const Be=this._scheduled;this._scheduled=void 0;const{actions:he}=this;let Le;de=de||he.shift();do{if(Le=de.execute(de.state,de.delay))break}while((de=he[0])&&de.id===Be&&he.shift());if(this._active=!1,Le){for(;(de=he[0])&&de.id===Be&&he.shift();)de.unsubscribe();throw Le}}}(class l extends e.o{constructor(de,Be){super(de,Be),this.scheduler=de,this.work=Be}requestAsyncId(de,Be,he=0){return null!==he&&he>0?super.requestAsyncId(de,Be,he):(de.actions.push(this),de._scheduled||(de._scheduled=T.requestAnimationFrame(()=>de.flush(void 0))))}recycleAsyncId(de,Be,he=0){var Le;if(null!=he?he>0:this.delay>0)return super.recycleAsyncId(de,Be,he);const{actions:He}=de;null!=Be&&(null===(Le=He[He.length-1])||void 0===Le?void 0:Le.id)!==Be&&(T.cancelAnimationFrame(Be),de._scheduled=void 0)}})},3101:(ri,mt,p)=>{p.d(mt,{E:()=>He});var e=p(4408);let T,s=1;const l={};function b(pt){return pt in l&&(delete l[pt],!0)}const O={setImmediate(pt){const Re=s++;return l[Re]=!0,T||(T=Promise.resolve()),T.then(()=>b(Re)&&pt()),Re},clearImmediate(pt){b(pt)}},{setImmediate:q,clearImmediate:Ee}=O,de={setImmediate(...pt){const{delegate:Re}=de;return(Re?.setImmediate||q)(...pt)},clearImmediate(pt){const{delegate:Re}=de;return(Re?.clearImmediate||Ee)(pt)},delegate:void 0};var he=p(7565);const He=new class Le extends he.v{flush(Re){this._active=!0;const ze=this._scheduled;this._scheduled=void 0;const{actions:Me}=this;let Pe;Re=Re||Me.shift();do{if(Pe=Re.execute(Re.state,Re.delay))break}while((Re=Me[0])&&Re.id===ze&&Me.shift());if(this._active=!1,Pe){for(;(Re=Me[0])&&Re.id===ze&&Me.shift();)Re.unsubscribe();throw Pe}}}(class Be extends e.o{constructor(Re,ze){super(Re,ze),this.scheduler=Re,this.work=ze}requestAsyncId(Re,ze,Me=0){return null!==Me&&Me>0?super.requestAsyncId(Re,ze,Me):(Re.actions.push(this),Re._scheduled||(Re._scheduled=de.setImmediate(Re.flush.bind(Re,void 0))))}recycleAsyncId(Re,ze,Me=0){var Pe;if(null!=Me?Me>0:this.delay>0)return super.recycleAsyncId(Re,ze,Me);const{actions:_e}=Re;null!=ze&&(null===(Pe=_e[_e.length-1])||void 0===Pe?void 0:Pe.id)!==ze&&(de.clearImmediate(ze),Re._scheduled=void 0)}})},4986:(ri,mt,p)=>{p.d(mt,{P:()=>l,z:()=>T});var e=p(4408);const T=new(p(7565).v)(e.o),l=T},6063:(ri,mt,p)=>{p.d(mt,{l:()=>e});const e={now:()=>(e.delegate||Date).now(),delegate:void 0}},3410:(ri,mt,p)=>{p.d(mt,{z:()=>e});const e={setTimeout(s,T,...l){const{delegate:b}=e;return b?.setTimeout?b.setTimeout(s,T,...l):setTimeout(s,T,...l)},clearTimeout(s){const{delegate:T}=e;return(T?.clearTimeout||clearTimeout)(s)},delegate:void 0}},2202:(ri,mt,p)=>{p.d(mt,{h:()=>s});const s=function e(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(ri,mt,p)=>{p.d(mt,{L:()=>e});const e="function"==typeof Symbol&&Symbol.observable||"@@observable"},3269:(ri,mt,p)=>{p.d(mt,{_6:()=>O,jO:()=>l,yG:()=>b});var e=p(576),s=p(3532);function T(X){return X[X.length-1]}function l(X){return(0,e.m)(T(X))?X.pop():void 0}function b(X){return(0,s.K)(T(X))?X.pop():void 0}function O(X,q){return"number"==typeof T(X)?X.pop():q}},4742:(ri,mt,p)=>{p.d(mt,{D:()=>b});const{isArray:e}=Array,{getPrototypeOf:s,prototype:T,keys:l}=Object;function b(X){if(1===X.length){const q=X[0];if(e(q))return{args:q,keys:null};if(function O(X){return X&&"object"==typeof X&&s(X)===T}(q)){const Ee=l(q);return{args:Ee.map(de=>q[de]),keys:Ee}}}return{args:X,keys:null}}},8737:(ri,mt,p)=>{function e(s,T){if(s){const l=s.indexOf(T);0<=l&&s.splice(l,1)}}p.d(mt,{P:()=>e})},3888:(ri,mt,p)=>{function e(s){const l=s(b=>{Error.call(b),b.stack=(new Error).stack});return l.prototype=Object.create(Error.prototype),l.prototype.constructor=l,l}p.d(mt,{d:()=>e})},1810:(ri,mt,p)=>{function e(s,T){return s.reduce((l,b,O)=>(l[b]=T[O],l),{})}p.d(mt,{n:()=>e})},2806:(ri,mt,p)=>{p.d(mt,{O:()=>l,x:()=>T});var e=p(2416);let s=null;function T(b){if(e.v.useDeprecatedSynchronousErrorHandling){const O=!s;if(O&&(s={errorThrown:!1,error:null}),b(),O){const{errorThrown:X,error:q}=s;if(s=null,X)throw q}}else b()}function l(b){e.v.useDeprecatedSynchronousErrorHandling&&s&&(s.errorThrown=!0,s.error=b)}},9672:(ri,mt,p)=>{function e(s,T,l,b=0,O=!1){const X=T.schedule(function(){l(),O?s.add(this.schedule(null,b)):this.unsubscribe()},b);if(s.add(X),!O)return X}p.d(mt,{f:()=>e})},4671:(ri,mt,p)=>{function e(s){return s}p.d(mt,{y:()=>e})},1144:(ri,mt,p)=>{p.d(mt,{z:()=>e});const e=s=>s&&"number"==typeof s.length&&"function"!=typeof s},2206:(ri,mt,p)=>{p.d(mt,{D:()=>s});var e=p(576);function s(T){return Symbol.asyncIterator&&(0,e.m)(T?.[Symbol.asyncIterator])}},576:(ri,mt,p)=>{function e(s){return"function"==typeof s}p.d(mt,{m:()=>e})},3670:(ri,mt,p)=>{p.d(mt,{c:()=>T});var e=p(8822),s=p(576);function T(l){return(0,s.m)(l[e.L])}},6495:(ri,mt,p)=>{p.d(mt,{T:()=>T});var e=p(2202),s=p(576);function T(l){return(0,s.m)(l?.[e.h])}},5191:(ri,mt,p)=>{p.d(mt,{b:()=>T});var e=p(9751),s=p(576);function T(l){return!!l&&(l instanceof e.y||(0,s.m)(l.lift)&&(0,s.m)(l.subscribe))}},8239:(ri,mt,p)=>{p.d(mt,{t:()=>s});var e=p(576);function s(T){return(0,e.m)(T?.then)}},3260:(ri,mt,p)=>{p.d(mt,{L:()=>l,Q:()=>T});var e=p(7582),s=p(576);function T(b){return(0,e.FC)(this,arguments,function*(){const X=b.getReader();try{for(;;){const{value:q,done:Ee}=yield(0,e.qq)(X.read());if(Ee)return yield(0,e.qq)(void 0);yield yield(0,e.qq)(q)}}finally{X.releaseLock()}})}function l(b){return(0,s.m)(b?.getReader)}},3532:(ri,mt,p)=>{p.d(mt,{K:()=>s});var e=p(576);function s(T){return T&&(0,e.m)(T.schedule)}},4482:(ri,mt,p)=>{p.d(mt,{A:()=>s,e:()=>T});var e=p(576);function s(l){return(0,e.m)(l?.lift)}function T(l){return b=>{if(s(b))return b.lift(function(O){try{return l(O,this)}catch(X){this.error(X)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(ri,mt,p)=>{p.d(mt,{Z:()=>l});var e=p(4004);const{isArray:s}=Array;function l(b){return(0,e.U)(O=>function T(b,O){return s(O)?b(...O):b(O)}(b,O))}},5032:(ri,mt,p)=>{function e(){}p.d(mt,{Z:()=>e})},9635:(ri,mt,p)=>{p.d(mt,{U:()=>T,z:()=>s});var e=p(4671);function s(...l){return T(l)}function T(l){return 0===l.length?e.y:1===l.length?l[0]:function(O){return l.reduce((X,q)=>q(X),O)}}},7849:(ri,mt,p)=>{p.d(mt,{h:()=>T});var e=p(2416),s=p(3410);function T(l){s.z.setTimeout(()=>{const{onUnhandledError:b}=e.v;if(!b)throw l;b(l)})}},4532:(ri,mt,p)=>{function e(s){return new TypeError(`You provided ${null!==s&&"object"==typeof s?"an invalid object":`'${s}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}p.d(mt,{z:()=>e})},7340:(ri,mt,p)=>{p.d(mt,{F4:()=>de,IO:()=>Qe,LC:()=>s,SB:()=>Ee,X$:()=>l,ZE:()=>Me,ZN:()=>ze,_j:()=>e,eR:()=>Be,jt:()=>b,k1:()=>Pe,l3:()=>T,oB:()=>q,pV:()=>Le,ru:()=>O,vP:()=>X});class e{}class s{}const T="*";function l(_e,ge){return{type:7,name:_e,definitions:ge,options:{}}}function b(_e,ge=null){return{type:4,styles:ge,timings:_e}}function O(_e,ge=null){return{type:3,steps:_e,options:ge}}function X(_e,ge=null){return{type:2,steps:_e,options:ge}}function q(_e){return{type:6,styles:_e,offset:null}}function Ee(_e,ge,le){return{type:0,name:_e,styles:ge,options:le}}function de(_e){return{type:5,steps:_e}}function Be(_e,ge,le=null){return{type:1,expr:_e,animation:ge,options:le}}function Le(_e=null){return{type:9,options:_e}}function Qe(_e,ge,le=null){return{type:11,selector:_e,animation:ge,options:le}}function Re(_e){Promise.resolve().then(_e)}class ze{constructor(ge=0,le=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=ge+le}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ge=>ge()),this._onDoneFns=[])}onStart(ge){this._originalOnStartFns.push(ge),this._onStartFns.push(ge)}onDone(ge){this._originalOnDoneFns.push(ge),this._onDoneFns.push(ge)}onDestroy(ge){this._onDestroyFns.push(ge)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Re(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(ge=>ge()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(ge=>ge()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(ge){this._position=this.totalTime?ge*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(ge){const le="start"==ge?this._onStartFns:this._onDoneFns;le.forEach(Se=>Se()),le.length=0}}class Me{constructor(ge){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=ge;let le=0,Se=0,je=0;const Ke=this.players.length;0==Ke?Re(()=>this._onFinish()):this.players.forEach(Ge=>{Ge.onDone(()=>{++le==Ke&&this._onFinish()}),Ge.onDestroy(()=>{++Se==Ke&&this._onDestroy()}),Ge.onStart(()=>{++je==Ke&&this._onStart()})}),this.totalTime=this.players.reduce((Ge,vt)=>Math.max(Ge,vt.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ge=>ge()),this._onDoneFns=[])}init(){this.players.forEach(ge=>ge.init())}onStart(ge){this._onStartFns.push(ge)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(ge=>ge()),this._onStartFns=[])}onDone(ge){this._onDoneFns.push(ge)}onDestroy(ge){this._onDestroyFns.push(ge)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(ge=>ge.play())}pause(){this.players.forEach(ge=>ge.pause())}restart(){this.players.forEach(ge=>ge.restart())}finish(){this._onFinish(),this.players.forEach(ge=>ge.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(ge=>ge.destroy()),this._onDestroyFns.forEach(ge=>ge()),this._onDestroyFns=[])}reset(){this.players.forEach(ge=>ge.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(ge){const le=ge*this.totalTime;this.players.forEach(Se=>{const je=Se.totalTime?Math.min(1,le/Se.totalTime):1;Se.setPosition(je)})}getPosition(){const ge=this.players.reduce((le,Se)=>null===le||Se.totalTime>le.totalTime?Se:le,null);return null!=ge?ge.getPosition():0}beforeDestroy(){this.players.forEach(ge=>{ge.beforeDestroy&&ge.beforeDestroy()})}triggerCallback(ge){const le="start"==ge?this._onStartFns:this._onDoneFns;le.forEach(Se=>Se()),le.length=0}}const Pe="!"},2687:(ri,mt,p)=>{p.d(mt,{$s:()=>vt,Em:()=>yi,Kd:()=>Ae,X6:()=>yt,ic:()=>jt,kH:()=>be,mK:()=>zt,qV:()=>lt,qm:()=>gt,rt:()=>Rt,s1:()=>Wt,tE:()=>Vt,yG:()=>ve});var e=p(6895),s=p(4650),T=p(3353),l=p(7579),b=p(727),O=p(1135),X=p(9646),q=p(9521),Ee=p(8505),de=p(8372),Be=p(9300),he=p(4004),Le=p(5698),He=p(5684),Qe=p(1884),pt=p(2722),Re=p(1281),ze=p(9643),Me=p(2289);function le(se,z){return(se.getAttribute(z)||"").match(/\S+/g)||[]}const je="cdk-describedby-message",Ke="cdk-describedby-host";let Ge=0,vt=(()=>{class se{constructor(A,me){this._platform=me,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Ge++,this._document=A,this._id=(0,s.f3M)(s.AFp)+"-"+Ge++}describe(A,me,Ye){if(!this._canBeDescribed(A,me))return;const Ot=xe(me,Ye);"string"!=typeof me?(kt(me,this._id),this._messageRegistry.set(Ot,{messageElement:me,referenceCount:0})):this._messageRegistry.has(Ot)||this._createMessageElement(me,Ye),this._isElementDescribedByMessage(A,Ot)||this._addMessageReference(A,Ot)}removeDescription(A,me,Ye){if(!me||!this._isElementNode(A))return;const Ot=xe(me,Ye);if(this._isElementDescribedByMessage(A,Ot)&&this._removeMessageReference(A,Ot),"string"==typeof me){const ii=this._messageRegistry.get(Ot);ii&&0===ii.referenceCount&&this._deleteMessageElement(Ot)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const A=this._document.querySelectorAll(`[${Ke}="${this._id}"]`);for(let me=0;me<A.length;me++)this._removeCdkDescribedByReferenceIds(A[me]),A[me].removeAttribute(Ke);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(A,me){const Ye=this._document.createElement("div");kt(Ye,this._id),Ye.textContent=A,me&&Ye.setAttribute("role",me),this._createMessagesContainer(),this._messagesContainer.appendChild(Ye),this._messageRegistry.set(xe(A,me),{messageElement:Ye,referenceCount:0})}_deleteMessageElement(A){this._messageRegistry.get(A)?.messageElement?.remove(),this._messageRegistry.delete(A)}_createMessagesContainer(){if(this._messagesContainer)return;const A="cdk-describedby-message-container",me=this._document.querySelectorAll(`.${A}[platform="server"]`);for(let Ot=0;Ot<me.length;Ot++)me[Ot].remove();const Ye=this._document.createElement("div");Ye.style.visibility="hidden",Ye.classList.add(A),Ye.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&Ye.setAttribute("platform","server"),this._document.body.appendChild(Ye),this._messagesContainer=Ye}_removeCdkDescribedByReferenceIds(A){const me=le(A,"aria-describedby").filter(Ye=>0!=Ye.indexOf(je));A.setAttribute("aria-describedby",me.join(" "))}_addMessageReference(A,me){const Ye=this._messageRegistry.get(me);(function _e(se,z,A){const me=le(se,z);me.some(Ye=>Ye.trim()==A.trim())||(me.push(A.trim()),se.setAttribute(z,me.join(" ")))})(A,"aria-describedby",Ye.messageElement.id),A.setAttribute(Ke,this._id),Ye.referenceCount++}_removeMessageReference(A,me){const Ye=this._messageRegistry.get(me);Ye.referenceCount--,function ge(se,z,A){const Ye=le(se,z).filter(Ot=>Ot!=A.trim());Ye.length?se.setAttribute(z,Ye.join(" ")):se.removeAttribute(z)}(A,"aria-describedby",Ye.messageElement.id),A.removeAttribute(Ke)}_isElementDescribedByMessage(A,me){const Ye=le(A,"aria-describedby"),Ot=this._messageRegistry.get(me),ii=Ot&&Ot.messageElement.id;return!!ii&&-1!=Ye.indexOf(ii)}_canBeDescribed(A,me){if(!this._isElementNode(A))return!1;if(me&&"object"==typeof me)return!0;const Ye=null==me?"":`${me}`.trim(),Ot=A.getAttribute("aria-label");return!(!Ye||Ot&&Ot.trim()===Ye)}_isElementNode(A){return A.nodeType===this._document.ELEMENT_NODE}}return se.\u0275fac=function(A){return new(A||se)(s.LFG(e.K0),s.LFG(T.t4))},se.\u0275prov=s.Yz7({token:se,factory:se.\u0275fac,providedIn:"root"}),se})();function xe(se,z){return"string"==typeof se?`${z||""}/${se}`:se}function kt(se,z){se.id||(se.id=`${je}-${z}-${Ge++}`)}class rt{constructor(z){this._items=z,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new l.x,this._typeaheadSubscription=b.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=A=>A.disabled,this._pressedLetters=[],this.tabOut=new l.x,this.change=new l.x,z instanceof s.n_E&&(this._itemChangesSubscription=z.changes.subscribe(A=>{if(this._activeItem){const Ye=A.toArray().indexOf(this._activeItem);Ye>-1&&Ye!==this._activeItemIndex&&(this._activeItemIndex=Ye)}}))}skipPredicate(z){return this._skipPredicateFn=z,this}withWrap(z=!0){return this._wrap=z,this}withVerticalOrientation(z=!0){return this._vertical=z,this}withHorizontalOrientation(z){return this._horizontal=z,this}withAllowedModifierKeys(z){return this._allowedModifierKeys=z,this}withTypeAhead(z=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,Ee.b)(A=>this._pressedLetters.push(A)),(0,de.b)(z),(0,Be.h)(()=>this._pressedLetters.length>0),(0,he.U)(()=>this._pressedLetters.join(""))).subscribe(A=>{const me=this._getItemsArray();for(let Ye=1;Ye<me.length+1;Ye++){const Ot=(this._activeItemIndex+Ye)%me.length,ii=me[Ot];if(!this._skipPredicateFn(ii)&&0===ii.getLabel().toUpperCase().trim().indexOf(A)){this.setActiveItem(Ot);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(z=!0){return this._homeAndEnd=z,this}withPageUpDown(z=!0,A=10){return this._pageUpAndDown={enabled:z,delta:A},this}setActiveItem(z){const A=this._activeItem;this.updateActiveItem(z),this._activeItem!==A&&this.change.next(this._activeItemIndex)}onKeydown(z){const A=z.keyCode,Ye=["altKey","ctrlKey","metaKey","shiftKey"].every(Ot=>!z[Ot]||this._allowedModifierKeys.indexOf(Ot)>-1);switch(A){case q.Mf:return void this.tabOut.next();case q.JH:if(this._vertical&&Ye){this.setNextItemActive();break}return;case q.LH:if(this._vertical&&Ye){this.setPreviousItemActive();break}return;case q.SV:if(this._horizontal&&Ye){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case q.oh:if(this._horizontal&&Ye){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case q.Sd:if(this._homeAndEnd&&Ye){this.setFirstItemActive();break}return;case q.uR:if(this._homeAndEnd&&Ye){this.setLastItemActive();break}return;case q.Ku:if(this._pageUpAndDown.enabled&&Ye){const Ot=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(Ot>0?Ot:0,1);break}return;case q.VM:if(this._pageUpAndDown.enabled&&Ye){const Ot=this._activeItemIndex+this._pageUpAndDown.delta,ii=this._getItemsArray().length;this._setActiveItemByIndex(Ot<ii?Ot:ii-1,-1);break}return;default:return void((Ye||(0,q.Vb)(z,"shiftKey"))&&(z.key&&1===z.key.length?this._letterKeyStream.next(z.key.toLocaleUpperCase()):(A>=q.A&&A<=q.Z||A>=q.xE&&A<=q.aO)&&this._letterKeyStream.next(String.fromCharCode(A))))}this._pressedLetters=[],z.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(z){const A=this._getItemsArray(),me="number"==typeof z?z:A.indexOf(z);this._activeItem=A[me]??null,this._activeItemIndex=me}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(z){this._wrap?this._setActiveInWrapMode(z):this._setActiveInDefaultMode(z)}_setActiveInWrapMode(z){const A=this._getItemsArray();for(let me=1;me<=A.length;me++){const Ye=(this._activeItemIndex+z*me+A.length)%A.length;if(!this._skipPredicateFn(A[Ye]))return void this.setActiveItem(Ye)}}_setActiveInDefaultMode(z){this._setActiveItemByIndex(this._activeItemIndex+z,z)}_setActiveItemByIndex(z,A){const me=this._getItemsArray();if(me[z]){for(;this._skipPredicateFn(me[z]);)if(!me[z+=A])return;this.setActiveItem(z)}}_getItemsArray(){return this._items instanceof s.n_E?this._items.toArray():this._items}}class Wt extends rt{setActiveItem(z){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(z),this.activeItem&&this.activeItem.setActiveStyles()}}class yi extends rt{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(z){return this._origin=z,this}setActiveItem(z){super.setActiveItem(z),this.activeItem&&this.activeItem.focus(this._origin)}}let jt=(()=>{class se{constructor(A){this._platform=A}isDisabled(A){return A.hasAttribute("disabled")}isVisible(A){return function ot(se){return!!(se.offsetWidth||se.offsetHeight||"function"==typeof se.getClientRects&&se.getClientRects().length)}(A)&&"visible"===getComputedStyle(A).visibility}isTabbable(A){if(!this._platform.isBrowser)return!1;const me=function ai(se){try{return se.frameElement}catch{return null}}(function it(se){return se.ownerDocument&&se.ownerDocument.defaultView||window}(A));if(me&&(-1===we(me)||!this.isVisible(me)))return!1;let Ye=A.nodeName.toLowerCase(),Ot=we(A);return A.hasAttribute("contenteditable")?-1!==Ot:!("iframe"===Ye||"object"===Ye||this._platform.WEBKIT&&this._platform.IOS&&!function Fe(se){let z=se.nodeName.toLowerCase(),A="input"===z&&se.type;return"text"===A||"password"===A||"select"===z||"textarea"===z}(A))&&("audio"===Ye?!!A.hasAttribute("controls")&&-1!==Ot:"video"===Ye?-1!==Ot&&(null!==Ot||this._platform.FIREFOX||A.hasAttribute("controls")):A.tabIndex>=0)}isFocusable(A,me){return function _t(se){return!function j(se){return function C(se){return"input"==se.nodeName.toLowerCase()}(se)&&"hidden"==se.type}(se)&&(function W(se){let z=se.nodeName.toLowerCase();return"input"===z||"select"===z||"button"===z||"textarea"===z}(se)||function H(se){return function Y(se){return"a"==se.nodeName.toLowerCase()}(se)&&se.hasAttribute("href")}(se)||se.hasAttribute("contenteditable")||$(se))}(A)&&!this.isDisabled(A)&&(me?.ignoreVisibility||this.isVisible(A))}}return se.\u0275fac=function(A){return new(A||se)(s.LFG(T.t4))},se.\u0275prov=s.Yz7({token:se,factory:se.\u0275fac,providedIn:"root"}),se})();function $(se){if(!se.hasAttribute("tabindex")||void 0===se.tabIndex)return!1;let z=se.getAttribute("tabindex");return!(!z||isNaN(parseInt(z,10)))}function we(se){if(!$(se))return null;const z=parseInt(se.getAttribute("tabindex")||"",10);return isNaN(z)?-1:z}class Nt{get enabled(){return this._enabled}set enabled(z){this._enabled=z,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(z,this._startAnchor),this._toggleAnchorTabIndex(z,this._endAnchor))}constructor(z,A,me,Ye,Ot=!1){this._element=z,this._checker=A,this._ngZone=me,this._document=Ye,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,Ot||this.attachAnchors()}destroy(){const z=this._startAnchor,A=this._endAnchor;z&&(z.removeEventListener("focus",this.startAnchorListener),z.remove()),A&&(A.removeEventListener("focus",this.endAnchorListener),A.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(z){return new Promise(A=>{this._executeOnStable(()=>A(this.focusInitialElement(z)))})}focusFirstTabbableElementWhenReady(z){return new Promise(A=>{this._executeOnStable(()=>A(this.focusFirstTabbableElement(z)))})}focusLastTabbableElementWhenReady(z){return new Promise(A=>{this._executeOnStable(()=>A(this.focusLastTabbableElement(z)))})}_getRegionBoundary(z){const A=this._element.querySelectorAll(`[cdk-focus-region-${z}], [cdkFocusRegion${z}], [cdk-focus-${z}]`);return"start"==z?A.length?A[0]:this._getFirstTabbableElement(this._element):A.length?A[A.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(z){const A=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(A){if(!this._checker.isFocusable(A)){const me=this._getFirstTabbableElement(A);return me?.focus(z),!!me}return A.focus(z),!0}return this.focusFirstTabbableElement(z)}focusFirstTabbableElement(z){const A=this._getRegionBoundary("start");return A&&A.focus(z),!!A}focusLastTabbableElement(z){const A=this._getRegionBoundary("end");return A&&A.focus(z),!!A}hasAttached(){return this._hasAttached}_getFirstTabbableElement(z){if(this._checker.isFocusable(z)&&this._checker.isTabbable(z))return z;const A=z.children;for(let me=0;me<A.length;me++){const Ye=A[me].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(A[me]):null;if(Ye)return Ye}return null}_getLastTabbableElement(z){if(this._checker.isFocusable(z)&&this._checker.isTabbable(z))return z;const A=z.children;for(let me=A.length-1;me>=0;me--){const Ye=A[me].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(A[me]):null;if(Ye)return Ye}return null}_createAnchor(){const z=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,z),z.classList.add("cdk-visually-hidden"),z.classList.add("cdk-focus-trap-anchor"),z.setAttribute("aria-hidden","true"),z}_toggleAnchorTabIndex(z,A){z?A.setAttribute("tabindex","0"):A.removeAttribute("tabindex")}toggleAnchors(z){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(z,this._startAnchor),this._toggleAnchorTabIndex(z,this._endAnchor))}_executeOnStable(z){this._ngZone.isStable?z():this._ngZone.onStable.pipe((0,Le.q)(1)).subscribe(z)}}let lt=(()=>{class se{constructor(A,me,Ye){this._checker=A,this._ngZone=me,this._document=Ye}create(A,me=!1){return new Nt(A,this._checker,this._ngZone,this._document,me)}}return se.\u0275fac=function(A){return new(A||se)(s.LFG(jt),s.LFG(s.R0b),s.LFG(e.K0))},se.\u0275prov=s.Yz7({token:se,factory:se.\u0275fac,providedIn:"root"}),se})(),zt=(()=>{class se{get enabled(){return this.focusTrap.enabled}set enabled(A){this.focusTrap.enabled=(0,Re.Ig)(A)}get autoCapture(){return this._autoCapture}set autoCapture(A){this._autoCapture=(0,Re.Ig)(A)}constructor(A,me,Ye){this._elementRef=A,this._focusTrapFactory=me,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(A){const me=A.autoCapture;me&&!me.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,T.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return se.\u0275fac=function(A){return new(A||se)(s.Y36(s.SBq),s.Y36(lt),s.Y36(e.K0))},se.\u0275dir=s.lG2({type:se,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[s.TTD]}),se})();function yt(se){return 0===se.buttons||0===se.offsetX&&0===se.offsetY}function ve(se){const z=se.touches&&se.touches[0]||se.changedTouches&&se.changedTouches[0];return!(!z||-1!==z.identifier||null!=z.radiusX&&1!==z.radiusX||null!=z.radiusY&&1!==z.radiusY)}const N=new s.OlP("cdk-input-modality-detector-options"),re={ignoreKeys:[q.zL,q.jx,q.b2,q.MW,q.JU]},wt=(0,T.i$)({passive:!0,capture:!0});let Yt=(()=>{class se{get mostRecentModality(){return this._modality.value}constructor(A,me,Ye,Ot){this._platform=A,this._mostRecentTarget=null,this._modality=new O.X(null),this._lastTouchMs=0,this._onKeydown=ii=>{this._options?.ignoreKeys?.some(Ci=>Ci===ii.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,T.sA)(ii))},this._onMousedown=ii=>{Date.now()-this._lastTouchMs<650||(this._modality.next(yt(ii)?"keyboard":"mouse"),this._mostRecentTarget=(0,T.sA)(ii))},this._onTouchstart=ii=>{ve(ii)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,T.sA)(ii))},this._options={...re,...Ot},this.modalityDetected=this._modality.pipe((0,He.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,Qe.x)()),A.isBrowser&&me.runOutsideAngular(()=>{Ye.addEventListener("keydown",this._onKeydown,wt),Ye.addEventListener("mousedown",this._onMousedown,wt),Ye.addEventListener("touchstart",this._onTouchstart,wt)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,wt),document.removeEventListener("mousedown",this._onMousedown,wt),document.removeEventListener("touchstart",this._onTouchstart,wt))}}return se.\u0275fac=function(A){return new(A||se)(s.LFG(T.t4),s.LFG(s.R0b),s.LFG(e.K0),s.LFG(N,8))},se.\u0275prov=s.Yz7({token:se,factory:se.\u0275fac,providedIn:"root"}),se})();const $t=new s.OlP("liveAnnouncerElement",{providedIn:"root",factory:function ct(){return null}}),Gt=new s.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let te=0,Ae=(()=>{class se{constructor(A,me,Ye,Ot){this._ngZone=me,this._defaultOptions=Ot,this._document=Ye,this._liveElement=A||this._createLiveElement()}announce(A,...me){const Ye=this._defaultOptions;let Ot,ii;return 1===me.length&&"number"==typeof me[0]?ii=me[0]:[Ot,ii]=me,this.clear(),clearTimeout(this._previousTimeout),Ot||(Ot=Ye&&Ye.politeness?Ye.politeness:"polite"),null==ii&&Ye&&(ii=Ye.duration),this._liveElement.setAttribute("aria-live",Ot),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(Ci=>this._currentResolve=Ci)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=A,"number"==typeof ii&&(this._previousTimeout=setTimeout(()=>this.clear(),ii)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const A="cdk-live-announcer-element",me=this._document.getElementsByClassName(A),Ye=this._document.createElement("div");for(let Ot=0;Ot<me.length;Ot++)me[Ot].remove();return Ye.classList.add(A),Ye.classList.add("cdk-visually-hidden"),Ye.setAttribute("aria-atomic","true"),Ye.setAttribute("aria-live","polite"),Ye.id="cdk-live-announcer-"+te++,this._document.body.appendChild(Ye),Ye}_exposeAnnouncerToModals(A){const me=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let Ye=0;Ye<me.length;Ye++){const Ot=me[Ye],ii=Ot.getAttribute("aria-owns");ii?-1===ii.indexOf(A)&&Ot.setAttribute("aria-owns",ii+" "+A):Ot.setAttribute("aria-owns",A)}}}return se.\u0275fac=function(A){return new(A||se)(s.LFG($t,8),s.LFG(s.R0b),s.LFG(e.K0),s.LFG(Gt,8))},se.\u0275prov=s.Yz7({token:se,factory:se.\u0275fac,providedIn:"root"}),se})();const pe=new s.OlP("cdk-focus-monitor-default-options"),Ut=(0,T.i$)({passive:!0,capture:!0});let Vt=(()=>{class se{constructor(A,me,Ye,Ot,ii){this._ngZone=A,this._platform=me,this._inputModalityDetector=Ye,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new l.x,this._rootNodeFocusAndBlurListener=Ci=>{for(let Fi=(0,T.sA)(Ci);Fi;Fi=Fi.parentElement)"focus"===Ci.type?this._onFocus(Ci,Fi):this._onBlur(Ci,Fi)},this._document=Ot,this._detectionMode=ii?.detectionMode||0}monitor(A,me=!1){const Ye=(0,Re.fI)(A);if(!this._platform.isBrowser||1!==Ye.nodeType)return(0,X.of)(null);const Ot=(0,T.kV)(Ye)||this._getDocument(),ii=this._elementInfo.get(Ye);if(ii)return me&&(ii.checkChildren=!0),ii.subject;const Ci={checkChildren:me,subject:new l.x,rootNode:Ot};return this._elementInfo.set(Ye,Ci),this._registerGlobalListeners(Ci),Ci.subject}stopMonitoring(A){const me=(0,Re.fI)(A),Ye=this._elementInfo.get(me);Ye&&(Ye.subject.complete(),this._setClasses(me),this._elementInfo.delete(me),this._removeGlobalListeners(Ye))}focusVia(A,me,Ye){const Ot=(0,Re.fI)(A);Ot===this._getDocument().activeElement?this._getClosestElementsInfo(Ot).forEach(([Ci,Si])=>this._originChanged(Ci,me,Si)):(this._setOrigin(me),"function"==typeof Ot.focus&&Ot.focus(Ye))}ngOnDestroy(){this._elementInfo.forEach((A,me)=>this.stopMonitoring(me))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(A){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(A)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:A&&this._isLastInteractionFromInputLabel(A)?"mouse":"program"}_shouldBeAttributedToTouch(A){return 1===this._detectionMode||!!A?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(A,me){A.classList.toggle("cdk-focused",!!me),A.classList.toggle("cdk-touch-focused","touch"===me),A.classList.toggle("cdk-keyboard-focused","keyboard"===me),A.classList.toggle("cdk-mouse-focused","mouse"===me),A.classList.toggle("cdk-program-focused","program"===me)}_setOrigin(A,me=!1){this._ngZone.runOutsideAngular(()=>{this._origin=A,this._originFromTouchInteraction="touch"===A&&me,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(A,me){const Ye=this._elementInfo.get(me),Ot=(0,T.sA)(A);!Ye||!Ye.checkChildren&&me!==Ot||this._originChanged(me,this._getFocusOrigin(Ot),Ye)}_onBlur(A,me){const Ye=this._elementInfo.get(me);!Ye||Ye.checkChildren&&A.relatedTarget instanceof Node&&me.contains(A.relatedTarget)||(this._setClasses(me),this._emitOrigin(Ye,null))}_emitOrigin(A,me){A.subject.observers.length&&this._ngZone.run(()=>A.subject.next(me))}_registerGlobalListeners(A){if(!this._platform.isBrowser)return;const me=A.rootNode,Ye=this._rootNodeFocusListenerCount.get(me)||0;Ye||this._ngZone.runOutsideAngular(()=>{me.addEventListener("focus",this._rootNodeFocusAndBlurListener,Ut),me.addEventListener("blur",this._rootNodeFocusAndBlurListener,Ut)}),this._rootNodeFocusListenerCount.set(me,Ye+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,pt.R)(this._stopInputModalityDetector)).subscribe(Ot=>{this._setOrigin(Ot,!0)}))}_removeGlobalListeners(A){const me=A.rootNode;if(this._rootNodeFocusListenerCount.has(me)){const Ye=this._rootNodeFocusListenerCount.get(me);Ye>1?this._rootNodeFocusListenerCount.set(me,Ye-1):(me.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Ut),me.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Ut),this._rootNodeFocusListenerCount.delete(me))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(A,me,Ye){this._setClasses(A,me),this._emitOrigin(Ye,me),this._lastFocusOrigin=me}_getClosestElementsInfo(A){const me=[];return this._elementInfo.forEach((Ye,Ot)=>{(Ot===A||Ye.checkChildren&&Ot.contains(A))&&me.push([Ot,Ye])}),me}_isLastInteractionFromInputLabel(A){const{_mostRecentTarget:me,mostRecentModality:Ye}=this._inputModalityDetector;if("mouse"!==Ye||!me||me===A||"INPUT"!==A.nodeName&&"TEXTAREA"!==A.nodeName||A.disabled)return!1;const Ot=A.labels;if(Ot)for(let ii=0;ii<Ot.length;ii++)if(Ot[ii].contains(me))return!0;return!1}}return se.\u0275fac=function(A){return new(A||se)(s.LFG(s.R0b),s.LFG(T.t4),s.LFG(Yt),s.LFG(e.K0,8),s.LFG(pe,8))},se.\u0275prov=s.Yz7({token:se,factory:se.\u0275fac,providedIn:"root"}),se})(),be=(()=>{class se{constructor(A,me){this._elementRef=A,this._focusMonitor=me,this._focusOrigin=null,this.cdkFocusChange=new s.vpe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const A=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(A,1===A.nodeType&&A.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(me=>{this._focusOrigin=me,this.cdkFocusChange.emit(me)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return se.\u0275fac=function(A){return new(A||se)(s.Y36(s.SBq),s.Y36(Vt))},se.\u0275dir=s.lG2({type:se,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),se})();const st="cdk-high-contrast-black-on-white",Z="cdk-high-contrast-white-on-black",ke="cdk-high-contrast-active";let gt=(()=>{class se{constructor(A,me){this._platform=A,this._document=me,this._breakpointSubscription=(0,s.f3M)(Me.Yg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const A=this._document.createElement("div");A.style.backgroundColor="rgb(1,2,3)",A.style.position="absolute",this._document.body.appendChild(A);const me=this._document.defaultView||window,Ye=me&&me.getComputedStyle?me.getComputedStyle(A):null,Ot=(Ye&&Ye.backgroundColor||"").replace(/ /g,"");switch(A.remove(),Ot){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const A=this._document.body.classList;A.remove(ke,st,Z),this._hasCheckedHighContrastMode=!0;const me=this.getHighContrastMode();1===me?A.add(ke,st):2===me&&A.add(ke,Z)}}}return se.\u0275fac=function(A){return new(A||se)(s.LFG(T.t4),s.LFG(e.K0))},se.\u0275prov=s.Yz7({token:se,factory:se.\u0275fac,providedIn:"root"}),se})(),Rt=(()=>{class se{constructor(A){A._applyBodyHighContrastModeCssClasses()}}return se.\u0275fac=function(A){return new(A||se)(s.LFG(gt))},se.\u0275mod=s.oAB({type:se}),se.\u0275inj=s.cJS({imports:[ze.Q8]}),se})()},445:(ri,mt,p)=>{p.d(mt,{Is:()=>X,vT:()=>Ee});var e=p(4650),s=p(6895);const T=new e.OlP("cdk-dir-doc",{providedIn:"root",factory:function l(){return(0,e.f3M)(s.K0)}}),b=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let X=(()=>{class de{constructor(he){this.value="ltr",this.change=new e.vpe,he&&(this.value=function O(de){const Be=de?.toLowerCase()||"";return"auto"===Be&&typeof navigator<"u"&&navigator?.language?b.test(navigator.language)?"rtl":"ltr":"rtl"===Be?"rtl":"ltr"}((he.body?he.body.dir:null)||(he.documentElement?he.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return de.\u0275fac=function(he){return new(he||de)(e.LFG(T,8))},de.\u0275prov=e.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"}),de})(),Ee=(()=>{class de{}return de.\u0275fac=function(he){return new(he||de)},de.\u0275mod=e.oAB({type:de}),de.\u0275inj=e.cJS({}),de})()},1281:(ri,mt,p)=>{p.d(mt,{Eq:()=>b,HM:()=>O,Ig:()=>s,du:()=>q,fI:()=>X,su:()=>T,t6:()=>l});var e=p(4650);function s(Ee){return null!=Ee&&"false"!=`${Ee}`}function T(Ee,de=0){return l(Ee)?Number(Ee):de}function l(Ee){return!isNaN(parseFloat(Ee))&&!isNaN(Number(Ee))}function b(Ee){return Array.isArray(Ee)?Ee:[Ee]}function O(Ee){return null==Ee?"":"string"==typeof Ee?Ee:`${Ee}px`}function X(Ee){return Ee instanceof e.SBq?Ee.nativeElement:Ee}function q(Ee,de=/\s+/){const Be=[];if(null!=Ee){const he=Array.isArray(Ee)?Ee:`${Ee}`.split(de);for(const Le of he){const He=`${Le}`.trim();He&&Be.push(He)}}return Be}},5017:(ri,mt,p)=>{p.d(mt,{A8:()=>Be,Ov:()=>Ee,Z9:()=>b,eX:()=>q,k:()=>he,o2:()=>l,yy:()=>X});var e=p(4033),s=p(7579),T=p(4650);class l{}function b(Le){return Le&&"function"==typeof Le.connect&&!(Le instanceof e.c)}class X{applyChanges(He,Qe,pt,Re,ze){He.forEachOperation((Me,Pe,_e)=>{let ge,le;if(null==Me.previousIndex){const Se=pt(Me,Pe,_e);ge=Qe.createEmbeddedView(Se.templateRef,Se.context,Se.index),le=1}else null==_e?(Qe.remove(Pe),le=3):(ge=Qe.get(Pe),Qe.move(ge,_e),le=2);ze&&ze({context:ge?.context,operation:le,record:Me})})}detach(){}}class q{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(He,Qe,pt,Re,ze){He.forEachOperation((Me,Pe,_e)=>{let ge,le;null==Me.previousIndex?(ge=this._insertView(()=>pt(Me,Pe,_e),_e,Qe,Re(Me)),le=ge?1:0):null==_e?(this._detachAndCacheView(Pe,Qe),le=3):(ge=this._moveView(Pe,_e,Qe,Re(Me)),le=2),ze&&ze({context:ge?.context,operation:le,record:Me})})}detach(){for(const He of this._viewCache)He.destroy();this._viewCache=[]}_insertView(He,Qe,pt,Re){const ze=this._insertViewFromCache(Qe,pt);if(ze)return void(ze.context.$implicit=Re);const Me=He();return pt.createEmbeddedView(Me.templateRef,Me.context,Me.index)}_detachAndCacheView(He,Qe){const pt=Qe.detach(He);this._maybeCacheView(pt,Qe)}_moveView(He,Qe,pt,Re){const ze=pt.get(He);return pt.move(ze,Qe),ze.context.$implicit=Re,ze}_maybeCacheView(He,Qe){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(He);else{const pt=Qe.indexOf(He);-1===pt?He.destroy():Qe.remove(pt)}}_insertViewFromCache(He,Qe){const pt=this._viewCache.pop();return pt&&Qe.insert(pt,He),pt||null}}class Ee{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(He=!1,Qe,pt=!0,Re){this._multiple=He,this._emitChanges=pt,this.compareWith=Re,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new s.x,Qe&&Qe.length&&(He?Qe.forEach(ze=>this._markSelected(ze)):this._markSelected(Qe[0]),this._selectedToEmit.length=0)}select(...He){this._verifyValueAssignment(He),He.forEach(pt=>this._markSelected(pt));const Qe=this._hasQueuedChanges();return this._emitChangeEvent(),Qe}deselect(...He){this._verifyValueAssignment(He),He.forEach(pt=>this._unmarkSelected(pt));const Qe=this._hasQueuedChanges();return this._emitChangeEvent(),Qe}setSelection(...He){this._verifyValueAssignment(He);const Qe=this.selected,pt=new Set(He);He.forEach(ze=>this._markSelected(ze)),Qe.filter(ze=>!pt.has(ze)).forEach(ze=>this._unmarkSelected(ze));const Re=this._hasQueuedChanges();return this._emitChangeEvent(),Re}toggle(He){return this.isSelected(He)?this.deselect(He):this.select(He)}clear(He=!0){this._unmarkAll();const Qe=this._hasQueuedChanges();return He&&this._emitChangeEvent(),Qe}isSelected(He){return this._selection.has(this._getConcreteValue(He))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(He){this._multiple&&this.selected&&this._selected.sort(He)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(He){He=this._getConcreteValue(He),this.isSelected(He)||(this._multiple||this._unmarkAll(),this.isSelected(He)||this._selection.add(He),this._emitChanges&&this._selectedToEmit.push(He))}_unmarkSelected(He){He=this._getConcreteValue(He),this.isSelected(He)&&(this._selection.delete(He),this._emitChanges&&this._deselectedToEmit.push(He))}_unmarkAll(){this.isEmpty()||this._selection.forEach(He=>this._unmarkSelected(He))}_verifyValueAssignment(He){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(He){if(this.compareWith){for(let Qe of this._selection)if(this.compareWith(He,Qe))return Qe;return He}return He}}let Be=(()=>{class Le{constructor(){this._listeners=[]}notify(Qe,pt){for(let Re of this._listeners)Re(Qe,pt)}listen(Qe){return this._listeners.push(Qe),()=>{this._listeners=this._listeners.filter(pt=>Qe!==pt)}}ngOnDestroy(){this._listeners=[]}}return Le.\u0275fac=function(Qe){return new(Qe||Le)},Le.\u0275prov=T.Yz7({token:Le,factory:Le.\u0275fac,providedIn:"root"}),Le})();const he=new T.OlP("_ViewRepeater")},9521:(ri,mt,p)=>{p.d(mt,{A:()=>j,JH:()=>Pe,JU:()=>O,K5:()=>b,Ku:()=>Le,LH:()=>ze,L_:()=>he,MW:()=>Gt,Mf:()=>T,SV:()=>Me,Sd:()=>pt,VM:()=>He,Vb:()=>Ei,Z:()=>ct,ZH:()=>s,aO:()=>gi,b2:()=>ei,hY:()=>Be,jx:()=>X,oh:()=>Re,uR:()=>Qe,xE:()=>je,yY:()=>Se,zL:()=>q});const s=8,T=9,b=13,O=16,X=17,q=18,Be=27,he=32,Le=33,He=34,Qe=35,pt=36,Re=37,ze=38,Me=39,Pe=40,Se=46,je=48,gi=57,j=65,ct=90,Gt=91,ei=224;function Ei(Yi,...Mn){return Mn.length?Mn.some(Tn=>Yi[Tn]):Yi.altKey||Yi.shiftKey||Yi.ctrlKey||Yi.metaKey}},2289:(ri,mt,p)=>{p.d(mt,{Yg:()=>Pe,vx:()=>Re});var e=p(4650),s=p(1281),T=p(7579),l=p(9841),b=p(7272),O=p(9751),X=p(5698),q=p(5684),Ee=p(8372),de=p(4004),Be=p(8675),he=p(2722),Le=p(3353);const Qe=new Set;let pt,Re=(()=>{class le{constructor(je){this._platform=je,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Me}matchMedia(je){return(this._platform.WEBKIT||this._platform.BLINK)&&function ze(le){if(!Qe.has(le))try{pt||(pt=document.createElement("style"),pt.setAttribute("type","text/css"),document.head.appendChild(pt)),pt.sheet&&(pt.sheet.insertRule(`@media ${le} {body{ }}`,0),Qe.add(le))}catch(Se){console.error(Se)}}(je),this._matchMedia(je)}}return le.\u0275fac=function(je){return new(je||le)(e.LFG(Le.t4))},le.\u0275prov=e.Yz7({token:le,factory:le.\u0275fac,providedIn:"root"}),le})();function Me(le){return{matches:"all"===le||""===le,media:le,addListener:()=>{},removeListener:()=>{}}}let Pe=(()=>{class le{constructor(je,Ke){this._mediaMatcher=je,this._zone=Ke,this._queries=new Map,this._destroySubject=new T.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(je){return _e((0,s.Eq)(je)).some(Ge=>this._registerQuery(Ge).mql.matches)}observe(je){const Ge=_e((0,s.Eq)(je)).map(xe=>this._registerQuery(xe).observable);let vt=(0,l.a)(Ge);return vt=(0,b.z)(vt.pipe((0,X.q)(1)),vt.pipe((0,q.T)(1),(0,Ee.b)(0))),vt.pipe((0,de.U)(xe=>{const kt={matches:!1,breakpoints:{}};return xe.forEach(({matches:rt,query:Wt})=>{kt.matches=kt.matches||rt,kt.breakpoints[Wt]=rt}),kt}))}_registerQuery(je){if(this._queries.has(je))return this._queries.get(je);const Ke=this._mediaMatcher.matchMedia(je),vt={observable:new O.y(xe=>{const kt=rt=>this._zone.run(()=>xe.next(rt));return Ke.addListener(kt),()=>{Ke.removeListener(kt)}}).pipe((0,Be.O)(Ke),(0,de.U)(({matches:xe})=>({query:je,matches:xe})),(0,he.R)(this._destroySubject)),mql:Ke};return this._queries.set(je,vt),vt}}return le.\u0275fac=function(je){return new(je||le)(e.LFG(Re),e.LFG(e.R0b))},le.\u0275prov=e.Yz7({token:le,factory:le.\u0275fac,providedIn:"root"}),le})();function _e(le){return le.map(Se=>Se.split(",")).reduce((Se,je)=>Se.concat(je)).map(Se=>Se.trim())}},9643:(ri,mt,p)=>{p.d(mt,{Q8:()=>Ee,wD:()=>q});var e=p(1281),s=p(4650),T=p(9751),l=p(7579),b=p(8372);let O=(()=>{class de{create(he){return typeof MutationObserver>"u"?null:new MutationObserver(he)}}return de.\u0275fac=function(he){return new(he||de)},de.\u0275prov=s.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"}),de})(),X=(()=>{class de{constructor(he){this._mutationObserverFactory=he,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((he,Le)=>this._cleanupObserver(Le))}observe(he){const Le=(0,e.fI)(he);return new T.y(He=>{const pt=this._observeElement(Le).subscribe(He);return()=>{pt.unsubscribe(),this._unobserveElement(Le)}})}_observeElement(he){if(this._observedElements.has(he))this._observedElements.get(he).count++;else{const Le=new l.x,He=this._mutationObserverFactory.create(Qe=>Le.next(Qe));He&&He.observe(he,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(he,{observer:He,stream:Le,count:1})}return this._observedElements.get(he).stream}_unobserveElement(he){this._observedElements.has(he)&&(this._observedElements.get(he).count--,this._observedElements.get(he).count||this._cleanupObserver(he))}_cleanupObserver(he){if(this._observedElements.has(he)){const{observer:Le,stream:He}=this._observedElements.get(he);Le&&Le.disconnect(),He.complete(),this._observedElements.delete(he)}}}return de.\u0275fac=function(he){return new(he||de)(s.LFG(O))},de.\u0275prov=s.Yz7({token:de,factory:de.\u0275fac,providedIn:"root"}),de})(),q=(()=>{class de{get disabled(){return this._disabled}set disabled(he){this._disabled=(0,e.Ig)(he),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(he){this._debounce=(0,e.su)(he),this._subscribe()}constructor(he,Le,He){this._contentObserver=he,this._elementRef=Le,this._ngZone=He,this.event=new s.vpe,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const he=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?he.pipe((0,b.b)(this.debounce)):he).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return de.\u0275fac=function(he){return new(he||de)(s.Y36(X),s.Y36(s.SBq),s.Y36(s.R0b))},de.\u0275dir=s.lG2({type:de,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),de})(),Ee=(()=>{class de{}return de.\u0275fac=function(he){return new(he||de)},de.\u0275mod=s.oAB({type:de}),de.\u0275inj=s.cJS({providers:[O]}),de})()},8184:(ri,mt,p)=>{p.d(mt,{Iu:()=>jt,U8:()=>dt,X_:()=>je,Xj:()=>gi,_G:()=>W,aV:()=>Nt,pI:()=>Pt,xu:()=>ft});var e=p(7376),s=p(6895),T=p(4650),l=p(1281),b=p(3353),O=p(9300),X=p(5698),q=p(2722),Ee=p(2529),de=p(445),Be=p(4080),he=p(7579),Le=p(727),He=p(6451),Qe=p(9521);const pt=(0,b.Mq)();class Re{constructor(N,re){this._viewportRuler=N,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=re}attach(){}enable(){if(this._canBeEnabled()){const N=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=N.style.left||"",this._previousHTMLStyles.top=N.style.top||"",N.style.left=(0,l.HM)(-this._previousScrollPosition.left),N.style.top=(0,l.HM)(-this._previousScrollPosition.top),N.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const N=this._document.documentElement,We=N.style,wt=this._document.body.style,Yt=We.scrollBehavior||"",$t=wt.scrollBehavior||"";this._isEnabled=!1,We.left=this._previousHTMLStyles.left,We.top=this._previousHTMLStyles.top,N.classList.remove("cdk-global-scrollblock"),pt&&(We.scrollBehavior=wt.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),pt&&(We.scrollBehavior=Yt,wt.scrollBehavior=$t)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const re=this._document.body,We=this._viewportRuler.getViewportSize();return re.scrollHeight>We.height||re.scrollWidth>We.width}}class Me{constructor(N,re,We,wt){this._scrollDispatcher=N,this._ngZone=re,this._viewportRuler=We,this._config=wt,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(N){this._overlayRef=N}enable(){if(this._scrollSubscription)return;const N=this._scrollDispatcher.scrolled(0).pipe((0,O.h)(re=>!re||!this._overlayRef.overlayElement.contains(re.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=N.subscribe(()=>{const re=this._viewportRuler.getViewportScrollPosition().top;Math.abs(re-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=N.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Pe{enable(){}disable(){}attach(){}}function _e(ve,N){return N.some(re=>ve.bottom<re.top||ve.top>re.bottom||ve.right<re.left||ve.left>re.right)}function ge(ve,N){return N.some(re=>ve.top<re.top||ve.bottom>re.bottom||ve.left<re.left||ve.right>re.right)}class le{constructor(N,re,We,wt){this._scrollDispatcher=N,this._viewportRuler=re,this._ngZone=We,this._config=wt,this._scrollSubscription=null}attach(N){this._overlayRef=N}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const re=this._overlayRef.overlayElement.getBoundingClientRect(),{width:We,height:wt}=this._viewportRuler.getViewportSize();_e(re,[{width:We,height:wt,bottom:wt,right:We,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let Se=(()=>{class ve{constructor(re,We,wt,Yt){this._scrollDispatcher=re,this._viewportRuler=We,this._ngZone=wt,this.noop=()=>new Pe,this.close=$t=>new Me(this._scrollDispatcher,this._ngZone,this._viewportRuler,$t),this.block=()=>new Re(this._viewportRuler,this._document),this.reposition=$t=>new le(this._scrollDispatcher,this._viewportRuler,this._ngZone,$t),this._document=Yt}}return ve.\u0275fac=function(re){return new(re||ve)(T.LFG(e.mF),T.LFG(e.rL),T.LFG(T.R0b),T.LFG(s.K0))},ve.\u0275prov=T.Yz7({token:ve,factory:ve.\u0275fac,providedIn:"root"}),ve})();class je{constructor(N){if(this.scrollStrategy=new Pe,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,N){const re=Object.keys(N);for(const We of re)void 0!==N[We]&&(this[We]=N[We])}}}class vt{constructor(N,re){this.connectionPair=N,this.scrollableViewProperties=re}}let rt=(()=>{class ve{constructor(re){this._attachedOverlays=[],this._document=re}ngOnDestroy(){this.detach()}add(re){this.remove(re),this._attachedOverlays.push(re)}remove(re){const We=this._attachedOverlays.indexOf(re);We>-1&&this._attachedOverlays.splice(We,1),0===this._attachedOverlays.length&&this.detach()}}return ve.\u0275fac=function(re){return new(re||ve)(T.LFG(s.K0))},ve.\u0275prov=T.Yz7({token:ve,factory:ve.\u0275fac,providedIn:"root"}),ve})(),Wt=(()=>{class ve extends rt{constructor(re,We){super(re),this._ngZone=We,this._keydownListener=wt=>{const Yt=this._attachedOverlays;for(let $t=Yt.length-1;$t>-1;$t--)if(Yt[$t]._keydownEvents.observers.length>0){const ct=Yt[$t]._keydownEvents;this._ngZone?this._ngZone.run(()=>ct.next(wt)):ct.next(wt);break}}}add(re){super.add(re),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return ve.\u0275fac=function(re){return new(re||ve)(T.LFG(s.K0),T.LFG(T.R0b,8))},ve.\u0275prov=T.Yz7({token:ve,factory:ve.\u0275fac,providedIn:"root"}),ve})(),yi=(()=>{class ve extends rt{constructor(re,We,wt){super(re),this._platform=We,this._ngZone=wt,this._cursorStyleIsSet=!1,this._pointerDownListener=Yt=>{this._pointerDownEventTarget=(0,b.sA)(Yt)},this._clickListener=Yt=>{const $t=(0,b.sA)(Yt),ct="click"===Yt.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:$t;this._pointerDownEventTarget=null;const Gt=this._attachedOverlays.slice();for(let te=Gt.length-1;te>-1;te--){const Ae=Gt[te];if(Ae._outsidePointerEvents.observers.length<1||!Ae.hasAttached())continue;if(Ae.overlayElement.contains($t)||Ae.overlayElement.contains(ct))break;const B=Ae._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>B.next(Yt)):B.next(Yt)}}}add(re){if(super.add(re),!this._isAttached){const We=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(We)):this._addEventListeners(We),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=We.style.cursor,We.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const re=this._document.body;re.removeEventListener("pointerdown",this._pointerDownListener,!0),re.removeEventListener("click",this._clickListener,!0),re.removeEventListener("auxclick",this._clickListener,!0),re.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(re.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(re){re.addEventListener("pointerdown",this._pointerDownListener,!0),re.addEventListener("click",this._clickListener,!0),re.addEventListener("auxclick",this._clickListener,!0),re.addEventListener("contextmenu",this._clickListener,!0)}}return ve.\u0275fac=function(re){return new(re||ve)(T.LFG(s.K0),T.LFG(b.t4),T.LFG(T.R0b,8))},ve.\u0275prov=T.Yz7({token:ve,factory:ve.\u0275fac,providedIn:"root"}),ve})(),gi=(()=>{class ve{constructor(re,We){this._platform=We,this._document=re}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const re="cdk-overlay-container";if(this._platform.isBrowser||(0,b.Oy)()){const wt=this._document.querySelectorAll(`.${re}[platform="server"], .${re}[platform="test"]`);for(let Yt=0;Yt<wt.length;Yt++)wt[Yt].remove()}const We=this._document.createElement("div");We.classList.add(re),(0,b.Oy)()?We.setAttribute("platform","test"):this._platform.isBrowser||We.setAttribute("platform","server"),this._document.body.appendChild(We),this._containerElement=We}}return ve.\u0275fac=function(re){return new(re||ve)(T.LFG(s.K0),T.LFG(b.t4))},ve.\u0275prov=T.Yz7({token:ve,factory:ve.\u0275fac,providedIn:"root"}),ve})();class jt{constructor(N,re,We,wt,Yt,$t,ct,Gt,te,Ae=!1){this._portalOutlet=N,this._host=re,this._pane=We,this._config=wt,this._ngZone=Yt,this._keyboardDispatcher=$t,this._document=ct,this._location=Gt,this._outsideClickDispatcher=te,this._animationsDisabled=Ae,this._backdropElement=null,this._backdropClick=new he.x,this._attachments=new he.x,this._detachments=new he.x,this._locationChanges=Le.w0.EMPTY,this._backdropClickHandler=B=>this._backdropClick.next(B),this._backdropTransitionendHandler=B=>{this._disposeBackdrop(B.target)},this._keydownEvents=new he.x,this._outsidePointerEvents=new he.x,wt.scrollStrategy&&(this._scrollStrategy=wt.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=wt.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(N){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const re=this._portalOutlet.attach(N);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,X.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof re?.onDestroy&&re.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),re}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const N=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),N}dispose(){const N=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,N&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(N){N!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=N,this.hasAttached()&&(N.attach(this),this.updatePosition()))}updateSize(N){this._config={...this._config,...N},this._updateElementSize()}setDirection(N){this._config={...this._config,direction:N},this._updateElementDirection()}addPanelClass(N){this._pane&&this._toggleClasses(this._pane,N,!0)}removePanelClass(N){this._pane&&this._toggleClasses(this._pane,N,!1)}getDirection(){const N=this._config.direction;return N?"string"==typeof N?N:N.value:"ltr"}updateScrollStrategy(N){N!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=N,this.hasAttached()&&(N.attach(this),N.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const N=this._pane.style;N.width=(0,l.HM)(this._config.width),N.height=(0,l.HM)(this._config.height),N.minWidth=(0,l.HM)(this._config.minWidth),N.minHeight=(0,l.HM)(this._config.minHeight),N.maxWidth=(0,l.HM)(this._config.maxWidth),N.maxHeight=(0,l.HM)(this._config.maxHeight)}_togglePointerEvents(N){this._pane.style.pointerEvents=N?"":"none"}_attachBackdrop(){const N="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(N)})}):this._backdropElement.classList.add(N)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const N=this._backdropElement;if(N){if(this._animationsDisabled)return void this._disposeBackdrop(N);N.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{N.addEventListener("transitionend",this._backdropTransitionendHandler)}),N.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(N)},500))}}_toggleClasses(N,re,We){const wt=(0,l.Eq)(re||[]).filter(Yt=>!!Yt);wt.length&&(We?N.classList.add(...wt):N.classList.remove(...wt))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const N=this._ngZone.onStable.pipe((0,q.R)((0,He.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),N.unsubscribe())})})}_disposeScrollStrategy(){const N=this._scrollStrategy;N&&(N.disable(),N.detach&&N.detach())}_disposeBackdrop(N){N&&(N.removeEventListener("click",this._backdropClickHandler),N.removeEventListener("transitionend",this._backdropTransitionendHandler),N.remove(),this._backdropElement===N&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const ai="cdk-overlay-connected-position-bounding-box",ot=/([A-Za-z%]+)$/;class W{get positions(){return this._preferredPositions}constructor(N,re,We,wt,Yt){this._viewportRuler=re,this._document=We,this._platform=wt,this._overlayContainer=Yt,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new he.x,this._resizeSubscription=Le.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(N)}attach(N){this._validatePositions(),N.hostElement.classList.add(ai),this._overlayRef=N,this._boundingBox=N.hostElement,this._pane=N.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const N=this._originRect,re=this._overlayRect,We=this._viewportRect,wt=this._containerRect,Yt=[];let $t;for(let ct of this._preferredPositions){let Gt=this._getOriginPoint(N,wt,ct),te=this._getOverlayPoint(Gt,re,ct),Ae=this._getOverlayFit(te,re,We,ct);if(Ae.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(ct,Gt);this._canFitWithFlexibleDimensions(Ae,te,We)?Yt.push({position:ct,origin:Gt,overlayRect:re,boundingBoxRect:this._calculateBoundingBoxRect(Gt,ct)}):(!$t||$t.overlayFit.visibleArea<Ae.visibleArea)&&($t={overlayFit:Ae,overlayPoint:te,originPoint:Gt,position:ct,overlayRect:re})}if(Yt.length){let ct=null,Gt=-1;for(const te of Yt){const Ae=te.boundingBoxRect.width*te.boundingBoxRect.height*(te.position.weight||1);Ae>Gt&&(Gt=Ae,ct=te)}return this._isPushed=!1,void this._applyPosition(ct.position,ct.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition($t.position,$t.originPoint);this._applyPosition($t.position,$t.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&j(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(ai),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const N=this._lastPosition;if(N){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const re=this._getOriginPoint(this._originRect,this._containerRect,N);this._applyPosition(N,re)}else this.apply()}withScrollableContainers(N){return this._scrollables=N,this}withPositions(N){return this._preferredPositions=N,-1===N.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(N){return this._viewportMargin=N,this}withFlexibleDimensions(N=!0){return this._hasFlexibleDimensions=N,this}withGrowAfterOpen(N=!0){return this._growAfterOpen=N,this}withPush(N=!0){return this._canPush=N,this}withLockedPosition(N=!0){return this._positionLocked=N,this}setOrigin(N){return this._origin=N,this}withDefaultOffsetX(N){return this._offsetX=N,this}withDefaultOffsetY(N){return this._offsetY=N,this}withTransformOriginOn(N){return this._transformOriginSelector=N,this}_getOriginPoint(N,re,We){let wt,Yt;if("center"==We.originX)wt=N.left+N.width/2;else{const $t=this._isRtl()?N.right:N.left,ct=this._isRtl()?N.left:N.right;wt="start"==We.originX?$t:ct}return re.left<0&&(wt-=re.left),Yt="center"==We.originY?N.top+N.height/2:"top"==We.originY?N.top:N.bottom,re.top<0&&(Yt-=re.top),{x:wt,y:Yt}}_getOverlayPoint(N,re,We){let wt,Yt;return wt="center"==We.overlayX?-re.width/2:"start"===We.overlayX?this._isRtl()?-re.width:0:this._isRtl()?0:-re.width,Yt="center"==We.overlayY?-re.height/2:"top"==We.overlayY?0:-re.height,{x:N.x+wt,y:N.y+Yt}}_getOverlayFit(N,re,We,wt){const Yt=C(re);let{x:$t,y:ct}=N,Gt=this._getOffset(wt,"x"),te=this._getOffset(wt,"y");Gt&&($t+=Gt),te&&(ct+=te);let pe=0-ct,Ut=ct+Yt.height-We.height,Vt=this._subtractOverflows(Yt.width,0-$t,$t+Yt.width-We.width),be=this._subtractOverflows(Yt.height,pe,Ut),st=Vt*be;return{visibleArea:st,isCompletelyWithinViewport:Yt.width*Yt.height===st,fitsInViewportVertically:be===Yt.height,fitsInViewportHorizontally:Vt==Yt.width}}_canFitWithFlexibleDimensions(N,re,We){if(this._hasFlexibleDimensions){const wt=We.bottom-re.y,Yt=We.right-re.x,$t=H(this._overlayRef.getConfig().minHeight),ct=H(this._overlayRef.getConfig().minWidth);return(N.fitsInViewportVertically||null!=$t&&$t<=wt)&&(N.fitsInViewportHorizontally||null!=ct&&ct<=Yt)}return!1}_pushOverlayOnScreen(N,re,We){if(this._previousPushAmount&&this._positionLocked)return{x:N.x+this._previousPushAmount.x,y:N.y+this._previousPushAmount.y};const wt=C(re),Yt=this._viewportRect,$t=Math.max(N.x+wt.width-Yt.width,0),ct=Math.max(N.y+wt.height-Yt.height,0),Gt=Math.max(Yt.top-We.top-N.y,0),te=Math.max(Yt.left-We.left-N.x,0);let Ae=0,B=0;return Ae=wt.width<=Yt.width?te||-$t:N.x<this._viewportMargin?Yt.left-We.left-N.x:0,B=wt.height<=Yt.height?Gt||-ct:N.y<this._viewportMargin?Yt.top-We.top-N.y:0,this._previousPushAmount={x:Ae,y:B},{x:N.x+Ae,y:N.y+B}}_applyPosition(N,re){if(this._setTransformOrigin(N),this._setOverlayElementStyles(re,N),this._setBoundingBoxStyles(re,N),N.panelClass&&this._addPanelClasses(N.panelClass),this._lastPosition=N,this._positionChanges.observers.length){const We=this._getScrollVisibility(),wt=new vt(N,We);this._positionChanges.next(wt)}this._isInitialRender=!1}_setTransformOrigin(N){if(!this._transformOriginSelector)return;const re=this._boundingBox.querySelectorAll(this._transformOriginSelector);let We,wt=N.overlayY;We="center"===N.overlayX?"center":this._isRtl()?"start"===N.overlayX?"right":"left":"start"===N.overlayX?"left":"right";for(let Yt=0;Yt<re.length;Yt++)re[Yt].style.transformOrigin=`${We} ${wt}`}_calculateBoundingBoxRect(N,re){const We=this._viewportRect,wt=this._isRtl();let Yt,$t,ct,Ae,B,pe;if("top"===re.overlayY)$t=N.y,Yt=We.height-$t+this._viewportMargin;else if("bottom"===re.overlayY)ct=We.height-N.y+2*this._viewportMargin,Yt=We.height-ct+this._viewportMargin;else{const Ut=Math.min(We.bottom-N.y+We.top,N.y),Vt=this._lastBoundingBoxSize.height;Yt=2*Ut,$t=N.y-Ut,Yt>Vt&&!this._isInitialRender&&!this._growAfterOpen&&($t=N.y-Vt/2)}if("end"===re.overlayX&&!wt||"start"===re.overlayX&&wt)pe=We.width-N.x+this._viewportMargin,Ae=N.x-this._viewportMargin;else if("start"===re.overlayX&&!wt||"end"===re.overlayX&&wt)B=N.x,Ae=We.right-N.x;else{const Ut=Math.min(We.right-N.x+We.left,N.x),Vt=this._lastBoundingBoxSize.width;Ae=2*Ut,B=N.x-Ut,Ae>Vt&&!this._isInitialRender&&!this._growAfterOpen&&(B=N.x-Vt/2)}return{top:$t,left:B,bottom:ct,right:pe,width:Ae,height:Yt}}_setBoundingBoxStyles(N,re){const We=this._calculateBoundingBoxRect(N,re);!this._isInitialRender&&!this._growAfterOpen&&(We.height=Math.min(We.height,this._lastBoundingBoxSize.height),We.width=Math.min(We.width,this._lastBoundingBoxSize.width));const wt={};if(this._hasExactPosition())wt.top=wt.left="0",wt.bottom=wt.right=wt.maxHeight=wt.maxWidth="",wt.width=wt.height="100%";else{const Yt=this._overlayRef.getConfig().maxHeight,$t=this._overlayRef.getConfig().maxWidth;wt.height=(0,l.HM)(We.height),wt.top=(0,l.HM)(We.top),wt.bottom=(0,l.HM)(We.bottom),wt.width=(0,l.HM)(We.width),wt.left=(0,l.HM)(We.left),wt.right=(0,l.HM)(We.right),wt.alignItems="center"===re.overlayX?"center":"end"===re.overlayX?"flex-end":"flex-start",wt.justifyContent="center"===re.overlayY?"center":"bottom"===re.overlayY?"flex-end":"flex-start",Yt&&(wt.maxHeight=(0,l.HM)(Yt)),$t&&(wt.maxWidth=(0,l.HM)($t))}this._lastBoundingBoxSize=We,j(this._boundingBox.style,wt)}_resetBoundingBoxStyles(){j(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){j(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(N,re){const We={},wt=this._hasExactPosition(),Yt=this._hasFlexibleDimensions,$t=this._overlayRef.getConfig();if(wt){const Ae=this._viewportRuler.getViewportScrollPosition();j(We,this._getExactOverlayY(re,N,Ae)),j(We,this._getExactOverlayX(re,N,Ae))}else We.position="static";let ct="",Gt=this._getOffset(re,"x"),te=this._getOffset(re,"y");Gt&&(ct+=`translateX(${Gt}px) `),te&&(ct+=`translateY(${te}px)`),We.transform=ct.trim(),$t.maxHeight&&(wt?We.maxHeight=(0,l.HM)($t.maxHeight):Yt&&(We.maxHeight="")),$t.maxWidth&&(wt?We.maxWidth=(0,l.HM)($t.maxWidth):Yt&&(We.maxWidth="")),j(this._pane.style,We)}_getExactOverlayY(N,re,We){let wt={top:"",bottom:""},Yt=this._getOverlayPoint(re,this._overlayRect,N);return this._isPushed&&(Yt=this._pushOverlayOnScreen(Yt,this._overlayRect,We)),"bottom"===N.overlayY?wt.bottom=this._document.documentElement.clientHeight-(Yt.y+this._overlayRect.height)+"px":wt.top=(0,l.HM)(Yt.y),wt}_getExactOverlayX(N,re,We){let $t,wt={left:"",right:""},Yt=this._getOverlayPoint(re,this._overlayRect,N);return this._isPushed&&(Yt=this._pushOverlayOnScreen(Yt,this._overlayRect,We)),$t=this._isRtl()?"end"===N.overlayX?"left":"right":"end"===N.overlayX?"right":"left","right"===$t?wt.right=this._document.documentElement.clientWidth-(Yt.x+this._overlayRect.width)+"px":wt.left=(0,l.HM)(Yt.x),wt}_getScrollVisibility(){const N=this._getOriginRect(),re=this._pane.getBoundingClientRect(),We=this._scrollables.map(wt=>wt.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:ge(N,We),isOriginOutsideView:_e(N,We),isOverlayClipped:ge(re,We),isOverlayOutsideView:_e(re,We)}}_subtractOverflows(N,...re){return re.reduce((We,wt)=>We-Math.max(wt,0),N)}_getNarrowedViewportRect(){const N=this._document.documentElement.clientWidth,re=this._document.documentElement.clientHeight,We=this._viewportRuler.getViewportScrollPosition();return{top:We.top+this._viewportMargin,left:We.left+this._viewportMargin,right:We.left+N-this._viewportMargin,bottom:We.top+re-this._viewportMargin,width:N-2*this._viewportMargin,height:re-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(N,re){return"x"===re?null==N.offsetX?this._offsetX:N.offsetX:null==N.offsetY?this._offsetY:N.offsetY}_validatePositions(){}_addPanelClasses(N){this._pane&&(0,l.Eq)(N).forEach(re=>{""!==re&&-1===this._appliedPanelClasses.indexOf(re)&&(this._appliedPanelClasses.push(re),this._pane.classList.add(re))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(N=>{this._pane.classList.remove(N)}),this._appliedPanelClasses=[])}_getOriginRect(){const N=this._origin;if(N instanceof T.SBq)return N.nativeElement.getBoundingClientRect();if(N instanceof Element)return N.getBoundingClientRect();const re=N.width||0,We=N.height||0;return{top:N.y,bottom:N.y+We,left:N.x,right:N.x+re,height:We,width:re}}}function j(ve,N){for(let re in N)N.hasOwnProperty(re)&&(ve[re]=N[re]);return ve}function H(ve){if("number"!=typeof ve&&null!=ve){const[N,re]=ve.split(ot);return re&&"px"!==re?null:parseFloat(N)}return ve||null}function C(ve){return{top:Math.floor(ve.top),right:Math.floor(ve.right),bottom:Math.floor(ve.bottom),left:Math.floor(ve.left),width:Math.floor(ve.width),height:Math.floor(ve.height)}}const we="cdk-global-overlay-wrapper";class Fe{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(N){const re=N.getConfig();this._overlayRef=N,this._width&&!re.width&&N.updateSize({width:this._width}),this._height&&!re.height&&N.updateSize({height:this._height}),N.hostElement.classList.add(we),this._isDisposed=!1}top(N=""){return this._bottomOffset="",this._topOffset=N,this._alignItems="flex-start",this}left(N=""){return this._xOffset=N,this._xPosition="left",this}bottom(N=""){return this._topOffset="",this._bottomOffset=N,this._alignItems="flex-end",this}right(N=""){return this._xOffset=N,this._xPosition="right",this}start(N=""){return this._xOffset=N,this._xPosition="start",this}end(N=""){return this._xOffset=N,this._xPosition="end",this}width(N=""){return this._overlayRef?this._overlayRef.updateSize({width:N}):this._width=N,this}height(N=""){return this._overlayRef?this._overlayRef.updateSize({height:N}):this._height=N,this}centerHorizontally(N=""){return this.left(N),this._xPosition="center",this}centerVertically(N=""){return this.top(N),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const N=this._overlayRef.overlayElement.style,re=this._overlayRef.hostElement.style,We=this._overlayRef.getConfig(),{width:wt,height:Yt,maxWidth:$t,maxHeight:ct}=We,Gt=!("100%"!==wt&&"100vw"!==wt||$t&&"100%"!==$t&&"100vw"!==$t),te=!("100%"!==Yt&&"100vh"!==Yt||ct&&"100%"!==ct&&"100vh"!==ct),Ae=this._xPosition,B=this._xOffset,pe="rtl"===this._overlayRef.getConfig().direction;let Ut="",Vt="",be="";Gt?be="flex-start":"center"===Ae?(be="center",pe?Vt=B:Ut=B):pe?"left"===Ae||"end"===Ae?(be="flex-end",Ut=B):("right"===Ae||"start"===Ae)&&(be="flex-start",Vt=B):"left"===Ae||"start"===Ae?(be="flex-start",Ut=B):("right"===Ae||"end"===Ae)&&(be="flex-end",Vt=B),N.position=this._cssPosition,N.marginLeft=Gt?"0":Ut,N.marginTop=te?"0":this._topOffset,N.marginBottom=this._bottomOffset,N.marginRight=Gt?"0":Vt,re.justifyContent=be,re.alignItems=te?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const N=this._overlayRef.overlayElement.style,re=this._overlayRef.hostElement,We=re.style;re.classList.remove(we),We.justifyContent=We.alignItems=N.marginTop=N.marginBottom=N.marginLeft=N.marginRight=N.position="",this._overlayRef=null,this._isDisposed=!0}}let _t=(()=>{class ve{constructor(re,We,wt,Yt){this._viewportRuler=re,this._document=We,this._platform=wt,this._overlayContainer=Yt}global(){return new Fe}flexibleConnectedTo(re){return new W(re,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return ve.\u0275fac=function(re){return new(re||ve)(T.LFG(e.rL),T.LFG(s.K0),T.LFG(b.t4),T.LFG(gi))},ve.\u0275prov=T.Yz7({token:ve,factory:ve.\u0275fac,providedIn:"root"}),ve})(),it=0,Nt=(()=>{class ve{constructor(re,We,wt,Yt,$t,ct,Gt,te,Ae,B,pe,Ut){this.scrollStrategies=re,this._overlayContainer=We,this._componentFactoryResolver=wt,this._positionBuilder=Yt,this._keyboardDispatcher=$t,this._injector=ct,this._ngZone=Gt,this._document=te,this._directionality=Ae,this._location=B,this._outsideClickDispatcher=pe,this._animationsModuleType=Ut}create(re){const We=this._createHostElement(),wt=this._createPaneElement(We),Yt=this._createPortalOutlet(wt),$t=new je(re);return $t.direction=$t.direction||this._directionality.value,new jt(Yt,We,wt,$t,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(re){const We=this._document.createElement("div");return We.id="cdk-overlay-"+it++,We.classList.add("cdk-overlay-pane"),re.appendChild(We),We}_createHostElement(){const re=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(re),re}_createPortalOutlet(re){return this._appRef||(this._appRef=this._injector.get(T.z2F)),new Be.u0(re,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return ve.\u0275fac=function(re){return new(re||ve)(T.LFG(Se),T.LFG(gi),T.LFG(T._Vd),T.LFG(_t),T.LFG(Wt),T.LFG(T.zs3),T.LFG(T.R0b),T.LFG(s.K0),T.LFG(de.Is),T.LFG(s.Ye),T.LFG(yi),T.LFG(T.QbO,8))},ve.\u0275prov=T.Yz7({token:ve,factory:ve.\u0275fac,providedIn:"root"}),ve})();const lt=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],zt=new T.OlP("cdk-connected-overlay-scroll-strategy");let ft=(()=>{class ve{constructor(re){this.elementRef=re}}return ve.\u0275fac=function(re){return new(re||ve)(T.Y36(T.SBq))},ve.\u0275dir=T.lG2({type:ve,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0}),ve})(),Pt=(()=>{class ve{get offsetX(){return this._offsetX}set offsetX(re){this._offsetX=re,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(re){this._offsetY=re,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(re){this._hasBackdrop=(0,l.Ig)(re)}get lockPosition(){return this._lockPosition}set lockPosition(re){this._lockPosition=(0,l.Ig)(re)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(re){this._flexibleDimensions=(0,l.Ig)(re)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(re){this._growAfterOpen=(0,l.Ig)(re)}get push(){return this._push}set push(re){this._push=(0,l.Ig)(re)}constructor(re,We,wt,Yt,$t){this._overlay=re,this._dir=$t,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=Le.w0.EMPTY,this._attachSubscription=Le.w0.EMPTY,this._detachSubscription=Le.w0.EMPTY,this._positionSubscription=Le.w0.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new T.vpe,this.positionChange=new T.vpe,this.attach=new T.vpe,this.detach=new T.vpe,this.overlayKeydown=new T.vpe,this.overlayOutsideClick=new T.vpe,this._templatePortal=new Be.UE(We,wt),this._scrollStrategyFactory=Yt,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(re){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),re.origin&&this.open&&this._position.apply()),re.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=lt);const re=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=re.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=re.detachments().subscribe(()=>this.detach.emit()),re.keydownEvents().subscribe(We=>{this.overlayKeydown.next(We),We.keyCode===Qe.hY&&!this.disableClose&&!(0,Qe.Vb)(We)&&(We.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(We=>{this.overlayOutsideClick.next(We)})}_buildConfig(){const re=this._position=this.positionStrategy||this._createPositionStrategy(),We=new je({direction:this._dir,positionStrategy:re,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(We.width=this.width),(this.height||0===this.height)&&(We.height=this.height),(this.minWidth||0===this.minWidth)&&(We.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(We.minHeight=this.minHeight),this.backdropClass&&(We.backdropClass=this.backdropClass),this.panelClass&&(We.panelClass=this.panelClass),We}_updatePositionStrategy(re){const We=this.positions.map(wt=>({originX:wt.originX,originY:wt.originY,overlayX:wt.overlayX,overlayY:wt.overlayY,offsetX:wt.offsetX||this.offsetX,offsetY:wt.offsetY||this.offsetY,panelClass:wt.panelClass||void 0}));return re.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(We).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const re=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(re),re}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof ft?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(re=>{this.backdropClick.emit(re)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,Ee.o)(()=>this.positionChange.observers.length>0)).subscribe(re=>{this.positionChange.emit(re),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return ve.\u0275fac=function(re){return new(re||ve)(T.Y36(Nt),T.Y36(T.Rgc),T.Y36(T.s_b),T.Y36(zt),T.Y36(de.Is,8))},ve.\u0275dir=T.lG2({type:ve,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[T.TTD]}),ve})();const oi={provide:zt,deps:[Nt],useFactory:function li(ve){return()=>ve.scrollStrategies.reposition()}};let dt=(()=>{class ve{}return ve.\u0275fac=function(re){return new(re||ve)},ve.\u0275mod=T.oAB({type:ve}),ve.\u0275inj=T.cJS({providers:[Nt,oi],imports:[de.vT,Be.eL,e.Cl,e.Cl]}),ve})()},3353:(ri,mt,p)=>{p.d(mt,{Mq:()=>He,Oy:()=>_e,_i:()=>Qe,ht:()=>Me,i$:()=>Be,kV:()=>ze,qK:()=>q,sA:()=>Pe,t4:()=>l});var e=p(4650),s=p(6895);let T;try{T=typeof Intl<"u"&&Intl.v8BreakIterator}catch{T=!1}let O,l=(()=>{class ge{constructor(Se){this._platformId=Se,this.isBrowser=this._platformId?(0,s.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&&!T)&&typeof CSS<"u"&&!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 ge.\u0275fac=function(Se){return new(Se||ge)(e.LFG(e.Lbi))},ge.\u0275prov=e.Yz7({token:ge,factory:ge.\u0275fac,providedIn:"root"}),ge})();const X=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function q(){if(O)return O;if("object"!=typeof document||!document)return O=new Set(X),O;let ge=document.createElement("input");return O=new Set(X.filter(le=>(ge.setAttribute("type",le),ge.type===le))),O}let Ee,he,Le,pt;function Be(ge){return function de(){if(null==Ee&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Ee=!0}))}finally{Ee=Ee||!1}return Ee}()?ge:!!ge.capture}function He(){if(null==Le){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Le=!1,Le;if("scrollBehavior"in document.documentElement.style)Le=!0;else{const ge=Element.prototype.scrollTo;Le=!!ge&&!/\{\s*\[native code\]\s*\}/.test(ge.toString())}}return Le}function Qe(){if("object"!=typeof document||!document)return 0;if(null==he){const ge=document.createElement("div"),le=ge.style;ge.dir="rtl",le.width="1px",le.overflow="auto",le.visibility="hidden",le.pointerEvents="none",le.position="absolute";const Se=document.createElement("div"),je=Se.style;je.width="2px",je.height="1px",ge.appendChild(Se),document.body.appendChild(ge),he=0,0===ge.scrollLeft&&(ge.scrollLeft=1,he=0===ge.scrollLeft?1:2),ge.remove()}return he}function ze(ge){if(function Re(){if(null==pt){const ge=typeof document<"u"?document.head:null;pt=!(!ge||!ge.createShadowRoot&&!ge.attachShadow)}return pt}()){const le=ge.getRootNode?ge.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&le instanceof ShadowRoot)return le}return null}function Me(){let ge=typeof document<"u"&&document?document.activeElement:null;for(;ge&&ge.shadowRoot;){const le=ge.shadowRoot.activeElement;if(le===ge)break;ge=le}return ge}function Pe(ge){return ge.composedPath?ge.composedPath()[0]:ge.target}function _e(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},4080:(ri,mt,p)=>{p.d(mt,{C5:()=>de,Pl:()=>Me,UE:()=>Be,eL:()=>_e,en:()=>Le,ig:()=>Re,u0:()=>Qe});var e=p(4650),s=p(6895);class Ee{attach(Se){return this._attachedHost=Se,Se.attach(this)}detach(){let Se=this._attachedHost;null!=Se&&(this._attachedHost=null,Se.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(Se){this._attachedHost=Se}}class de extends Ee{constructor(Se,je,Ke,Ge,vt){super(),this.component=Se,this.viewContainerRef=je,this.injector=Ke,this.componentFactoryResolver=Ge,this.projectableNodes=vt}}class Be extends Ee{constructor(Se,je,Ke,Ge){super(),this.templateRef=Se,this.viewContainerRef=je,this.context=Ke,this.injector=Ge}get origin(){return this.templateRef.elementRef}attach(Se,je=this.context){return this.context=je,super.attach(Se)}detach(){return this.context=void 0,super.detach()}}class he extends Ee{constructor(Se){super(),this.element=Se instanceof e.SBq?Se.nativeElement:Se}}class Le{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(Se){return Se instanceof de?(this._attachedPortal=Se,this.attachComponentPortal(Se)):Se instanceof Be?(this._attachedPortal=Se,this.attachTemplatePortal(Se)):this.attachDomPortal&&Se instanceof he?(this._attachedPortal=Se,this.attachDomPortal(Se)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(Se){this._disposeFn=Se}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class Qe extends Le{constructor(Se,je,Ke,Ge,vt){super(),this.outletElement=Se,this._componentFactoryResolver=je,this._appRef=Ke,this._defaultInjector=Ge,this.attachDomPortal=xe=>{const kt=xe.element,rt=this._document.createComment("dom-portal");kt.parentNode.insertBefore(rt,kt),this.outletElement.appendChild(kt),this._attachedPortal=xe,super.setDisposeFn(()=>{rt.parentNode&&rt.parentNode.replaceChild(kt,rt)})},this._document=vt}attachComponentPortal(Se){const Ke=(Se.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Se.component);let Ge;return Se.viewContainerRef?(Ge=Se.viewContainerRef.createComponent(Ke,Se.viewContainerRef.length,Se.injector||Se.viewContainerRef.injector,Se.projectableNodes||void 0),this.setDisposeFn(()=>Ge.destroy())):(Ge=Ke.create(Se.injector||this._defaultInjector||e.zs3.NULL),this._appRef.attachView(Ge.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(Ge.hostView),Ge.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(Ge)),this._attachedPortal=Se,Ge}attachTemplatePortal(Se){let je=Se.viewContainerRef,Ke=je.createEmbeddedView(Se.templateRef,Se.context,{injector:Se.injector});return Ke.rootNodes.forEach(Ge=>this.outletElement.appendChild(Ge)),Ke.detectChanges(),this.setDisposeFn(()=>{let Ge=je.indexOf(Ke);-1!==Ge&&je.remove(Ge)}),this._attachedPortal=Se,Ke}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(Se){return Se.hostView.rootNodes[0]}}let Re=(()=>{class le extends Be{constructor(je,Ke){super(je,Ke)}}return le.\u0275fac=function(je){return new(je||le)(e.Y36(e.Rgc),e.Y36(e.s_b))},le.\u0275dir=e.lG2({type:le,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[e.qOj]}),le})(),Me=(()=>{class le extends Le{constructor(je,Ke,Ge){super(),this._componentFactoryResolver=je,this._viewContainerRef=Ke,this._isInitialized=!1,this.attached=new e.vpe,this.attachDomPortal=vt=>{const xe=vt.element,kt=this._document.createComment("dom-portal");vt.setAttachedHost(this),xe.parentNode.insertBefore(kt,xe),this._getRootNode().appendChild(xe),this._attachedPortal=vt,super.setDisposeFn(()=>{kt.parentNode&&kt.parentNode.replaceChild(xe,kt)})},this._document=Ge}get portal(){return this._attachedPortal}set portal(je){this.hasAttached()&&!je&&!this._isInitialized||(this.hasAttached()&&super.detach(),je&&super.attach(je),this._attachedPortal=je||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(je){je.setAttachedHost(this);const Ke=null!=je.viewContainerRef?je.viewContainerRef:this._viewContainerRef,vt=(je.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(je.component),xe=Ke.createComponent(vt,Ke.length,je.injector||Ke.injector,je.projectableNodes||void 0);return Ke!==this._viewContainerRef&&this._getRootNode().appendChild(xe.hostView.rootNodes[0]),super.setDisposeFn(()=>xe.destroy()),this._attachedPortal=je,this._attachedRef=xe,this.attached.emit(xe),xe}attachTemplatePortal(je){je.setAttachedHost(this);const Ke=this._viewContainerRef.createEmbeddedView(je.templateRef,je.context,{injector:je.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=je,this._attachedRef=Ke,this.attached.emit(Ke),Ke}_getRootNode(){const je=this._viewContainerRef.element.nativeElement;return je.nodeType===je.ELEMENT_NODE?je:je.parentNode}}return le.\u0275fac=function(je){return new(je||le)(e.Y36(e._Vd),e.Y36(e.s_b),e.Y36(s.K0))},le.\u0275dir=e.lG2({type:le,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[e.qOj]}),le})(),_e=(()=>{class le{}return le.\u0275fac=function(je){return new(je||le)},le.\u0275mod=e.oAB({type:le}),le.\u0275inj=e.cJS({}),le})()},7376:(ri,mt,p)=>{p.d(mt,{Cl:()=>W,PQ:()=>je,ZD:()=>ot,mF:()=>Se,rL:()=>Ge});var e=p(1281),s=p(4650),T=p(7579),l=p(9646),b=p(9751),O=p(4968),X=p(6406),q=p(3101),Ee=p(727),de=p(3601),Be=p(9300),he=p(2722),Le=p(8675),He=p(3353),Qe=p(6895),pt=p(445);const Re=["contentWrapper"],ze=["*"],Me=new s.OlP("VIRTUAL_SCROLL_STRATEGY");let Se=(()=>{class j{constructor(C,Y,$){this._ngZone=C,this._platform=Y,this._scrolled=new T.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=$}register(C){this.scrollContainers.has(C)||this.scrollContainers.set(C,C.elementScrolled().subscribe(()=>this._scrolled.next(C)))}deregister(C){const Y=this.scrollContainers.get(C);Y&&(Y.unsubscribe(),this.scrollContainers.delete(C))}scrolled(C=20){return this._platform.isBrowser?new b.y(Y=>{this._globalSubscription||this._addGlobalListener();const $=C>0?this._scrolled.pipe((0,de.e)(C)).subscribe(Y):this._scrolled.subscribe(Y);return this._scrolledCount++,()=>{$.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,l.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((C,Y)=>this.deregister(Y)),this._scrolled.complete()}ancestorScrolled(C,Y){const $=this.getAncestorScrollContainers(C);return this.scrolled(Y).pipe((0,Be.h)(we=>!we||$.indexOf(we)>-1))}getAncestorScrollContainers(C){const Y=[];return this.scrollContainers.forEach(($,we)=>{this._scrollableContainsElement(we,C)&&Y.push(we)}),Y}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(C,Y){let $=(0,e.fI)(Y),we=C.getElementRef().nativeElement;do{if($==we)return!0}while($=$.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const C=this._getWindow();return(0,O.R)(C.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return j.\u0275fac=function(C){return new(C||j)(s.LFG(s.R0b),s.LFG(He.t4),s.LFG(Qe.K0,8))},j.\u0275prov=s.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j})(),je=(()=>{class j{constructor(C,Y,$,we){this.elementRef=C,this.scrollDispatcher=Y,this.ngZone=$,this.dir=we,this._destroyed=new T.x,this._elementScrolled=new b.y(Fe=>this.ngZone.runOutsideAngular(()=>(0,O.R)(this.elementRef.nativeElement,"scroll").pipe((0,he.R)(this._destroyed)).subscribe(Fe)))}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(C){const Y=this.elementRef.nativeElement,$=this.dir&&"rtl"==this.dir.value;null==C.left&&(C.left=$?C.end:C.start),null==C.right&&(C.right=$?C.start:C.end),null!=C.bottom&&(C.top=Y.scrollHeight-Y.clientHeight-C.bottom),$&&0!=(0,He._i)()?(null!=C.left&&(C.right=Y.scrollWidth-Y.clientWidth-C.left),2==(0,He._i)()?C.left=C.right:1==(0,He._i)()&&(C.left=C.right?-C.right:C.right)):null!=C.right&&(C.left=Y.scrollWidth-Y.clientWidth-C.right),this._applyScrollToOptions(C)}_applyScrollToOptions(C){const Y=this.elementRef.nativeElement;(0,He.Mq)()?Y.scrollTo(C):(null!=C.top&&(Y.scrollTop=C.top),null!=C.left&&(Y.scrollLeft=C.left))}measureScrollOffset(C){const Y="left",$="right",we=this.elementRef.nativeElement;if("top"==C)return we.scrollTop;if("bottom"==C)return we.scrollHeight-we.clientHeight-we.scrollTop;const Fe=this.dir&&"rtl"==this.dir.value;return"start"==C?C=Fe?$:Y:"end"==C&&(C=Fe?Y:$),Fe&&2==(0,He._i)()?C==Y?we.scrollWidth-we.clientWidth-we.scrollLeft:we.scrollLeft:Fe&&1==(0,He._i)()?C==Y?we.scrollLeft+we.scrollWidth-we.clientWidth:-we.scrollLeft:C==Y?we.scrollLeft:we.scrollWidth-we.clientWidth-we.scrollLeft}}return j.\u0275fac=function(C){return new(C||j)(s.Y36(s.SBq),s.Y36(Se),s.Y36(s.R0b),s.Y36(pt.Is,8))},j.\u0275dir=s.lG2({type:j,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0}),j})(),Ge=(()=>{class j{constructor(C,Y,$){this._platform=C,this._change=new T.x,this._changeListener=we=>{this._change.next(we)},this._document=$,Y.runOutsideAngular(()=>{if(C.isBrowser){const we=this._getWindow();we.addEventListener("resize",this._changeListener),we.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const C=this._getWindow();C.removeEventListener("resize",this._changeListener),C.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const C={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),C}getViewportRect(){const C=this.getViewportScrollPosition(),{width:Y,height:$}=this.getViewportSize();return{top:C.top,left:C.left,bottom:C.top+$,right:C.left+Y,height:$,width:Y}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const C=this._document,Y=this._getWindow(),$=C.documentElement,we=$.getBoundingClientRect();return{top:-we.top||C.body.scrollTop||Y.scrollY||$.scrollTop||0,left:-we.left||C.body.scrollLeft||Y.scrollX||$.scrollLeft||0}}change(C=20){return C>0?this._change.pipe((0,de.e)(C)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const C=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:C.innerWidth,height:C.innerHeight}:{width:0,height:0}}}return j.\u0275fac=function(C){return new(C||j)(s.LFG(He.t4),s.LFG(s.R0b),s.LFG(Qe.K0,8))},j.\u0275prov=s.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j})();const vt=new s.OlP("VIRTUAL_SCROLLABLE");let xe=(()=>{class j extends je{constructor(C,Y,$,we){super(C,Y,$,we)}measureViewportSize(C){const Y=this.elementRef.nativeElement;return"horizontal"===C?Y.clientWidth:Y.clientHeight}}return j.\u0275fac=function(C){return new(C||j)(s.Y36(s.SBq),s.Y36(Se),s.Y36(s.R0b),s.Y36(pt.Is,8))},j.\u0275dir=s.lG2({type:j,features:[s.qOj]}),j})();const rt=typeof requestAnimationFrame<"u"?X.Z:q.E;let Wt=(()=>{class j extends xe{get orientation(){return this._orientation}set orientation(C){this._orientation!==C&&(this._orientation=C,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(C){this._appendOnly=(0,e.Ig)(C)}constructor(C,Y,$,we,Fe,_t,it,Nt){super(C,_t,$,Fe),this.elementRef=C,this._changeDetectorRef=Y,this._scrollStrategy=we,this.scrollable=Nt,this._platform=(0,s.f3M)(He.t4),this._detachedSubject=new T.x,this._renderedRangeSubject=new T.x,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new b.y(lt=>this._scrollStrategy.scrolledIndexChange.subscribe(zt=>Promise.resolve().then(()=>this.ngZone.run(()=>lt.next(zt))))),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=Ee.w0.EMPTY,this._viewportChanges=it.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this)}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe((0,Le.O)(null),(0,de.e)(0,rt)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(C){this.ngZone.runOutsideAngular(()=>{this._forOf=C,this._forOf.dataStream.pipe((0,he.R)(this._detachedSubject)).subscribe(Y=>{const $=Y.length;$!==this._dataLength&&(this._dataLength=$,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(C){return this.getElementRef().nativeElement.getBoundingClientRect()[C]}setTotalContentSize(C){this._totalContentSize!==C&&(this._totalContentSize=C,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(C){(function kt(j,H){return j.start==H.start&&j.end==H.end})(this._renderedRange,C)||(this.appendOnly&&(C={start:0,end:Math.max(this._renderedRange.end,C.end)}),this._renderedRangeSubject.next(this._renderedRange=C),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(C,Y="to-start"){C=this.appendOnly&&"to-start"===Y?0:C;const we="horizontal"==this.orientation,Fe=we?"X":"Y";let it=`translate${Fe}(${Number((we&&this.dir&&"rtl"==this.dir.value?-1:1)*C)}px)`;this._renderedContentOffset=C,"to-end"===Y&&(it+=` translate${Fe}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=it&&(this._renderedContentTransform=it,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(C,Y="auto"){const $={behavior:Y};"horizontal"===this.orientation?$.start=C:$.top=C,this.scrollable.scrollTo($)}scrollToIndex(C,Y="auto"){this._scrollStrategy.scrollToIndex(C,Y)}measureScrollOffset(C){let Y;return Y=this.scrollable==this?$=>super.measureScrollOffset($):$=>this.scrollable.measureScrollOffset($),Math.max(0,Y(C??("horizontal"===this.orientation?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(C){let Y;const $="left",Fe="rtl"==this.dir?.value;Y="start"==C?Fe?"right":$:"end"==C?Fe?$:"right":C||("horizontal"===this.orientation?"left":"top");const _t=this.scrollable.measureBoundingClientRectWithScrollOffset(Y);return this.elementRef.nativeElement.getBoundingClientRect()[Y]-_t}measureRenderedContentSize(){const C=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?C.offsetWidth:C.offsetHeight}measureRangeSize(C){return this._forOf?this._forOf.measureRangeSize(C,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(C){C&&this._runAfterChangeDetection.push(C),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 C=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const Y of C)Y()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}return j.\u0275fac=function(C){return new(C||j)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(s.R0b),s.Y36(Me,8),s.Y36(pt.Is,8),s.Y36(Se),s.Y36(Ge),s.Y36(vt,8))},j.\u0275cmp=s.Xpm({type:j,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(C,Y){if(1&C&&s.Gf(Re,7),2&C){let $;s.iGM($=s.CRH())&&(Y._contentWrapper=$.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(C,Y){2&C&&s.ekj("cdk-virtual-scroll-orientation-horizontal","horizontal"===Y.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==Y.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},standalone:!0,features:[s._Bn([{provide:je,useFactory:(H,C)=>H||C,deps:[[new s.FiY,new s.tBr(vt)],j]}]),s.qOj,s.jDz],ngContentSelectors:ze,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(C,Y){1&C&&(s.F$t(),s.TgZ(0,"div",0,1),s.Hsn(2),s.qZA(),s._UZ(3,"div",2)),2&C&&(s.xp6(3),s.Udp("width",Y._totalContentWidth)("height",Y._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-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{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"],encapsulation:2,changeDetection:0}),j})(),ot=(()=>{class j{}return j.\u0275fac=function(C){return new(C||j)},j.\u0275mod=s.oAB({type:j}),j.\u0275inj=s.cJS({}),j})(),W=(()=>{class j{}return j.\u0275fac=function(C){return new(C||j)},j.\u0275mod=s.oAB({type:j}),j.\u0275inj=s.cJS({imports:[pt.vT,ot,Wt,pt.vT,ot]}),j})()},5013:(ri,mt,p)=>{p.d(mt,{$E:()=>$t,Af:()=>xe,D5:()=>le,FT:()=>Yt,HT:()=>Vt,Hx:()=>pe,Kb:()=>we,O_:()=>ge,QJ:()=>kt,Sq:()=>$,T$:()=>wt,Z4:()=>Se,_J:()=>it,bH:()=>ct,fe:()=>Y,fo:()=>Ge,hD:()=>rt,nl:()=>yi,oF:()=>gi,pF:()=>re,pN:()=>Pe,qM:()=>_t,r2:()=>Nt,s$:()=>j,xN:()=>Fe,zC:()=>Ae});var e=p(445),s=p(1281),T=p(5017),l=p(3353),b=p(7376),O=p(6895),X=p(4650),q=p(7579),Ee=p(2076),de=p(1135),Be=p(5191),he=p(9646),Le=p(2722),He=p(5698);const Qe=[[["caption"]],[["colgroup"],["col"]]],pt=["caption","colgroup, col"];function Re(be,st){if(1&be&&(X.TgZ(0,"th",3),X._uU(1),X.qZA()),2&be){const Z=X.oxw();X.Udp("text-align",Z.justify),X.xp6(1),X.hij(" ",Z.headerText," ")}}function ze(be,st){if(1&be&&(X.TgZ(0,"td",4),X._uU(1),X.qZA()),2&be){const Z=st.$implicit,ke=X.oxw();X.Udp("text-align",ke.justify),X.xp6(1),X.hij(" ",ke.dataAccessor(Z,ke.name)," ")}}function Me(be){return class extends be{get sticky(){return this._sticky}set sticky(st){const Z=this._sticky;this._sticky=(0,s.Ig)(st),this._hasStickyChanged=Z!==this._sticky}hasStickyChanged(){const st=this._hasStickyChanged;return this._hasStickyChanged=!1,st}resetStickyChanged(){this._hasStickyChanged=!1}constructor(...st){super(...st),this._sticky=!1,this._hasStickyChanged=!1}}}const Pe=new X.OlP("CDK_TABLE"),_e=new X.OlP("text-column-options");let ge=(()=>{class be{constructor(Z){this.template=Z}}return be.\u0275fac=function(Z){return new(Z||be)(X.Y36(X.Rgc))},be.\u0275dir=X.lG2({type:be,selectors:[["","cdkCellDef",""]]}),be})(),le=(()=>{class be{constructor(Z){this.template=Z}}return be.\u0275fac=function(Z){return new(Z||be)(X.Y36(X.Rgc))},be.\u0275dir=X.lG2({type:be,selectors:[["","cdkHeaderCellDef",""]]}),be})(),Se=(()=>{class be{constructor(Z){this.template=Z}}return be.\u0275fac=function(Z){return new(Z||be)(X.Y36(X.Rgc))},be.\u0275dir=X.lG2({type:be,selectors:[["","cdkFooterCellDef",""]]}),be})();class je{}const Ke=Me(je);let Ge=(()=>{class be extends Ke{get name(){return this._name}set name(Z){this._setNameInput(Z)}get stickyEnd(){return this._stickyEnd}set stickyEnd(Z){const ke=this._stickyEnd;this._stickyEnd=(0,s.Ig)(Z),this._hasStickyChanged=ke!==this._stickyEnd}constructor(Z){super(),this._table=Z,this._stickyEnd=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(Z){Z&&(this._name=Z,this.cssClassFriendlyName=Z.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return be.\u0275fac=function(Z){return new(Z||be)(X.Y36(Pe,8))},be.\u0275dir=X.lG2({type:be,selectors:[["","cdkColumnDef",""]],contentQueries:function(Z,ke,gt){if(1&Z&&(X.Suo(gt,ge,5),X.Suo(gt,le,5),X.Suo(gt,Se,5)),2&Z){let Rt;X.iGM(Rt=X.CRH())&&(ke.cell=Rt.first),X.iGM(Rt=X.CRH())&&(ke.headerCell=Rt.first),X.iGM(Rt=X.CRH())&&(ke.footerCell=Rt.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[X._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:be}]),X.qOj]}),be})();class vt{constructor(st,Z){Z.nativeElement.classList.add(...st._columnCssClassName)}}let xe=(()=>{class be extends vt{constructor(Z,ke){super(Z,ke)}}return be.\u0275fac=function(Z){return new(Z||be)(X.Y36(Ge),X.Y36(X.SBq))},be.\u0275dir=X.lG2({type:be,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[X.qOj]}),be})(),kt=(()=>{class be extends vt{constructor(Z,ke){if(super(Z,ke),1===Z._table?._elementRef.nativeElement.nodeType){const gt=Z._table._elementRef.nativeElement.getAttribute("role");ke.nativeElement.setAttribute("role","grid"===gt||"treegrid"===gt?"gridcell":"cell")}}}return be.\u0275fac=function(Z){return new(Z||be)(X.Y36(Ge),X.Y36(X.SBq))},be.\u0275dir=X.lG2({type:be,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[X.qOj]}),be})(),rt=(()=>{class be extends vt{constructor(Z,ke){if(super(Z,ke),1===Z._table?._elementRef.nativeElement.nodeType){const gt=Z._table._elementRef.nativeElement.getAttribute("role");ke.nativeElement.setAttribute("role","grid"===gt||"treegrid"===gt?"gridcell":"cell")}}}return be.\u0275fac=function(Z){return new(Z||be)(X.Y36(Ge),X.Y36(X.SBq))},be.\u0275dir=X.lG2({type:be,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[X.qOj]}),be})();class Wt{constructor(){this.tasks=[],this.endTasks=[]}}const yi=new X.OlP("_COALESCED_STYLE_SCHEDULER");let gi=(()=>{class be{constructor(Z){this._ngZone=Z,this._currentSchedule=null,this._destroyed=new q.x}schedule(Z){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(Z)}scheduleEnd(Z){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(Z)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new Wt,this._getScheduleObservable().pipe((0,Le.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const Z=this._currentSchedule;this._currentSchedule=new Wt;for(const ke of Z.tasks)ke();for(const ke of Z.endTasks)ke()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,Ee.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,He.q)(1))}}return be.\u0275fac=function(Z){return new(Z||be)(X.LFG(X.R0b))},be.\u0275prov=X.Yz7({token:be,factory:be.\u0275fac}),be})(),ai=(()=>{class be{constructor(Z,ke){this.template=Z,this._differs=ke}ngOnChanges(Z){if(!this._columnsDiffer){const ke=Z.columns&&Z.columns.currentValue||[];this._columnsDiffer=this._differs.find(ke).create(),this._columnsDiffer.diff(ke)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(Z){return this instanceof j?Z.headerCell.template:this instanceof Y?Z.footerCell.template:Z.cell.template}}return be.\u0275fac=function(Z){return new(Z||be)(X.Y36(X.Rgc),X.Y36(X.ZZ4))},be.\u0275dir=X.lG2({type:be,features:[X.TTD]}),be})();class ot extends ai{}const W=Me(ot);let j=(()=>{class be extends W{constructor(Z,ke,gt){super(Z,ke),this._table=gt}ngOnChanges(Z){super.ngOnChanges(Z)}}return be.\u0275fac=function(Z){return new(Z||be)(X.Y36(X.Rgc),X.Y36(X.ZZ4),X.Y36(Pe,8))},be.\u0275dir=X.lG2({type:be,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[X.qOj,X.TTD]}),be})();class H extends ai{}const C=Me(H);let Y=(()=>{class be extends C{constructor(Z,ke,gt){super(Z,ke),this._table=gt}ngOnChanges(Z){super.ngOnChanges(Z)}}return be.\u0275fac=function(Z){return new(Z||be)(X.Y36(X.Rgc),X.Y36(X.ZZ4),X.Y36(Pe,8))},be.\u0275dir=X.lG2({type:be,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[X.qOj,X.TTD]}),be})(),$=(()=>{class be extends ai{constructor(Z,ke,gt){super(Z,ke),this._table=gt}}return be.\u0275fac=function(Z){return new(Z||be)(X.Y36(X.Rgc),X.Y36(X.ZZ4),X.Y36(Pe,8))},be.\u0275dir=X.lG2({type:be,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[X.qOj]}),be})(),we=(()=>{class be{constructor(Z){this._viewContainer=Z,be.mostRecentCellOutlet=this}ngOnDestroy(){be.mostRecentCellOutlet===this&&(be.mostRecentCellOutlet=null)}}return be.mostRecentCellOutlet=null,be.\u0275fac=function(Z){return new(Z||be)(X.Y36(X.s_b))},be.\u0275dir=X.lG2({type:be,selectors:[["","cdkCellOutlet",""]]}),be})(),Fe=(()=>{class be{}return be.\u0275fac=function(Z){return new(Z||be)},be.\u0275cmp=X.Xpm({type:be,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Z,ke){1&Z&&X.GkF(0,0)},dependencies:[we],encapsulation:2}),be})(),_t=(()=>{class be{}return be.\u0275fac=function(Z){return new(Z||be)},be.\u0275cmp=X.Xpm({type:be,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Z,ke){1&Z&&X.GkF(0,0)},dependencies:[we],encapsulation:2}),be})(),it=(()=>{class be{}return be.\u0275fac=function(Z){return new(Z||be)},be.\u0275cmp=X.Xpm({type:be,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(Z,ke){1&Z&&X.GkF(0,0)},dependencies:[we],encapsulation:2}),be})(),Nt=(()=>{class be{constructor(Z){this.templateRef=Z,this._contentClassName="cdk-no-data-row"}}return be.\u0275fac=function(Z){return new(Z||be)(X.Y36(X.Rgc))},be.\u0275dir=X.lG2({type:be,selectors:[["ng-template","cdkNoDataRow",""]]}),be})();const lt=["top","bottom","left","right"];class zt{constructor(st,Z,ke,gt,Rt=!0,se=!0,z){this._isNativeHtmlTable=st,this._stickCellCss=Z,this.direction=ke,this._coalescedStyleScheduler=gt,this._isBrowser=Rt,this._needsPositionStickyOnElement=se,this._positionListener=z,this._cachedCellWidths=[],this._borderCellCss={top:`${Z}-border-elem-top`,bottom:`${Z}-border-elem-bottom`,left:`${Z}-border-elem-left`,right:`${Z}-border-elem-right`}}clearStickyPositioning(st,Z){const ke=[];for(const gt of st)if(gt.nodeType===gt.ELEMENT_NODE){ke.push(gt);for(let Rt=0;Rt<gt.children.length;Rt++)ke.push(gt.children[Rt])}this._coalescedStyleScheduler.schedule(()=>{for(const gt of ke)this._removeStickyStyle(gt,Z)})}updateStickyColumns(st,Z,ke,gt=!0){if(!st.length||!this._isBrowser||!Z.some(ii=>ii)&&!ke.some(ii=>ii))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const Rt=st[0],se=Rt.children.length,z=this._getCellWidths(Rt,gt),A=this._getStickyStartColumnPositions(z,Z),me=this._getStickyEndColumnPositions(z,ke),Ye=Z.lastIndexOf(!0),Ot=ke.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const ii="rtl"===this.direction,Ci=ii?"right":"left",Si=ii?"left":"right";for(const Fi of st)for(let vi=0;vi<se;vi++){const Lt=Fi.children[vi];Z[vi]&&this._addStickyStyle(Lt,Ci,A[vi],vi===Ye),ke[vi]&&this._addStickyStyle(Lt,Si,me[vi],vi===Ot)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===Ye?[]:z.slice(0,Ye+1).map((Fi,vi)=>Z[vi]?Fi:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===Ot?[]:z.slice(Ot).map((Fi,vi)=>ke[vi+Ot]?Fi:null).reverse()}))})}stickRows(st,Z,ke){if(!this._isBrowser)return;const gt="bottom"===ke?st.slice().reverse():st,Rt="bottom"===ke?Z.slice().reverse():Z,se=[],z=[],A=[];for(let Ye=0,Ot=0;Ye<gt.length;Ye++){if(!Rt[Ye])continue;se[Ye]=Ot;const ii=gt[Ye];A[Ye]=this._isNativeHtmlTable?Array.from(ii.children):[ii];const Ci=ii.getBoundingClientRect().height;Ot+=Ci,z[Ye]=Ci}const me=Rt.lastIndexOf(!0);this._coalescedStyleScheduler.schedule(()=>{for(let Ye=0;Ye<gt.length;Ye++){if(!Rt[Ye])continue;const Ot=se[Ye],ii=Ye===me;for(const Ci of A[Ye])this._addStickyStyle(Ci,ke,Ot,ii)}"top"===ke?this._positionListener?.stickyHeaderRowsUpdated({sizes:z,offsets:se,elements:A}):this._positionListener?.stickyFooterRowsUpdated({sizes:z,offsets:se,elements:A})})}updateStickyFooterContainer(st,Z){if(!this._isNativeHtmlTable)return;const ke=st.querySelector("tfoot");this._coalescedStyleScheduler.schedule(()=>{Z.some(gt=>!gt)?this._removeStickyStyle(ke,["bottom"]):this._addStickyStyle(ke,"bottom",0,!1)})}_removeStickyStyle(st,Z){for(const gt of Z)st.style[gt]="",st.classList.remove(this._borderCellCss[gt]);lt.some(gt=>-1===Z.indexOf(gt)&&st.style[gt])?st.style.zIndex=this._getCalculatedZIndex(st):(st.style.zIndex="",this._needsPositionStickyOnElement&&(st.style.position=""),st.classList.remove(this._stickCellCss))}_addStickyStyle(st,Z,ke,gt){st.classList.add(this._stickCellCss),gt&&st.classList.add(this._borderCellCss[Z]),st.style[Z]=`${ke}px`,st.style.zIndex=this._getCalculatedZIndex(st),this._needsPositionStickyOnElement&&(st.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(st){const Z={top:100,bottom:10,left:1,right:1};let ke=0;for(const gt of lt)st.style[gt]&&(ke+=Z[gt]);return ke?`${ke}`:""}_getCellWidths(st,Z=!0){if(!Z&&this._cachedCellWidths.length)return this._cachedCellWidths;const ke=[],gt=st.children;for(let Rt=0;Rt<gt.length;Rt++)ke.push(gt[Rt].getBoundingClientRect().width);return this._cachedCellWidths=ke,ke}_getStickyStartColumnPositions(st,Z){const ke=[];let gt=0;for(let Rt=0;Rt<st.length;Rt++)Z[Rt]&&(ke[Rt]=gt,gt+=st[Rt]);return ke}_getStickyEndColumnPositions(st,Z){const ke=[];let gt=0;for(let Rt=st.length;Rt>0;Rt--)Z[Rt]&&(ke[Rt]=gt,gt+=st[Rt]);return ke}}const re=new X.OlP("CDK_SPL");let wt=(()=>{class be{constructor(Z,ke){this.viewContainer=Z,this.elementRef=ke}}return be.\u0275fac=function(Z){return new(Z||be)(X.Y36(X.s_b),X.Y36(X.SBq))},be.\u0275dir=X.lG2({type:be,selectors:[["","rowOutlet",""]]}),be})(),Yt=(()=>{class be{constructor(Z,ke){this.viewContainer=Z,this.elementRef=ke}}return be.\u0275fac=function(Z){return new(Z||be)(X.Y36(X.s_b),X.Y36(X.SBq))},be.\u0275dir=X.lG2({type:be,selectors:[["","headerRowOutlet",""]]}),be})(),$t=(()=>{class be{constructor(Z,ke){this.viewContainer=Z,this.elementRef=ke}}return be.\u0275fac=function(Z){return new(Z||be)(X.Y36(X.s_b),X.Y36(X.SBq))},be.\u0275dir=X.lG2({type:be,selectors:[["","footerRowOutlet",""]]}),be})(),ct=(()=>{class be{constructor(Z,ke){this.viewContainer=Z,this.elementRef=ke}}return be.\u0275fac=function(Z){return new(Z||be)(X.Y36(X.s_b),X.Y36(X.SBq))},be.\u0275dir=X.lG2({type:be,selectors:[["","noDataRowOutlet",""]]}),be})(),Ae=(()=>{class be{get trackBy(){return this._trackByFn}set trackBy(Z){this._trackByFn=Z}get dataSource(){return this._dataSource}set dataSource(Z){this._dataSource!==Z&&this._switchDataSource(Z)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(Z){this._multiTemplateDataRows=(0,s.Ig)(Z),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(Z){this._fixedLayout=(0,s.Ig)(Z),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(Z,ke,gt,Rt,se,z,A,me,Ye,Ot,ii,Ci){this._differs=Z,this._changeDetectorRef=ke,this._elementRef=gt,this._dir=se,this._platform=A,this._viewRepeater=me,this._coalescedStyleScheduler=Ye,this._viewportRuler=Ot,this._stickyPositioningListener=ii,this._ngZone=Ci,this._onDestroy=new q.x,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new X.vpe,this.viewChange=new de.X({start:0,end:Number.MAX_VALUE}),Rt||this._elementRef.nativeElement.setAttribute("role","table"),this._document=z,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((Z,ke)=>this.trackBy?this.trackBy(ke.dataIndex,ke.data):ke),this._viewportRuler.change().pipe((0,Le.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const ke=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||ke,this._forceRecalculateCellWidths=ke,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(Z=>{Z.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,T.Z9)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const Z=this._dataDiffer.diff(this._renderRows);if(!Z)return this._updateNoDataRow(),void this.contentChanged.next();const ke=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(Z,ke,(gt,Rt,se)=>this._getEmbeddedViewArgs(gt.item,se),gt=>gt.item.data,gt=>{1===gt.operation&&gt.context&&this._renderCellTemplateForItem(gt.record.item.rowDef,gt.context)}),this._updateRowIndexContext(),Z.forEachIdentityChange(gt=>{ke.get(gt.currentIndex).context.$implicit=gt.item.data}),this._updateNoDataRow(),this._ngZone&&X.R0b.isInAngularZone()?this._ngZone.onStable.pipe((0,He.q)(1),(0,Le.R)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(Z){this._customColumnDefs.add(Z)}removeColumnDef(Z){this._customColumnDefs.delete(Z)}addRowDef(Z){this._customRowDefs.add(Z)}removeRowDef(Z){this._customRowDefs.delete(Z)}addHeaderRowDef(Z){this._customHeaderRowDefs.add(Z),this._headerRowDefChanged=!0}removeHeaderRowDef(Z){this._customHeaderRowDefs.delete(Z),this._headerRowDefChanged=!0}addFooterRowDef(Z){this._customFooterRowDefs.add(Z),this._footerRowDefChanged=!0}removeFooterRowDef(Z){this._customFooterRowDefs.delete(Z),this._footerRowDefChanged=!0}setNoDataRow(Z){this._customNoDataRow=Z}updateStickyHeaderRowStyles(){const Z=this._getRenderedRows(this._headerRowOutlet),gt=this._elementRef.nativeElement.querySelector("thead");gt&&(gt.style.display=Z.length?"":"none");const Rt=this._headerRowDefs.map(se=>se.sticky);this._stickyStyler.clearStickyPositioning(Z,["top"]),this._stickyStyler.stickRows(Z,Rt,"top"),this._headerRowDefs.forEach(se=>se.resetStickyChanged())}updateStickyFooterRowStyles(){const Z=this._getRenderedRows(this._footerRowOutlet),gt=this._elementRef.nativeElement.querySelector("tfoot");gt&&(gt.style.display=Z.length?"":"none");const Rt=this._footerRowDefs.map(se=>se.sticky);this._stickyStyler.clearStickyPositioning(Z,["bottom"]),this._stickyStyler.stickRows(Z,Rt,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,Rt),this._footerRowDefs.forEach(se=>se.resetStickyChanged())}updateStickyColumnStyles(){const Z=this._getRenderedRows(this._headerRowOutlet),ke=this._getRenderedRows(this._rowOutlet),gt=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...Z,...ke,...gt],["left","right"]),this._stickyColumnStylesNeedReset=!1),Z.forEach((Rt,se)=>{this._addStickyColumnStyles([Rt],this._headerRowDefs[se])}),this._rowDefs.forEach(Rt=>{const se=[];for(let z=0;z<ke.length;z++)this._renderRows[z].rowDef===Rt&&se.push(ke[z]);this._addStickyColumnStyles(se,Rt)}),gt.forEach((Rt,se)=>{this._addStickyColumnStyles([Rt],this._footerRowDefs[se])}),Array.from(this._columnDefsByName.values()).forEach(Rt=>Rt.resetStickyChanged())}_getAllRenderRows(){const Z=[],ke=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let gt=0;gt<this._data.length;gt++){let Rt=this._data[gt];const se=this._getRenderRowsForData(Rt,gt,ke.get(Rt));this._cachedRenderRowsMap.has(Rt)||this._cachedRenderRowsMap.set(Rt,new WeakMap);for(let z=0;z<se.length;z++){let A=se[z];const me=this._cachedRenderRowsMap.get(A.data);me.has(A.rowDef)?me.get(A.rowDef).push(A):me.set(A.rowDef,[A]),Z.push(A)}}return Z}_getRenderRowsForData(Z,ke,gt){return this._getRowDefs(Z,ke).map(se=>{const z=gt&&gt.has(se)?gt.get(se):[];if(z.length){const A=z.shift();return A.dataIndex=ke,A}return{data:Z,rowDef:se,dataIndex:ke}})}_cacheColumnDefs(){this._columnDefsByName.clear(),B(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(ke=>{this._columnDefsByName.has(ke.name),this._columnDefsByName.set(ke.name,ke)})}_cacheRowDefs(){this._headerRowDefs=B(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=B(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=B(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const Z=this._rowDefs.filter(ke=>!ke.when);this._defaultRowDef=Z[0]}_renderUpdatedColumns(){const Z=(se,z)=>se||!!z.getColumnsDiff(),ke=this._rowDefs.reduce(Z,!1);ke&&this._forceRenderDataRows();const gt=this._headerRowDefs.reduce(Z,!1);gt&&this._forceRenderHeaderRows();const Rt=this._footerRowDefs.reduce(Z,!1);return Rt&&this._forceRenderFooterRows(),ke||gt||Rt}_switchDataSource(Z){this._data=[],(0,T.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),Z||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=Z}_observeRenderChanges(){if(!this.dataSource)return;let Z;(0,T.Z9)(this.dataSource)?Z=this.dataSource.connect(this):(0,Be.b)(this.dataSource)?Z=this.dataSource:Array.isArray(this.dataSource)&&(Z=(0,he.of)(this.dataSource)),this._renderChangeSubscription=Z.pipe((0,Le.R)(this._onDestroy)).subscribe(ke=>{this._data=ke||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((Z,ke)=>this._renderRow(this._headerRowOutlet,Z,ke)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((Z,ke)=>this._renderRow(this._footerRowOutlet,Z,ke)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(Z,ke){const gt=Array.from(ke.columns||[]).map(z=>this._columnDefsByName.get(z)),Rt=gt.map(z=>z.sticky),se=gt.map(z=>z.stickyEnd);this._stickyStyler.updateStickyColumns(Z,Rt,se,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(Z){const ke=[];for(let gt=0;gt<Z.viewContainer.length;gt++){const Rt=Z.viewContainer.get(gt);ke.push(Rt.rootNodes[0])}return ke}_getRowDefs(Z,ke){if(1==this._rowDefs.length)return[this._rowDefs[0]];let gt=[];if(this.multiTemplateDataRows)gt=this._rowDefs.filter(Rt=>!Rt.when||Rt.when(ke,Z));else{let Rt=this._rowDefs.find(se=>se.when&&se.when(ke,Z))||this._defaultRowDef;Rt&&gt.push(Rt)}return gt}_getEmbeddedViewArgs(Z,ke){return{templateRef:Z.rowDef.template,context:{$implicit:Z.data},index:ke}}_renderRow(Z,ke,gt,Rt={}){const se=Z.viewContainer.createEmbeddedView(ke.template,Rt,gt);return this._renderCellTemplateForItem(ke,Rt),se}_renderCellTemplateForItem(Z,ke){for(let gt of this._getCellTemplates(Z))we.mostRecentCellOutlet&&we.mostRecentCellOutlet._viewContainer.createEmbeddedView(gt,ke);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const Z=this._rowOutlet.viewContainer;for(let ke=0,gt=Z.length;ke<gt;ke++){const se=Z.get(ke).context;se.count=gt,se.first=0===ke,se.last=ke===gt-1,se.even=ke%2==0,se.odd=!se.even,this.multiTemplateDataRows?(se.dataIndex=this._renderRows[ke].dataIndex,se.renderIndex=ke):se.index=this._renderRows[ke].dataIndex}}_getCellTemplates(Z){return Z&&Z.columns?Array.from(Z.columns,ke=>{const gt=this._columnDefsByName.get(ke);return Z.extractCellTemplate(gt)}):[]}_applyNativeTableSections(){const Z=this._document.createDocumentFragment(),ke=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const gt of ke){const Rt=this._document.createElement(gt.tag);Rt.setAttribute("role","rowgroup");for(const se of gt.outlets)Rt.appendChild(se.elementRef.nativeElement);Z.appendChild(Rt)}this._elementRef.nativeElement.appendChild(Z)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const Z=(ke,gt)=>ke||gt.hasStickyChanged();this._headerRowDefs.reduce(Z,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(Z,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(Z,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new zt(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,he.of)()).pipe((0,Le.R)(this._onDestroy)).subscribe(ke=>{this._stickyStyler.direction=ke,this.updateStickyColumnStyles()})}_getOwnDefs(Z){return Z.filter(ke=>!ke._table||ke._table===this)}_updateNoDataRow(){const Z=this._customNoDataRow||this._noDataRow;if(!Z)return;const ke=0===this._rowOutlet.viewContainer.length;if(ke===this._isShowingNoDataRow)return;const gt=this._noDataRowOutlet.viewContainer;if(ke){const Rt=gt.createEmbeddedView(Z.templateRef),se=Rt.rootNodes[0];1===Rt.rootNodes.length&&se?.nodeType===this._document.ELEMENT_NODE&&(se.setAttribute("role","row"),se.classList.add(Z._contentClassName))}else gt.clear();this._isShowingNoDataRow=ke}}return be.\u0275fac=function(Z){return new(Z||be)(X.Y36(X.ZZ4),X.Y36(X.sBO),X.Y36(X.SBq),X.$8M("role"),X.Y36(e.Is,8),X.Y36(O.K0),X.Y36(l.t4),X.Y36(T.k),X.Y36(yi),X.Y36(b.rL),X.Y36(re,12),X.Y36(X.R0b,8))},be.\u0275cmp=X.Xpm({type:be,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(Z,ke,gt){if(1&Z&&(X.Suo(gt,Nt,5),X.Suo(gt,Ge,5),X.Suo(gt,$,5),X.Suo(gt,j,5),X.Suo(gt,Y,5)),2&Z){let Rt;X.iGM(Rt=X.CRH())&&(ke._noDataRow=Rt.first),X.iGM(Rt=X.CRH())&&(ke._contentColumnDefs=Rt),X.iGM(Rt=X.CRH())&&(ke._contentRowDefs=Rt),X.iGM(Rt=X.CRH())&&(ke._contentHeaderRowDefs=Rt),X.iGM(Rt=X.CRH())&&(ke._contentFooterRowDefs=Rt)}},viewQuery:function(Z,ke){if(1&Z&&(X.Gf(wt,7),X.Gf(Yt,7),X.Gf($t,7),X.Gf(ct,7)),2&Z){let gt;X.iGM(gt=X.CRH())&&(ke._rowOutlet=gt.first),X.iGM(gt=X.CRH())&&(ke._headerRowOutlet=gt.first),X.iGM(gt=X.CRH())&&(ke._footerRowOutlet=gt.first),X.iGM(gt=X.CRH())&&(ke._noDataRowOutlet=gt.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(Z,ke){2&Z&&X.ekj("cdk-table-fixed-layout",ke.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[X._Bn([{provide:Pe,useExisting:be},{provide:T.k,useClass:T.yy},{provide:yi,useClass:gi},{provide:re,useValue:null}])],ngContentSelectors:pt,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(Z,ke){1&Z&&(X.F$t(Qe),X.Hsn(0),X.Hsn(1,1),X.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[wt,Yt,$t,ct],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),be})();function B(be,st){return be.concat(Array.from(st))}let pe=(()=>{class be{get name(){return this._name}set name(Z){this._name=Z,this._syncColumnDefName()}constructor(Z,ke){this._table=Z,this._options=ke,this.justify="start",this._options=ke||{}}ngOnInit(){this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||((Z,ke)=>Z[ke])),this._table&&(this.columnDef.cell=this.cell,this.columnDef.headerCell=this.headerCell,this._table.addColumnDef(this.columnDef))}ngOnDestroy(){this._table&&this._table.removeColumnDef(this.columnDef)}_createDefaultHeaderText(){const Z=this.name;return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(Z):Z[0].toUpperCase()+Z.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}}return be.\u0275fac=function(Z){return new(Z||be)(X.Y36(Ae,8),X.Y36(_e,8))},be.\u0275cmp=X.Xpm({type:be,selectors:[["cdk-text-column"]],viewQuery:function(Z,ke){if(1&Z&&(X.Gf(Ge,7),X.Gf(ge,7),X.Gf(le,7)),2&Z){let gt;X.iGM(gt=X.CRH())&&(ke.columnDef=gt.first),X.iGM(gt=X.CRH())&&(ke.cell=gt.first),X.iGM(gt=X.CRH())&&(ke.headerCell=gt.first)}},inputs:{name:"name",headerText:"headerText",dataAccessor:"dataAccessor",justify:"justify"},decls:3,vars:0,consts:[["cdkColumnDef",""],["cdk-header-cell","",3,"text-align",4,"cdkHeaderCellDef"],["cdk-cell","",3,"text-align",4,"cdkCellDef"],["cdk-header-cell",""],["cdk-cell",""]],template:function(Z,ke){1&Z&&(X.ynx(0,0),X.YNc(1,Re,2,3,"th",1),X.YNc(2,ze,2,3,"td",2),X.BQk())},dependencies:[ge,le,Ge,rt,xe],encapsulation:2}),be})(),Vt=(()=>{class be{}return be.\u0275fac=function(Z){return new(Z||be)},be.\u0275mod=X.oAB({type:be}),be.\u0275inj=X.cJS({imports:[b.Cl]}),be})()},6895:(ri,mt,p)=>{p.d(mt,{Do:()=>Me,ED:()=>Hn,EM:()=>Tr,H9:()=>$n,HT:()=>l,JF:()=>vr,JJ:()=>bi,K0:()=>O,Mx:()=>ao,NF:()=>Xr,Nd:()=>It,O5:()=>Tn,Ov:()=>Wo,PC:()=>Zo,RF:()=>To,S$:()=>pt,V_:()=>Ee,Ye:()=>Pe,Zx:()=>mn,b0:()=>ze,bD:()=>hs,ez:()=>Mr,mk:()=>w,n9:()=>$o,q:()=>T,qS:()=>Jo,sg:()=>Ei,tP:()=>Xo,uU:()=>rn,w_:()=>b});var e=p(4650);let s=null;function T(){return s}function l(R){s||(s=R)}class b{}const O=new e.OlP("DocumentToken");let X=(()=>{class R{historyGo(G){throw new Error("Not implemented")}}return R.\u0275fac=function(G){return new(G||R)},R.\u0275prov=e.Yz7({token:R,factory:function(){return function q(){return(0,e.LFG)(de)}()},providedIn:"platform"}),R})();const Ee=new e.OlP("Location Initialized");let de=(()=>{class R extends X{constructor(G){super(),this._doc=G,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return T().getBaseHref(this._doc)}onPopState(G){const Oe=T().getGlobalEventTarget(this._doc,"window");return Oe.addEventListener("popstate",G,!1),()=>Oe.removeEventListener("popstate",G)}onHashChange(G){const Oe=T().getGlobalEventTarget(this._doc,"window");return Oe.addEventListener("hashchange",G,!1),()=>Oe.removeEventListener("hashchange",G)}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(G){this._location.pathname=G}pushState(G,Oe,ut){Be()?this._history.pushState(G,Oe,ut):this._location.hash=ut}replaceState(G,Oe,ut){Be()?this._history.replaceState(G,Oe,ut):this._location.hash=ut}forward(){this._history.forward()}back(){this._history.back()}historyGo(G=0){this._history.go(G)}getState(){return this._history.state}}return R.\u0275fac=function(G){return new(G||R)(e.LFG(O))},R.\u0275prov=e.Yz7({token:R,factory:function(){return function he(){return new de((0,e.LFG)(O))}()},providedIn:"platform"}),R})();function Be(){return!!window.history.pushState}function Le(R,ae){if(0==R.length)return ae;if(0==ae.length)return R;let G=0;return R.endsWith("/")&&G++,ae.startsWith("/")&&G++,2==G?R+ae.substring(1):1==G?R+ae:R+"/"+ae}function He(R){const ae=R.match(/#|\?|$/),G=ae&&ae.index||R.length;return R.slice(0,G-("/"===R[G-1]?1:0))+R.slice(G)}function Qe(R){return R&&"?"!==R[0]?"?"+R:R}let pt=(()=>{class R{historyGo(G){throw new Error("Not implemented")}}return R.\u0275fac=function(G){return new(G||R)},R.\u0275prov=e.Yz7({token:R,factory:function(){return(0,e.f3M)(ze)},providedIn:"root"}),R})();const Re=new e.OlP("appBaseHref");let ze=(()=>{class R extends pt{constructor(G,Oe){super(),this._platformLocation=G,this._removeListenerFns=[],this._baseHref=Oe??this._platformLocation.getBaseHrefFromDOM()??(0,e.f3M)(O).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(G){this._removeListenerFns.push(this._platformLocation.onPopState(G),this._platformLocation.onHashChange(G))}getBaseHref(){return this._baseHref}prepareExternalUrl(G){return Le(this._baseHref,G)}path(G=!1){const Oe=this._platformLocation.pathname+Qe(this._platformLocation.search),ut=this._platformLocation.hash;return ut&&G?`${Oe}${ut}`:Oe}pushState(G,Oe,ut,Xt){const Kt=this.prepareExternalUrl(ut+Qe(Xt));this._platformLocation.pushState(G,Oe,Kt)}replaceState(G,Oe,ut,Xt){const Kt=this.prepareExternalUrl(ut+Qe(Xt));this._platformLocation.replaceState(G,Oe,Kt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(G=0){this._platformLocation.historyGo?.(G)}}return R.\u0275fac=function(G){return new(G||R)(e.LFG(X),e.LFG(Re,8))},R.\u0275prov=e.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),Me=(()=>{class R extends pt{constructor(G,Oe){super(),this._platformLocation=G,this._baseHref="",this._removeListenerFns=[],null!=Oe&&(this._baseHref=Oe)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(G){this._removeListenerFns.push(this._platformLocation.onPopState(G),this._platformLocation.onHashChange(G))}getBaseHref(){return this._baseHref}path(G=!1){let Oe=this._platformLocation.hash;return null==Oe&&(Oe="#"),Oe.length>0?Oe.substring(1):Oe}prepareExternalUrl(G){const Oe=Le(this._baseHref,G);return Oe.length>0?"#"+Oe:Oe}pushState(G,Oe,ut,Xt){let Kt=this.prepareExternalUrl(ut+Qe(Xt));0==Kt.length&&(Kt=this._platformLocation.pathname),this._platformLocation.pushState(G,Oe,Kt)}replaceState(G,Oe,ut,Xt){let Kt=this.prepareExternalUrl(ut+Qe(Xt));0==Kt.length&&(Kt=this._platformLocation.pathname),this._platformLocation.replaceState(G,Oe,Kt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(G=0){this._platformLocation.historyGo?.(G)}}return R.\u0275fac=function(G){return new(G||R)(e.LFG(X),e.LFG(Re,8))},R.\u0275prov=e.Yz7({token:R,factory:R.\u0275fac}),R})(),Pe=(()=>{class R{constructor(G){this._subject=new e.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=G;const Oe=this._locationStrategy.getBaseHref();this._basePath=function Se(R){if(new RegExp("^(https?:)?//").test(R)){const[,G]=R.split(/\/\/[^\/]+/);return G}return R}(He(le(Oe))),this._locationStrategy.onPopState(ut=>{this._subject.emit({url:this.path(!0),pop:!0,state:ut.state,type:ut.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(G=!1){return this.normalize(this._locationStrategy.path(G))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(G,Oe=""){return this.path()==this.normalize(G+Qe(Oe))}normalize(G){return R.stripTrailingSlash(function ge(R,ae){if(!R||!ae.startsWith(R))return ae;const G=ae.substring(R.length);return""===G||["/",";","?","#"].includes(G[0])?G:ae}(this._basePath,le(G)))}prepareExternalUrl(G){return G&&"/"!==G[0]&&(G="/"+G),this._locationStrategy.prepareExternalUrl(G)}go(G,Oe="",ut=null){this._locationStrategy.pushState(ut,"",G,Oe),this._notifyUrlChangeListeners(this.prepareExternalUrl(G+Qe(Oe)),ut)}replaceState(G,Oe="",ut=null){this._locationStrategy.replaceState(ut,"",G,Oe),this._notifyUrlChangeListeners(this.prepareExternalUrl(G+Qe(Oe)),ut)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(G=0){this._locationStrategy.historyGo?.(G)}onUrlChange(G){return this._urlChangeListeners.push(G),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(Oe=>{this._notifyUrlChangeListeners(Oe.url,Oe.state)})),()=>{const Oe=this._urlChangeListeners.indexOf(G);this._urlChangeListeners.splice(Oe,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(G="",Oe){this._urlChangeListeners.forEach(ut=>ut(G,Oe))}subscribe(G,Oe,ut){return this._subject.subscribe({next:G,error:Oe,complete:ut})}}return R.normalizeQueryParams=Qe,R.joinWithSlash=Le,R.stripTrailingSlash=He,R.\u0275fac=function(G){return new(G||R)(e.LFG(pt))},R.\u0275prov=e.Yz7({token:R,factory:function(){return function _e(){return new Pe((0,e.LFG)(pt))}()},providedIn:"root"}),R})();function le(R){return R.replace(/\/index.html$/,"")}const je={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var Ke=(()=>((Ke=Ke||{})[Ke.Decimal=0]="Decimal",Ke[Ke.Percent=1]="Percent",Ke[Ke.Currency=2]="Currency",Ke[Ke.Scientific=3]="Scientific",Ke))(),vt=(()=>((vt=vt||{})[vt.Format=0]="Format",vt[vt.Standalone=1]="Standalone",vt))(),xe=(()=>((xe=xe||{})[xe.Narrow=0]="Narrow",xe[xe.Abbreviated=1]="Abbreviated",xe[xe.Wide=2]="Wide",xe[xe.Short=3]="Short",xe))(),kt=(()=>((kt=kt||{})[kt.Short=0]="Short",kt[kt.Medium=1]="Medium",kt[kt.Long=2]="Long",kt[kt.Full=3]="Full",kt))(),rt=(()=>((rt=rt||{})[rt.Decimal=0]="Decimal",rt[rt.Group=1]="Group",rt[rt.List=2]="List",rt[rt.PercentSign=3]="PercentSign",rt[rt.PlusSign=4]="PlusSign",rt[rt.MinusSign=5]="MinusSign",rt[rt.Exponential=6]="Exponential",rt[rt.SuperscriptingExponent=7]="SuperscriptingExponent",rt[rt.PerMille=8]="PerMille",rt[rt.Infinity=9]="Infinity",rt[rt.NaN=10]="NaN",rt[rt.TimeSeparator=11]="TimeSeparator",rt[rt.CurrencyDecimal=12]="CurrencyDecimal",rt[rt.CurrencyGroup=13]="CurrencyGroup",rt))();function H(R,ae){return oi((0,e.cg1)(R)[e.wAp.DateFormat],ae)}function C(R,ae){return oi((0,e.cg1)(R)[e.wAp.TimeFormat],ae)}function Y(R,ae){return oi((0,e.cg1)(R)[e.wAp.DateTimeFormat],ae)}function $(R,ae){const G=(0,e.cg1)(R),Oe=G[e.wAp.NumberSymbols][ae];if(typeof Oe>"u"){if(ae===rt.CurrencyDecimal)return G[e.wAp.NumberSymbols][rt.Decimal];if(ae===rt.CurrencyGroup)return G[e.wAp.NumberSymbols][rt.Group]}return Oe}function we(R,ae){return(0,e.cg1)(R)[e.wAp.NumberFormats][ae]}function zt(R){if(!R[e.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${R[e.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function oi(R,ae){for(let G=ae;G>-1;G--)if(typeof R[G]<"u")return R[G];throw new Error("Locale data API: locale data undefined")}function dt(R){const[ae,G]=R.split(":");return{hours:+ae,minutes:+G}}const ve=2,re=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,We={},wt=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var Yt=(()=>((Yt=Yt||{})[Yt.Short=0]="Short",Yt[Yt.ShortGMT=1]="ShortGMT",Yt[Yt.Long=2]="Long",Yt[Yt.Extended=3]="Extended",Yt))(),$t=(()=>(($t=$t||{})[$t.FullYear=0]="FullYear",$t[$t.Month=1]="Month",$t[$t.Date=2]="Date",$t[$t.Hours=3]="Hours",$t[$t.Minutes=4]="Minutes",$t[$t.Seconds=5]="Seconds",$t[$t.FractionalSeconds=6]="FractionalSeconds",$t[$t.Day=7]="Day",$t))(),ct=(()=>((ct=ct||{})[ct.DayPeriods=0]="DayPeriods",ct[ct.Days=1]="Days",ct[ct.Months=2]="Months",ct[ct.Eras=3]="Eras",ct))();function Gt(R,ae,G,Oe){let ut=function Fi(R){if(Lt(R))return R;if("number"==typeof R&&!isNaN(R))return new Date(R);if("string"==typeof R){if(R=R.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(R)){const[ut,Xt=1,Kt=1]=R.split("-").map(ki=>+ki);return te(ut,Xt-1,Kt)}const G=parseFloat(R);if(!isNaN(R-G))return new Date(G);let Oe;if(Oe=R.match(re))return function vi(R){const ae=new Date(0);let G=0,Oe=0;const ut=R[8]?ae.setUTCFullYear:ae.setFullYear,Xt=R[8]?ae.setUTCHours:ae.setHours;R[9]&&(G=Number(R[9]+R[10]),Oe=Number(R[9]+R[11])),ut.call(ae,Number(R[1]),Number(R[2])-1,Number(R[3]));const Kt=Number(R[4]||0)-G,ki=Number(R[5]||0)-Oe,sn=Number(R[6]||0),Sn=Math.floor(1e3*parseFloat("0."+(R[7]||0)));return Xt.call(ae,Kt,ki,sn,Sn),ae}(Oe)}const ae=new Date(R);if(!Lt(ae))throw new Error(`Unable to convert "${R}" into a date`);return ae}(R);ae=Ae(G,ae)||ae;let ki,Kt=[];for(;ae;){if(ki=wt.exec(ae),!ki){Kt.push(ae);break}{Kt=Kt.concat(ki.slice(1));const en=Kt.pop();if(!en)break;ae=en}}let sn=ut.getTimezoneOffset();Oe&&(sn=ii(Oe,sn),ut=function Si(R,ae,G){const Oe=G?-1:1,ut=R.getTimezoneOffset();return function Ci(R,ae){return(R=new Date(R.getTime())).setMinutes(R.getMinutes()+ae),R}(R,Oe*(ii(ae,ut)-ut))}(ut,Oe,!0));let Sn="";return Kt.forEach(en=>{const an=function Ot(R){if(Ye[R])return Ye[R];let ae;switch(R){case"G":case"GG":case"GGG":ae=st(ct.Eras,xe.Abbreviated);break;case"GGGG":ae=st(ct.Eras,xe.Wide);break;case"GGGGG":ae=st(ct.Eras,xe.Narrow);break;case"y":ae=Vt($t.FullYear,1,0,!1,!0);break;case"yy":ae=Vt($t.FullYear,2,0,!0,!0);break;case"yyy":ae=Vt($t.FullYear,3,0,!1,!0);break;case"yyyy":ae=Vt($t.FullYear,4,0,!1,!0);break;case"Y":ae=me(1);break;case"YY":ae=me(2,!0);break;case"YYY":ae=me(3);break;case"YYYY":ae=me(4);break;case"M":case"L":ae=Vt($t.Month,1,1);break;case"MM":case"LL":ae=Vt($t.Month,2,1);break;case"MMM":ae=st(ct.Months,xe.Abbreviated);break;case"MMMM":ae=st(ct.Months,xe.Wide);break;case"MMMMM":ae=st(ct.Months,xe.Narrow);break;case"LLL":ae=st(ct.Months,xe.Abbreviated,vt.Standalone);break;case"LLLL":ae=st(ct.Months,xe.Wide,vt.Standalone);break;case"LLLLL":ae=st(ct.Months,xe.Narrow,vt.Standalone);break;case"w":ae=A(1);break;case"ww":ae=A(2);break;case"W":ae=A(1,!0);break;case"d":ae=Vt($t.Date,1);break;case"dd":ae=Vt($t.Date,2);break;case"c":case"cc":ae=Vt($t.Day,1);break;case"ccc":ae=st(ct.Days,xe.Abbreviated,vt.Standalone);break;case"cccc":ae=st(ct.Days,xe.Wide,vt.Standalone);break;case"ccccc":ae=st(ct.Days,xe.Narrow,vt.Standalone);break;case"cccccc":ae=st(ct.Days,xe.Short,vt.Standalone);break;case"E":case"EE":case"EEE":ae=st(ct.Days,xe.Abbreviated);break;case"EEEE":ae=st(ct.Days,xe.Wide);break;case"EEEEE":ae=st(ct.Days,xe.Narrow);break;case"EEEEEE":ae=st(ct.Days,xe.Short);break;case"a":case"aa":case"aaa":ae=st(ct.DayPeriods,xe.Abbreviated);break;case"aaaa":ae=st(ct.DayPeriods,xe.Wide);break;case"aaaaa":ae=st(ct.DayPeriods,xe.Narrow);break;case"b":case"bb":case"bbb":ae=st(ct.DayPeriods,xe.Abbreviated,vt.Standalone,!0);break;case"bbbb":ae=st(ct.DayPeriods,xe.Wide,vt.Standalone,!0);break;case"bbbbb":ae=st(ct.DayPeriods,xe.Narrow,vt.Standalone,!0);break;case"B":case"BB":case"BBB":ae=st(ct.DayPeriods,xe.Abbreviated,vt.Format,!0);break;case"BBBB":ae=st(ct.DayPeriods,xe.Wide,vt.Format,!0);break;case"BBBBB":ae=st(ct.DayPeriods,xe.Narrow,vt.Format,!0);break;case"h":ae=Vt($t.Hours,1,-12);break;case"hh":ae=Vt($t.Hours,2,-12);break;case"H":ae=Vt($t.Hours,1);break;case"HH":ae=Vt($t.Hours,2);break;case"m":ae=Vt($t.Minutes,1);break;case"mm":ae=Vt($t.Minutes,2);break;case"s":ae=Vt($t.Seconds,1);break;case"ss":ae=Vt($t.Seconds,2);break;case"S":ae=Vt($t.FractionalSeconds,1);break;case"SS":ae=Vt($t.FractionalSeconds,2);break;case"SSS":ae=Vt($t.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":ae=ke(Yt.Short);break;case"ZZZZZ":ae=ke(Yt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":ae=ke(Yt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":ae=ke(Yt.Long);break;default:return null}return Ye[R]=ae,ae}(en);Sn+=an?an(ut,G,sn):"''"===en?"'":en.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Sn}function te(R,ae,G){const Oe=new Date(0);return Oe.setFullYear(R,ae,G),Oe.setHours(0,0,0),Oe}function Ae(R,ae){const G=function yi(R){return(0,e.cg1)(R)[e.wAp.LocaleId]}(R);if(We[G]=We[G]||{},We[G][ae])return We[G][ae];let Oe="";switch(ae){case"shortDate":Oe=H(R,kt.Short);break;case"mediumDate":Oe=H(R,kt.Medium);break;case"longDate":Oe=H(R,kt.Long);break;case"fullDate":Oe=H(R,kt.Full);break;case"shortTime":Oe=C(R,kt.Short);break;case"mediumTime":Oe=C(R,kt.Medium);break;case"longTime":Oe=C(R,kt.Long);break;case"fullTime":Oe=C(R,kt.Full);break;case"short":const ut=Ae(R,"shortTime"),Xt=Ae(R,"shortDate");Oe=B(Y(R,kt.Short),[ut,Xt]);break;case"medium":const Kt=Ae(R,"mediumTime"),ki=Ae(R,"mediumDate");Oe=B(Y(R,kt.Medium),[Kt,ki]);break;case"long":const sn=Ae(R,"longTime"),Sn=Ae(R,"longDate");Oe=B(Y(R,kt.Long),[sn,Sn]);break;case"full":const en=Ae(R,"fullTime"),an=Ae(R,"fullDate");Oe=B(Y(R,kt.Full),[en,an])}return Oe&&(We[G][ae]=Oe),Oe}function B(R,ae){return ae&&(R=R.replace(/\{([^}]+)}/g,function(G,Oe){return null!=ae&&Oe in ae?ae[Oe]:G})),R}function pe(R,ae,G="-",Oe,ut){let Xt="";(R<0||ut&&R<=0)&&(ut?R=1-R:(R=-R,Xt=G));let Kt=String(R);for(;Kt.length<ae;)Kt="0"+Kt;return Oe&&(Kt=Kt.slice(Kt.length-ae)),Xt+Kt}function Vt(R,ae,G=0,Oe=!1,ut=!1){return function(Xt,Kt){let ki=function be(R,ae){switch(R){case $t.FullYear:return ae.getFullYear();case $t.Month:return ae.getMonth();case $t.Date:return ae.getDate();case $t.Hours:return ae.getHours();case $t.Minutes:return ae.getMinutes();case $t.Seconds:return ae.getSeconds();case $t.FractionalSeconds:return ae.getMilliseconds();case $t.Day:return ae.getDay();default:throw new Error(`Unknown DateType value "${R}".`)}}(R,Xt);if((G>0||ki>-G)&&(ki+=G),R===$t.Hours)0===ki&&-12===G&&(ki=12);else if(R===$t.FractionalSeconds)return function Ut(R,ae){return pe(R,3).substring(0,ae)}(ki,ae);const sn=$(Kt,rt.MinusSign);return pe(ki,ae,sn,Oe,ut)}}function st(R,ae,G=vt.Format,Oe=!1){return function(ut,Xt){return function Z(R,ae,G,Oe,ut,Xt){switch(G){case ct.Months:return function ai(R,ae,G){const Oe=(0,e.cg1)(R),Xt=oi([Oe[e.wAp.MonthsFormat],Oe[e.wAp.MonthsStandalone]],ae);return oi(Xt,G)}(ae,ut,Oe)[R.getMonth()];case ct.Days:return function jt(R,ae,G){const Oe=(0,e.cg1)(R),Xt=oi([Oe[e.wAp.DaysFormat],Oe[e.wAp.DaysStandalone]],ae);return oi(Xt,G)}(ae,ut,Oe)[R.getDay()];case ct.DayPeriods:const Kt=R.getHours(),ki=R.getMinutes();if(Xt){const Sn=function ft(R){const ae=(0,e.cg1)(R);return zt(ae),(ae[e.wAp.ExtraData][2]||[]).map(Oe=>"string"==typeof Oe?dt(Oe):[dt(Oe[0]),dt(Oe[1])])}(ae),en=function Pt(R,ae,G){const Oe=(0,e.cg1)(R);zt(Oe);const Xt=oi([Oe[e.wAp.ExtraData][0],Oe[e.wAp.ExtraData][1]],ae)||[];return oi(Xt,G)||[]}(ae,ut,Oe),an=Sn.findIndex(Zn=>{if(Array.isArray(Zn)){const[fi,Oi]=Zn,Vi=Kt>=fi.hours&&ki>=fi.minutes,Ji=Kt<Oi.hours||Kt===Oi.hours&&ki<Oi.minutes;if(fi.hours<Oi.hours){if(Vi&&Ji)return!0}else if(Vi||Ji)return!0}else if(Zn.hours===Kt&&Zn.minutes===ki)return!0;return!1});if(-1!==an)return en[an]}return function gi(R,ae,G){const Oe=(0,e.cg1)(R),Xt=oi([Oe[e.wAp.DayPeriodsFormat],Oe[e.wAp.DayPeriodsStandalone]],ae);return oi(Xt,G)}(ae,ut,Oe)[Kt<12?0:1];case ct.Eras:return function ot(R,ae){return oi((0,e.cg1)(R)[e.wAp.Eras],ae)}(ae,Oe)[R.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${G}`)}}(ut,Xt,R,ae,G,Oe)}}function ke(R){return function(ae,G,Oe){const ut=-1*Oe,Xt=$(G,rt.MinusSign),Kt=ut>0?Math.floor(ut/60):Math.ceil(ut/60);switch(R){case Yt.Short:return(ut>=0?"+":"")+pe(Kt,2,Xt)+pe(Math.abs(ut%60),2,Xt);case Yt.ShortGMT:return"GMT"+(ut>=0?"+":"")+pe(Kt,1,Xt);case Yt.Long:return"GMT"+(ut>=0?"+":"")+pe(Kt,2,Xt)+":"+pe(Math.abs(ut%60),2,Xt);case Yt.Extended:return 0===Oe?"Z":(ut>=0?"+":"")+pe(Kt,2,Xt)+":"+pe(Math.abs(ut%60),2,Xt);default:throw new Error(`Unknown zone width "${R}"`)}}}const gt=0,Rt=4;function z(R){return te(R.getFullYear(),R.getMonth(),R.getDate()+(Rt-R.getDay()))}function A(R,ae=!1){return function(G,Oe){let ut;if(ae){const Xt=new Date(G.getFullYear(),G.getMonth(),1).getDay()-1,Kt=G.getDate();ut=1+Math.floor((Kt+Xt)/7)}else{const Xt=z(G),Kt=function se(R){const ae=te(R,gt,1).getDay();return te(R,0,1+(ae<=Rt?Rt:Rt+7)-ae)}(Xt.getFullYear()),ki=Xt.getTime()-Kt.getTime();ut=1+Math.round(ki/6048e5)}return pe(ut,R,$(Oe,rt.MinusSign))}}function me(R,ae=!1){return function(G,Oe){return pe(z(G).getFullYear(),R,$(Oe,rt.MinusSign),ae)}}const Ye={};function ii(R,ae){R=R.replace(/:/g,"");const G=Date.parse("Jan 01, 1970 00:00:00 "+R)/6e4;return isNaN(G)?ae:G}function Lt(R){return R instanceof Date&&!isNaN(R.valueOf())}const Et=/^(\d+)?\.((\d+)(-(\d+))?)?$/,et=22,Ve=".",bt="0",fe=";",Ze=",",At="#",si="\xa4";function nn(R,ae,G,Oe,ut,Xt,Kt=!1){let ki="",sn=!1;if(isFinite(R)){let Sn=function gn(R){let Oe,ut,Xt,Kt,ki,ae=Math.abs(R)+"",G=0;for((ut=ae.indexOf(Ve))>-1&&(ae=ae.replace(Ve,"")),(Xt=ae.search(/e/i))>0?(ut<0&&(ut=Xt),ut+=+ae.slice(Xt+1),ae=ae.substring(0,Xt)):ut<0&&(ut=ae.length),Xt=0;ae.charAt(Xt)===bt;Xt++);if(Xt===(ki=ae.length))Oe=[0],ut=1;else{for(ki--;ae.charAt(ki)===bt;)ki--;for(ut-=Xt,Oe=[],Kt=0;Xt<=ki;Xt++,Kt++)Oe[Kt]=Number(ae.charAt(Xt))}return ut>et&&(Oe=Oe.splice(0,et-1),G=ut-1,ut=1),{digits:Oe,exponent:G,integerLen:ut}}(R);Kt&&(Sn=function xo(R){if(0===R.digits[0])return R;const ae=R.digits.length-R.integerLen;return R.exponent?R.exponent+=2:(0===ae?R.digits.push(0,0):1===ae&&R.digits.push(0),R.integerLen+=2),R}(Sn));let en=ae.minInt,an=ae.minFrac,Zn=ae.maxFrac;if(Xt){const zn=Xt.match(Et);if(null===zn)throw new Error(`${Xt} is not a valid digit info`);const Wn=zn[1],Io=zn[3],kn=zn[5];null!=Wn&&(en=Pn(Wn)),null!=Io&&(an=Pn(Io)),null!=kn?Zn=Pn(kn):null!=Io&&an>Zn&&(Zn=an)}!function Yn(R,ae,G){if(ae>G)throw new Error(`The minimum number of digits after fraction (${ae}) is higher than the maximum (${G}).`);let Oe=R.digits,ut=Oe.length-R.integerLen;const Xt=Math.min(Math.max(ae,ut),G);let Kt=Xt+R.integerLen,ki=Oe[Kt];if(Kt>0){Oe.splice(Math.max(R.integerLen,Kt));for(let an=Kt;an<Oe.length;an++)Oe[an]=0}else{ut=Math.max(0,ut),R.integerLen=1,Oe.length=Math.max(1,Kt=Xt+1),Oe[0]=0;for(let an=1;an<Kt;an++)Oe[an]=0}if(ki>=5)if(Kt-1<0){for(let an=0;an>Kt;an--)Oe.unshift(0),R.integerLen++;Oe.unshift(1),R.integerLen++}else Oe[Kt-1]++;for(;ut<Math.max(0,Xt);ut++)Oe.push(0);let sn=0!==Xt;const Sn=ae+R.integerLen,en=Oe.reduceRight(function(an,Zn,fi,Oi){return Oi[fi]=(Zn+=an)<10?Zn:Zn-10,sn&&(0===Oi[fi]&&fi>=Sn?Oi.pop():sn=!1),Zn>=10?1:0},0);en&&(Oe.unshift(en),R.integerLen++)}(Sn,an,Zn);let fi=Sn.digits,Oi=Sn.integerLen;const Vi=Sn.exponent;let Ji=[];for(sn=fi.every(zn=>!zn);Oi<en;Oi++)fi.unshift(0);for(;Oi<0;Oi++)fi.unshift(0);Oi>0?Ji=fi.splice(Oi,fi.length):(Ji=fi,fi=[0]);const bn=[];for(fi.length>=ae.lgSize&&bn.unshift(fi.splice(-ae.lgSize,fi.length).join(""));fi.length>ae.gSize;)bn.unshift(fi.splice(-ae.gSize,fi.length).join(""));fi.length&&bn.unshift(fi.join("")),ki=bn.join($(G,Oe)),Ji.length&&(ki+=$(G,ut)+Ji.join("")),Vi&&(ki+=$(G,rt.Exponential)+"+"+Vi)}else ki=$(G,rt.Infinity);return ki=R<0&&!sn?ae.negPre+ki+ae.negSuf:ae.posPre+ki+ae.posSuf,ki}function Bn(R,ae="-"){const G={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},Oe=R.split(fe),ut=Oe[0],Xt=Oe[1],Kt=-1!==ut.indexOf(Ve)?ut.split(Ve):[ut.substring(0,ut.lastIndexOf(bt)+1),ut.substring(ut.lastIndexOf(bt)+1)],ki=Kt[0],sn=Kt[1]||"";G.posPre=ki.substring(0,ki.indexOf(At));for(let en=0;en<sn.length;en++){const an=sn.charAt(en);an===bt?G.minFrac=G.maxFrac=en+1:an===At?G.maxFrac=en+1:G.posSuf+=an}const Sn=ki.split(Ze);if(G.gSize=Sn[1]?Sn[1].length:0,G.lgSize=Sn[2]||Sn[1]?(Sn[2]||Sn[1]).length:0,Xt){const en=ut.length-G.posPre.length-G.posSuf.length,an=Xt.indexOf(At);G.negPre=Xt.substring(0,an).replace(/'/g,""),G.negSuf=Xt.slice(an+en).replace(/'/g,"")}else G.negPre=ae+G.posPre,G.negSuf=G.posSuf;return G}function Pn(R){const ae=parseInt(R);if(isNaN(ae))throw new Error("Invalid integer literal when parsing "+R);return ae}function Jo(R,ae,G){return(0,e.dwT)(R,ae,G)}function ao(R,ae){ae=encodeURIComponent(ae);for(const G of R.split(";")){const Oe=G.indexOf("="),[ut,Xt]=-1==Oe?[G,""]:[G.slice(0,Oe),G.slice(Oe+1)];if(ut.trim()===ae)return decodeURIComponent(Xt)}return null}const at=/\s+/,xt=[];let w=(()=>{class R{constructor(G,Oe,ut,Xt){this._iterableDiffers=G,this._keyValueDiffers=Oe,this._ngEl=ut,this._renderer=Xt,this.initialClasses=xt,this.stateMap=new Map}set klass(G){this.initialClasses=null!=G?G.trim().split(at):xt}set ngClass(G){this.rawClass="string"==typeof G?G.trim().split(at):G}ngDoCheck(){for(const Oe of this.initialClasses)this._updateState(Oe,!0);const G=this.rawClass;if(Array.isArray(G)||G instanceof Set)for(const Oe of G)this._updateState(Oe,!0);else if(null!=G)for(const Oe of Object.keys(G))this._updateState(Oe,Boolean(G[Oe]));this._applyStateDiff()}_updateState(G,Oe){const ut=this.stateMap.get(G);void 0!==ut?(ut.enabled!==Oe&&(ut.changed=!0,ut.enabled=Oe),ut.touched=!0):this.stateMap.set(G,{enabled:Oe,changed:!0,touched:!0})}_applyStateDiff(){for(const G of this.stateMap){const Oe=G[0],ut=G[1];ut.changed?(this._toggleClass(Oe,ut.enabled),ut.changed=!1):ut.touched||(ut.enabled&&this._toggleClass(Oe,!1),this.stateMap.delete(Oe)),ut.touched=!1}}_toggleClass(G,Oe){(G=G.trim()).length>0&&G.split(at).forEach(ut=>{Oe?this._renderer.addClass(this._ngEl.nativeElement,ut):this._renderer.removeClass(this._ngEl.nativeElement,ut)})}}return R.\u0275fac=function(G){return new(G||R)(e.Y36(e.ZZ4),e.Y36(e.aQg),e.Y36(e.SBq),e.Y36(e.Qsj))},R.\u0275dir=e.lG2({type:R,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),R})();class ei{constructor(ae,G,Oe,ut){this.$implicit=ae,this.ngForOf=G,this.index=Oe,this.count=ut}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 Ei=(()=>{class R{set ngForOf(G){this._ngForOf=G,this._ngForOfDirty=!0}set ngForTrackBy(G){this._trackByFn=G}get ngForTrackBy(){return this._trackByFn}constructor(G,Oe,ut){this._viewContainer=G,this._template=Oe,this._differs=ut,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(G){G&&(this._template=G)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const G=this._ngForOf;!this._differ&&G&&(this._differ=this._differs.find(G).create(this.ngForTrackBy))}if(this._differ){const G=this._differ.diff(this._ngForOf);G&&this._applyChanges(G)}}_applyChanges(G){const Oe=this._viewContainer;G.forEachOperation((ut,Xt,Kt)=>{if(null==ut.previousIndex)Oe.createEmbeddedView(this._template,new ei(ut.item,this._ngForOf,-1,-1),null===Kt?void 0:Kt);else if(null==Kt)Oe.remove(null===Xt?void 0:Xt);else if(null!==Xt){const ki=Oe.get(Xt);Oe.move(ki,Kt),Yi(ki,ut)}});for(let ut=0,Xt=Oe.length;ut<Xt;ut++){const ki=Oe.get(ut).context;ki.index=ut,ki.count=Xt,ki.ngForOf=this._ngForOf}G.forEachIdentityChange(ut=>{Yi(Oe.get(ut.currentIndex),ut)})}static ngTemplateContextGuard(G,Oe){return!0}}return R.\u0275fac=function(G){return new(G||R)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(e.ZZ4))},R.\u0275dir=e.lG2({type:R,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),R})();function Yi(R,ae){R.context.$implicit=ae.item}let Tn=(()=>{class R{constructor(G,Oe){this._viewContainer=G,this._context=new Li,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=Oe}set ngIf(G){this._context.$implicit=this._context.ngIf=G,this._updateView()}set ngIfThen(G){Xn("ngIfThen",G),this._thenTemplateRef=G,this._thenViewRef=null,this._updateView()}set ngIfElse(G){Xn("ngIfElse",G),this._elseTemplateRef=G,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(G,Oe){return!0}}return R.\u0275fac=function(G){return new(G||R)(e.Y36(e.s_b),e.Y36(e.Rgc))},R.\u0275dir=e.lG2({type:R,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),R})();class Li{constructor(){this.$implicit=null,this.ngIf=null}}function Xn(R,ae){if(ae&&!ae.createEmbeddedView)throw new Error(`${R} must be a TemplateRef, but received '${(0,e.AaK)(ae)}'.`)}class Gn{constructor(ae,G){this._viewContainerRef=ae,this._templateRef=G,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(ae){ae&&!this._created?this.create():!ae&&this._created&&this.destroy()}}let To=(()=>{class R{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(G){this._ngSwitch=G,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(G){this._defaultViews.push(G)}_matchCase(G){const Oe=G==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||Oe,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),Oe}_updateDefaultCases(G){if(this._defaultViews.length>0&&G!==this._defaultUsed){this._defaultUsed=G;for(const Oe of this._defaultViews)Oe.enforceState(G)}}}return R.\u0275fac=function(G){return new(G||R)},R.\u0275dir=e.lG2({type:R,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),R})(),$o=(()=>{class R{constructor(G,Oe,ut){this.ngSwitch=ut,ut._addCase(),this._view=new Gn(G,Oe)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return R.\u0275fac=function(G){return new(G||R)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(To,9))},R.\u0275dir=e.lG2({type:R,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),R})(),Hn=(()=>{class R{constructor(G,Oe,ut){ut._addDefault(new Gn(G,Oe))}}return R.\u0275fac=function(G){return new(G||R)(e.Y36(e.s_b),e.Y36(e.Rgc),e.Y36(To,9))},R.\u0275dir=e.lG2({type:R,selectors:[["","ngSwitchDefault",""]],standalone:!0}),R})(),Zo=(()=>{class R{constructor(G,Oe,ut){this._ngEl=G,this._differs=Oe,this._renderer=ut,this._ngStyle=null,this._differ=null}set ngStyle(G){this._ngStyle=G,!this._differ&&G&&(this._differ=this._differs.find(G).create())}ngDoCheck(){if(this._differ){const G=this._differ.diff(this._ngStyle);G&&this._applyChanges(G)}}_setStyle(G,Oe){const[ut,Xt]=G.split("."),Kt=-1===ut.indexOf("-")?void 0:e.JOm.DashCase;null!=Oe?this._renderer.setStyle(this._ngEl.nativeElement,ut,Xt?`${Oe}${Xt}`:Oe,Kt):this._renderer.removeStyle(this._ngEl.nativeElement,ut,Kt)}_applyChanges(G){G.forEachRemovedItem(Oe=>this._setStyle(Oe.key,null)),G.forEachAddedItem(Oe=>this._setStyle(Oe.key,Oe.currentValue)),G.forEachChangedItem(Oe=>this._setStyle(Oe.key,Oe.currentValue))}}return R.\u0275fac=function(G){return new(G||R)(e.Y36(e.SBq),e.Y36(e.aQg),e.Y36(e.Qsj))},R.\u0275dir=e.lG2({type:R,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),R})(),Xo=(()=>{class R{constructor(G){this._viewContainerRef=G,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(G){if(G.ngTemplateOutlet||G.ngTemplateOutletInjector){const Oe=this._viewContainerRef;if(this._viewRef&&Oe.remove(Oe.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:ut,ngTemplateOutletContext:Xt,ngTemplateOutletInjector:Kt}=this;this._viewRef=Oe.createEmbeddedView(ut,Xt,Kt?{injector:Kt}:void 0)}else this._viewRef=null}else this._viewRef&&G.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return R.\u0275fac=function(G){return new(G||R)(e.Y36(e.s_b))},R.\u0275dir=e.lG2({type:R,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[e.TTD]}),R})();function Ro(R,ae){return new e.vHH(2100,!1)}class Ho{createSubscription(ae,G){return ae.subscribe({next:G,error:Oe=>{throw Oe}})}dispose(ae){ae.unsubscribe()}}class fr{createSubscription(ae,G){return ae.then(G,Oe=>{throw Oe})}dispose(ae){}}const lr=new fr,gr=new Ho;let Wo=(()=>{class R{constructor(G){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=G}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(G){return this._obj?G!==this._obj?(this._dispose(),this.transform(G)):this._latestValue:(G&&this._subscribe(G),this._latestValue)}_subscribe(G){this._obj=G,this._strategy=this._selectStrategy(G),this._subscription=this._strategy.createSubscription(G,Oe=>this._updateLatestValue(G,Oe))}_selectStrategy(G){if((0,e.QGY)(G))return lr;if((0,e.F4k)(G))return gr;throw Ro()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(G,Oe){G===this._obj&&(this._latestValue=Oe,this._ref.markForCheck())}}return R.\u0275fac=function(G){return new(G||R)(e.Y36(e.sBO,16))},R.\u0275pipe=e.Yjl({name:"async",type:R,pure:!1,standalone:!0}),R})();const co=new e.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),_i=new e.OlP("DATE_PIPE_DEFAULT_OPTIONS");let rn=(()=>{class R{constructor(G,Oe,ut){this.locale=G,this.defaultTimezone=Oe,this.defaultOptions=ut}transform(G,Oe,ut,Xt){if(null==G||""===G||G!=G)return null;try{return Gt(G,Oe??this.defaultOptions?.dateFormat??"mediumDate",Xt||this.locale,ut??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Kt){throw Ro()}}}return R.\u0275fac=function(G){return new(G||R)(e.Y36(e.soG,16),e.Y36(co,24),e.Y36(_i,24))},R.\u0275pipe=e.Yjl({name:"date",type:R,pure:!0,standalone:!0}),R})(),It=(()=>{class R{constructor(G){this.differs=G,this.keyValues=[],this.compareFn=Ht}transform(G,Oe=Ht){if(!G||!(G instanceof Map)&&"object"!=typeof G)return null;this.differ||(this.differ=this.differs.find(G).create());const ut=this.differ.diff(G),Xt=Oe!==this.compareFn;return ut&&(this.keyValues=[],ut.forEachItem(Kt=>{this.keyValues.push(function Te(R,ae){return{key:R,value:ae}}(Kt.key,Kt.currentValue))})),(ut||Xt)&&(this.keyValues.sort(Oe),this.compareFn=Oe),this.keyValues}}return R.\u0275fac=function(G){return new(G||R)(e.Y36(e.aQg,16))},R.\u0275pipe=e.Yjl({name:"keyvalue",type:R,pure:!1,standalone:!0}),R})();function Ht(R,ae){const G=R.key,Oe=ae.key;if(G===Oe)return 0;if(void 0===G)return 1;if(void 0===Oe)return-1;if(null===G)return 1;if(null===Oe)return-1;if("string"==typeof G&&"string"==typeof Oe)return G<Oe?-1:1;if("number"==typeof G&&"number"==typeof Oe)return G-Oe;if("boolean"==typeof G&&"boolean"==typeof Oe)return G<Oe?-1:1;const ut=String(G),Xt=String(Oe);return ut==Xt?0:ut<Xt?-1:1}let bi=(()=>{class R{constructor(G){this._locale=G}transform(G,Oe,ut){if(!On(G))return null;ut=ut||this._locale;try{return function to(R,ae,G){return nn(R,Bn(we(ae,Ke.Decimal),$(ae,rt.MinusSign)),ae,rt.Group,rt.Decimal,G)}(ko(G),ut,Oe)}catch(Xt){throw Ro()}}}return R.\u0275fac=function(G){return new(G||R)(e.Y36(e.soG,16))},R.\u0275pipe=e.Yjl({name:"number",type:R,pure:!0,standalone:!0}),R})(),mn=(()=>{class R{constructor(G){this._locale=G}transform(G,Oe,ut){if(!On(G))return null;ut=ut||this._locale;try{return function Un(R,ae,G){return nn(R,Bn(we(ae,Ke.Percent),$(ae,rt.MinusSign)),ae,rt.Group,rt.Decimal,G,!0).replace(new RegExp("%","g"),$(ae,rt.PercentSign))}(ko(G),ut,Oe)}catch(Xt){throw Ro()}}}return R.\u0275fac=function(G){return new(G||R)(e.Y36(e.soG,16))},R.\u0275pipe=e.Yjl({name:"percent",type:R,pure:!0,standalone:!0}),R})(),$n=(()=>{class R{constructor(G,Oe="USD"){this._locale=G,this._defaultCurrencyCode=Oe}transform(G,Oe=this._defaultCurrencyCode,ut="symbol",Xt,Kt){if(!On(G))return null;Kt=Kt||this._locale,"boolean"==typeof ut&&(ut=ut?"symbol":"code");let ki=Oe||this._defaultCurrencyCode;"code"!==ut&&(ki="symbol"===ut||"symbol-narrow"===ut?function yt(R,ae,G="en"){const Oe=function Nt(R){return(0,e.cg1)(R)[e.wAp.Currencies]}(G)[R]||je[R]||[],ut=Oe[1];return"narrow"===ae&&"string"==typeof ut?ut:Oe[0]||R}(ki,"symbol"===ut?"wide":"narrow",Kt):ut);try{return function Wi(R,ae,G,Oe,ut){const Kt=Bn(we(ae,Ke.Currency),$(ae,rt.MinusSign));return Kt.minFrac=function N(R){let ae;const G=je[R];return G&&(ae=G[2]),"number"==typeof ae?ae:ve}(Oe),Kt.maxFrac=Kt.minFrac,nn(R,Kt,ae,rt.CurrencyGroup,rt.CurrencyDecimal,ut).replace(si,G).replace(si,"").trim()}(ko(G),Kt,ki,Oe,Xt)}catch(sn){throw Ro()}}}return R.\u0275fac=function(G){return new(G||R)(e.Y36(e.soG,16),e.Y36(e.EJc,16))},R.\u0275pipe=e.Yjl({name:"currency",type:R,pure:!0,standalone:!0}),R})();function On(R){return!(null==R||""===R||R!=R)}function ko(R){if("string"==typeof R&&!isNaN(Number(R)-parseFloat(R)))return Number(R);if("number"!=typeof R)throw new Error(`${R} is not a number`);return R}let Mr=(()=>{class R{}return R.\u0275fac=function(G){return new(G||R)},R.\u0275mod=e.oAB({type:R}),R.\u0275inj=e.cJS({}),R})();const hs="browser";function Xr(R){return R===hs}let Tr=(()=>{class R{}return R.\u0275prov=(0,e.Yz7)({token:R,providedIn:"root",factory:()=>new _r((0,e.LFG)(O),window)}),R})();class _r{constructor(ae,G){this.document=ae,this.window=G,this.offset=()=>[0,0]}setOffset(ae){this.offset=Array.isArray(ae)?()=>ae:ae}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(ae){this.supportsScrolling()&&this.window.scrollTo(ae[0],ae[1])}scrollToAnchor(ae){if(!this.supportsScrolling())return;const G=function br(R,ae){const G=R.getElementById(ae)||R.getElementsByName(ae)[0];if(G)return G;if("function"==typeof R.createTreeWalker&&R.body&&(R.body.createShadowRoot||R.body.attachShadow)){const Oe=R.createTreeWalker(R.body,NodeFilter.SHOW_ELEMENT);let ut=Oe.currentNode;for(;ut;){const Xt=ut.shadowRoot;if(Xt){const Kt=Xt.getElementById(ae)||Xt.querySelector(`[name="${ae}"]`);if(Kt)return Kt}ut=Oe.nextNode()}}return null}(this.document,ae);G&&(this.scrollToElement(G),G.focus())}setHistoryScrollRestoration(ae){if(this.supportScrollRestoration()){const G=this.window.history;G&&G.scrollRestoration&&(G.scrollRestoration=ae)}}scrollToElement(ae){const G=ae.getBoundingClientRect(),Oe=G.left+this.window.pageXOffset,ut=G.top+this.window.pageYOffset,Xt=this.offset();this.window.scrollTo(Oe-Xt[0],ut-Xt[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const ae=tr(this.window.history)||tr(Object.getPrototypeOf(this.window.history));return!(!ae||!ae.writable&&!ae.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function tr(R){return Object.getOwnPropertyDescriptor(R,"scrollRestoration")}class vr{}},529:(ri,mt,p)=>{p.d(mt,{Ed:()=>gt,JF:()=>ke,LE:()=>ze,TP:()=>ot,Xk:()=>Me,dt:()=>Ge,eN:()=>yi,qT:()=>Pe});var e=p(6895),s=p(4650),T=p(9646),l=p(9751),b=p(4351),O=p(9300),X=p(4004);class q{}class Ee{}class de{constructor(z){this.normalizedNames=new Map,this.lazyUpdate=null,z?this.lazyInit="string"==typeof z?()=>{this.headers=new Map,z.split("\n").forEach(A=>{const me=A.indexOf(":");if(me>0){const Ye=A.slice(0,me),Ot=Ye.toLowerCase(),ii=A.slice(me+1).trim();this.maybeSetNormalizedName(Ye,Ot),this.headers.has(Ot)?this.headers.get(Ot).push(ii):this.headers.set(Ot,[ii])}})}:()=>{this.headers=new Map,Object.entries(z).forEach(([A,me])=>{let Ye;if(Ye="string"==typeof me?[me]:"number"==typeof me?[me.toString()]:me.map(Ot=>Ot.toString()),Ye.length>0){const Ot=A.toLowerCase();this.headers.set(Ot,Ye),this.maybeSetNormalizedName(A,Ot)}})}:this.headers=new Map}has(z){return this.init(),this.headers.has(z.toLowerCase())}get(z){this.init();const A=this.headers.get(z.toLowerCase());return A&&A.length>0?A[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(z){return this.init(),this.headers.get(z.toLowerCase())||null}append(z,A){return this.clone({name:z,value:A,op:"a"})}set(z,A){return this.clone({name:z,value:A,op:"s"})}delete(z,A){return this.clone({name:z,value:A,op:"d"})}maybeSetNormalizedName(z,A){this.normalizedNames.has(A)||this.normalizedNames.set(A,z)}init(){this.lazyInit&&(this.lazyInit instanceof de?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(z=>this.applyUpdate(z)),this.lazyUpdate=null))}copyFrom(z){z.init(),Array.from(z.headers.keys()).forEach(A=>{this.headers.set(A,z.headers.get(A)),this.normalizedNames.set(A,z.normalizedNames.get(A))})}clone(z){const A=new de;return A.lazyInit=this.lazyInit&&this.lazyInit instanceof de?this.lazyInit:this,A.lazyUpdate=(this.lazyUpdate||[]).concat([z]),A}applyUpdate(z){const A=z.name.toLowerCase();switch(z.op){case"a":case"s":let me=z.value;if("string"==typeof me&&(me=[me]),0===me.length)return;this.maybeSetNormalizedName(z.name,A);const Ye=("a"===z.op?this.headers.get(A):void 0)||[];Ye.push(...me),this.headers.set(A,Ye);break;case"d":const Ot=z.value;if(Ot){let ii=this.headers.get(A);if(!ii)return;ii=ii.filter(Ci=>-1===Ot.indexOf(Ci)),0===ii.length?(this.headers.delete(A),this.normalizedNames.delete(A)):this.headers.set(A,ii)}else this.headers.delete(A),this.normalizedNames.delete(A)}}forEach(z){this.init(),Array.from(this.normalizedNames.keys()).forEach(A=>z(this.normalizedNames.get(A),this.headers.get(A)))}}class he{encodeKey(z){return pt(z)}encodeValue(z){return pt(z)}decodeKey(z){return decodeURIComponent(z)}decodeValue(z){return decodeURIComponent(z)}}const He=/%(\d[a-f0-9])/gi,Qe={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function pt(se){return encodeURIComponent(se).replace(He,(z,A)=>Qe[A]??z)}function Re(se){return`${se}`}class ze{constructor(z={}){if(this.updates=null,this.cloneFrom=null,this.encoder=z.encoder||new he,z.fromString){if(z.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Le(se,z){const A=new Map;return se.length>0&&se.replace(/^\?/,"").split("&").forEach(Ye=>{const Ot=Ye.indexOf("="),[ii,Ci]=-1==Ot?[z.decodeKey(Ye),""]:[z.decodeKey(Ye.slice(0,Ot)),z.decodeValue(Ye.slice(Ot+1))],Si=A.get(ii)||[];Si.push(Ci),A.set(ii,Si)}),A}(z.fromString,this.encoder)}else z.fromObject?(this.map=new Map,Object.keys(z.fromObject).forEach(A=>{const me=z.fromObject[A],Ye=Array.isArray(me)?me.map(Re):[Re(me)];this.map.set(A,Ye)})):this.map=null}has(z){return this.init(),this.map.has(z)}get(z){this.init();const A=this.map.get(z);return A?A[0]:null}getAll(z){return this.init(),this.map.get(z)||null}keys(){return this.init(),Array.from(this.map.keys())}append(z,A){return this.clone({param:z,value:A,op:"a"})}appendAll(z){const A=[];return Object.keys(z).forEach(me=>{const Ye=z[me];Array.isArray(Ye)?Ye.forEach(Ot=>{A.push({param:me,value:Ot,op:"a"})}):A.push({param:me,value:Ye,op:"a"})}),this.clone(A)}set(z,A){return this.clone({param:z,value:A,op:"s"})}delete(z,A){return this.clone({param:z,value:A,op:"d"})}toString(){return this.init(),this.keys().map(z=>{const A=this.encoder.encodeKey(z);return this.map.get(z).map(me=>A+"="+this.encoder.encodeValue(me)).join("&")}).filter(z=>""!==z).join("&")}clone(z){const A=new ze({encoder:this.encoder});return A.cloneFrom=this.cloneFrom||this,A.updates=(this.updates||[]).concat(z),A}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(z=>this.map.set(z,this.cloneFrom.map.get(z))),this.updates.forEach(z=>{switch(z.op){case"a":case"s":const A=("a"===z.op?this.map.get(z.param):void 0)||[];A.push(Re(z.value)),this.map.set(z.param,A);break;case"d":if(void 0===z.value){this.map.delete(z.param);break}{let me=this.map.get(z.param)||[];const Ye=me.indexOf(Re(z.value));-1!==Ye&&me.splice(Ye,1),me.length>0?this.map.set(z.param,me):this.map.delete(z.param)}}}),this.cloneFrom=this.updates=null)}}class Me{constructor(z){this.defaultValue=z}}class Pe{constructor(){this.map=new Map}set(z,A){return this.map.set(z,A),this}get(z){return this.map.has(z)||this.map.set(z,z.defaultValue()),this.map.get(z)}delete(z){return this.map.delete(z),this}has(z){return this.map.has(z)}keys(){return this.map.keys()}}function ge(se){return typeof ArrayBuffer<"u"&&se instanceof ArrayBuffer}function le(se){return typeof Blob<"u"&&se instanceof Blob}function Se(se){return typeof FormData<"u"&&se instanceof FormData}class Ke{constructor(z,A,me,Ye){let Ot;if(this.url=A,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=z.toUpperCase(),function _e(se){switch(se){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Ye?(this.body=void 0!==me?me:null,Ot=Ye):Ot=me,Ot&&(this.reportProgress=!!Ot.reportProgress,this.withCredentials=!!Ot.withCredentials,Ot.responseType&&(this.responseType=Ot.responseType),Ot.headers&&(this.headers=Ot.headers),Ot.context&&(this.context=Ot.context),Ot.params&&(this.params=Ot.params)),this.headers||(this.headers=new de),this.context||(this.context=new Pe),this.params){const ii=this.params.toString();if(0===ii.length)this.urlWithParams=A;else{const Ci=A.indexOf("?");this.urlWithParams=A+(-1===Ci?"?":Ci<A.length-1?"&":"")+ii}}else this.params=new ze,this.urlWithParams=A}serializeBody(){return null===this.body?null:ge(this.body)||le(this.body)||Se(this.body)||function je(se){return typeof URLSearchParams<"u"&&se instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof ze?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||Se(this.body)?null:le(this.body)?this.body.type||null:ge(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof ze?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(z={}){const A=z.method||this.method,me=z.url||this.url,Ye=z.responseType||this.responseType,Ot=void 0!==z.body?z.body:this.body,ii=void 0!==z.withCredentials?z.withCredentials:this.withCredentials,Ci=void 0!==z.reportProgress?z.reportProgress:this.reportProgress;let Si=z.headers||this.headers,Fi=z.params||this.params;const vi=z.context??this.context;return void 0!==z.setHeaders&&(Si=Object.keys(z.setHeaders).reduce((Lt,Et)=>Lt.set(Et,z.setHeaders[Et]),Si)),z.setParams&&(Fi=Object.keys(z.setParams).reduce((Lt,Et)=>Lt.set(Et,z.setParams[Et]),Fi)),new Ke(A,me,Ot,{params:Fi,headers:Si,context:vi,reportProgress:Ci,responseType:Ye,withCredentials:ii})}}var Ge=(()=>((Ge=Ge||{})[Ge.Sent=0]="Sent",Ge[Ge.UploadProgress=1]="UploadProgress",Ge[Ge.ResponseHeader=2]="ResponseHeader",Ge[Ge.DownloadProgress=3]="DownloadProgress",Ge[Ge.Response=4]="Response",Ge[Ge.User=5]="User",Ge))();class vt{constructor(z,A=200,me="OK"){this.headers=z.headers||new de,this.status=void 0!==z.status?z.status:A,this.statusText=z.statusText||me,this.url=z.url||null,this.ok=this.status>=200&&this.status<300}}class xe extends vt{constructor(z={}){super(z),this.type=Ge.ResponseHeader}clone(z={}){return new xe({headers:z.headers||this.headers,status:void 0!==z.status?z.status:this.status,statusText:z.statusText||this.statusText,url:z.url||this.url||void 0})}}class kt extends vt{constructor(z={}){super(z),this.type=Ge.Response,this.body=void 0!==z.body?z.body:null}clone(z={}){return new kt({body:void 0!==z.body?z.body:this.body,headers:z.headers||this.headers,status:void 0!==z.status?z.status:this.status,statusText:z.statusText||this.statusText,url:z.url||this.url||void 0})}}class rt extends vt{constructor(z){super(z,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${z.url||"(unknown url)"}`:`Http failure response for ${z.url||"(unknown url)"}: ${z.status} ${z.statusText}`,this.error=z.error||null}}function Wt(se,z){return{body:z,headers:se.headers,context:se.context,observe:se.observe,params:se.params,reportProgress:se.reportProgress,responseType:se.responseType,withCredentials:se.withCredentials}}let yi=(()=>{class se{constructor(A){this.handler=A}request(A,me,Ye={}){let Ot;if(A instanceof Ke)Ot=A;else{let Si,Fi;Si=Ye.headers instanceof de?Ye.headers:new de(Ye.headers),Ye.params&&(Fi=Ye.params instanceof ze?Ye.params:new ze({fromObject:Ye.params})),Ot=new Ke(A,me,void 0!==Ye.body?Ye.body:null,{headers:Si,context:Ye.context,params:Fi,reportProgress:Ye.reportProgress,responseType:Ye.responseType||"json",withCredentials:Ye.withCredentials})}const ii=(0,T.of)(Ot).pipe((0,b.b)(Si=>this.handler.handle(Si)));if(A instanceof Ke||"events"===Ye.observe)return ii;const Ci=ii.pipe((0,O.h)(Si=>Si instanceof kt));switch(Ye.observe||"body"){case"body":switch(Ot.responseType){case"arraybuffer":return Ci.pipe((0,X.U)(Si=>{if(null!==Si.body&&!(Si.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Si.body}));case"blob":return Ci.pipe((0,X.U)(Si=>{if(null!==Si.body&&!(Si.body instanceof Blob))throw new Error("Response is not a Blob.");return Si.body}));case"text":return Ci.pipe((0,X.U)(Si=>{if(null!==Si.body&&"string"!=typeof Si.body)throw new Error("Response is not a string.");return Si.body}));default:return Ci.pipe((0,X.U)(Si=>Si.body))}case"response":return Ci;default:throw new Error(`Unreachable: unhandled observe type ${Ye.observe}}`)}}delete(A,me={}){return this.request("DELETE",A,me)}get(A,me={}){return this.request("GET",A,me)}head(A,me={}){return this.request("HEAD",A,me)}jsonp(A,me){return this.request("JSONP",A,{params:(new ze).append(me,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(A,me={}){return this.request("OPTIONS",A,me)}patch(A,me,Ye={}){return this.request("PATCH",A,Wt(Ye,me))}post(A,me,Ye={}){return this.request("POST",A,Wt(Ye,me))}put(A,me,Ye={}){return this.request("PUT",A,Wt(Ye,me))}}return se.\u0275fac=function(A){return new(A||se)(s.LFG(q))},se.\u0275prov=s.Yz7({token:se,factory:se.\u0275fac}),se})();function gi(se,z){return z(se)}function jt(se,z){return(A,me)=>z.intercept(A,{handle:Ye=>se(Ye,me)})}const ot=new s.OlP("HTTP_INTERCEPTORS"),W=new s.OlP("HTTP_INTERCEPTOR_FNS");function j(){let se=null;return(z,A)=>(null===se&&(se=((0,s.f3M)(ot,{optional:!0})??[]).reduceRight(jt,gi)),se(z,A))}let Y,H=(()=>{class se extends q{constructor(A,me){super(),this.backend=A,this.injector=me,this.chain=null}handle(A){if(null===this.chain){const me=Array.from(new Set(this.injector.get(W)));this.chain=me.reduceRight((Ye,Ot)=>function ai(se,z,A){return(me,Ye)=>A.runInContext(()=>z(me,Ot=>se(Ot,Ye)))}(Ye,Ot,this.injector),gi)}return this.chain(A,me=>this.backend.handle(me))}}return se.\u0275fac=function(A){return new(A||se)(s.LFG(Ee),s.LFG(s.lqb))},se.\u0275prov=s.Yz7({token:se,factory:se.\u0275fac}),se})(),C=0;class it{}function Nt(){return"object"==typeof window?window:{}}let lt=(()=>{class se{constructor(A,me){this.callbackMap=A,this.document=me,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+C++}handle(A){if("JSONP"!==A.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==A.responseType)throw new Error("JSONP requests must use Json response type.");if(A.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new l.y(me=>{const Ye=this.nextCallback(),Ot=A.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${Ye}$1`),ii=this.document.createElement("script");ii.src=Ot;let Ci=null,Si=!1;this.callbackMap[Ye]=Et=>{delete this.callbackMap[Ye],Ci=Et,Si=!0};const Fi=()=>{ii.parentNode&&ii.parentNode.removeChild(ii),delete this.callbackMap[Ye]};return ii.addEventListener("load",Et=>{this.resolvedPromise.then(()=>{Fi(),Si?(me.next(new kt({body:Ci,status:200,statusText:"OK",url:Ot})),me.complete()):me.error(new rt({url:Ot,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})}),ii.addEventListener("error",Et=>{Fi(),me.error(new rt({error:Et,status:0,statusText:"JSONP Error",url:Ot}))}),this.document.body.appendChild(ii),me.next({type:Ge.Sent}),()=>{Si||this.removeListeners(ii),Fi()}})}removeListeners(A){Y||(Y=this.document.implementation.createHTMLDocument()),Y.adoptNode(A)}}return se.\u0275fac=function(A){return new(A||se)(s.LFG(it),s.LFG(e.K0))},se.\u0275prov=s.Yz7({token:se,factory:se.\u0275fac}),se})();function zt(se,z){return"JSONP"===se.method?(0,s.f3M)(lt).handle(se):z(se)}const Pt=/^\)\]\}',?\n/;let oi=(()=>{class se{constructor(A){this.xhrFactory=A}handle(A){if("JSONP"===A.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new l.y(me=>{const Ye=this.xhrFactory.build();if(Ye.open(A.method,A.urlWithParams),A.withCredentials&&(Ye.withCredentials=!0),A.headers.forEach((et,Ve)=>Ye.setRequestHeader(et,Ve.join(","))),A.headers.has("Accept")||Ye.setRequestHeader("Accept","application/json, text/plain, */*"),!A.headers.has("Content-Type")){const et=A.detectContentTypeHeader();null!==et&&Ye.setRequestHeader("Content-Type",et)}if(A.responseType){const et=A.responseType.toLowerCase();Ye.responseType="json"!==et?et:"text"}const Ot=A.serializeBody();let ii=null;const Ci=()=>{if(null!==ii)return ii;const et=Ye.statusText||"OK",Ve=new de(Ye.getAllResponseHeaders()),bt=function li(se){return"responseURL"in se&&se.responseURL?se.responseURL:/^X-Request-URL:/m.test(se.getAllResponseHeaders())?se.getResponseHeader("X-Request-URL"):null}(Ye)||A.url;return ii=new xe({headers:Ve,status:Ye.status,statusText:et,url:bt}),ii},Si=()=>{let{headers:et,status:Ve,statusText:bt,url:fe}=Ci(),Ze=null;204!==Ve&&(Ze=typeof Ye.response>"u"?Ye.responseText:Ye.response),0===Ve&&(Ve=Ze?200:0);let At=Ve>=200&&Ve<300;if("json"===A.responseType&&"string"==typeof Ze){const si=Ze;Ze=Ze.replace(Pt,"");try{Ze=""!==Ze?JSON.parse(Ze):null}catch(Gi){Ze=si,At&&(At=!1,Ze={error:Gi,text:Ze})}}At?(me.next(new kt({body:Ze,headers:et,status:Ve,statusText:bt,url:fe||void 0})),me.complete()):me.error(new rt({error:Ze,headers:et,status:Ve,statusText:bt,url:fe||void 0}))},Fi=et=>{const{url:Ve}=Ci(),bt=new rt({error:et,status:Ye.status||0,statusText:Ye.statusText||"Unknown Error",url:Ve||void 0});me.error(bt)};let vi=!1;const Lt=et=>{vi||(me.next(Ci()),vi=!0);let Ve={type:Ge.DownloadProgress,loaded:et.loaded};et.lengthComputable&&(Ve.total=et.total),"text"===A.responseType&&Ye.responseText&&(Ve.partialText=Ye.responseText),me.next(Ve)},Et=et=>{let Ve={type:Ge.UploadProgress,loaded:et.loaded};et.lengthComputable&&(Ve.total=et.total),me.next(Ve)};return Ye.addEventListener("load",Si),Ye.addEventListener("error",Fi),Ye.addEventListener("timeout",Fi),Ye.addEventListener("abort",Fi),A.reportProgress&&(Ye.addEventListener("progress",Lt),null!==Ot&&Ye.upload&&Ye.upload.addEventListener("progress",Et)),Ye.send(Ot),me.next({type:Ge.Sent}),()=>{Ye.removeEventListener("error",Fi),Ye.removeEventListener("abort",Fi),Ye.removeEventListener("load",Si),Ye.removeEventListener("timeout",Fi),A.reportProgress&&(Ye.removeEventListener("progress",Lt),null!==Ot&&Ye.upload&&Ye.upload.removeEventListener("progress",Et)),Ye.readyState!==Ye.DONE&&Ye.abort()}})}}return se.\u0275fac=function(A){return new(A||se)(s.LFG(e.JF))},se.\u0275prov=s.Yz7({token:se,factory:se.\u0275fac}),se})();const dt=new s.OlP("XSRF_ENABLED"),ve=new s.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),re=new s.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class We{}let wt=(()=>{class se{constructor(A,me,Ye){this.doc=A,this.platform=me,this.cookieName=Ye,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const A=this.doc.cookie||"";return A!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,e.Mx)(A,this.cookieName),this.lastCookieString=A),this.lastToken}}return se.\u0275fac=function(A){return new(A||se)(s.LFG(e.K0),s.LFG(s.Lbi),s.LFG(ve))},se.\u0275prov=s.Yz7({token:se,factory:se.\u0275fac}),se})();function Yt(se,z){const A=se.url.toLowerCase();if(!(0,s.f3M)(dt)||"GET"===se.method||"HEAD"===se.method||A.startsWith("http://")||A.startsWith("https://"))return z(se);const me=(0,s.f3M)(We).getToken(),Ye=(0,s.f3M)(re);return null!=me&&!se.headers.has(Ye)&&(se=se.clone({headers:se.headers.set(Ye,me)})),z(se)}var ct=(()=>((ct=ct||{})[ct.Interceptors=0]="Interceptors",ct[ct.LegacyInterceptors=1]="LegacyInterceptors",ct[ct.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",ct[ct.NoXsrfProtection=3]="NoXsrfProtection",ct[ct.JsonpSupport=4]="JsonpSupport",ct[ct.RequestsMadeViaParent=5]="RequestsMadeViaParent",ct))();function Gt(se,z){return{\u0275kind:se,\u0275providers:z}}function te(...se){const z=[yi,oi,H,{provide:q,useExisting:H},{provide:Ee,useExisting:oi},{provide:W,useValue:Yt,multi:!0},{provide:dt,useValue:!0},{provide:We,useClass:wt}];for(const A of se)z.push(...A.\u0275providers);return(0,s.MR2)(z)}const B=new s.OlP("LEGACY_INTERCEPTOR_FN");let ke=(()=>{class se{}return se.\u0275fac=function(A){return new(A||se)},se.\u0275mod=s.oAB({type:se}),se.\u0275inj=s.cJS({providers:[te(Gt(ct.LegacyInterceptors,[{provide:B,useFactory:j},{provide:W,useExisting:B,multi:!0}]))]}),se})(),gt=(()=>{class se{}return se.\u0275fac=function(A){return new(A||se)},se.\u0275mod=s.oAB({type:se}),se.\u0275inj=s.cJS({providers:[Gt(ct.JsonpSupport,[lt,{provide:it,useFactory:Nt},{provide:W,useValue:zt,multi:!0}]).\u0275providers]}),se})()},4650:(ri,mt,p)=>{p.d(mt,{$8M:()=>ta,$WT:()=>Vn,$Z:()=>zp,AFp:()=>G_,ALo:()=>a_,AaK:()=>q,AsE:()=>Zm,B6R:()=>si,BQk:()=>zh,CHM:()=>Or,CRH:()=>x_,CZH:()=>tm,CqO:()=>wf,D6c:()=>ow,DdM:()=>Kg,Dn7:()=>d_,EJc:()=>yx,EiD:()=>ad,EpF:()=>yf,F$t:()=>Ef,F4k:()=>xf,FYo:()=>Td,FiY:()=>Ms,G48:()=>Hx,G7q:()=>h_,Gf:()=>v_,GfV:()=>Gu,GkF:()=>Rm,Gpc:()=>Be,Gre:()=>tg,HOy:()=>Km,HTZ:()=>t_,Hsn:()=>Sf,Ikx:()=>Qm,JOm:()=>fs,JVY:()=>yu,JZr:()=>pt,KtG:()=>is,L6k:()=>xu,LAX:()=>qc,LFG:()=>ke,LSH:()=>dc,Lbi:()=>gx,Lck:()=>Cy,MAs:()=>vf,MGl:()=>Uh,MMx:()=>sp,MR2:()=>md,NdJ:()=>Fm,O4$:()=>Mi,OlP:()=>Nn,Oqu:()=>$m,P3R:()=>uc,PXZ:()=>Fx,Q6J:()=>Am,QGY:()=>Pm,QbO:()=>_x,Qsj:()=>Ed,R0b:()=>Ks,RDi:()=>Zc,Rgc:()=>rh,SBq:()=>ol,Sil:()=>wx,Suo:()=>y_,TTD:()=>er,TgZ:()=>Bh,Tol:()=>Uf,Udp:()=>Ym,VKq:()=>Qg,W1O:()=>M_,WFA:()=>Lm,WLB:()=>Jg,XFs:()=>dt,Xpm:()=>At,Xts:()=>ud,Y36:()=>kd,YKP:()=>Hg,YNc:()=>bf,Yjl:()=>xo,Yz7:()=>$,Z0I:()=>it,ZZ4:()=>Ip,_Bn:()=>Vg,_UZ:()=>Om,_Vd:()=>nl,_c5:()=>iw,_uU:()=>Kf,aQg:()=>Op,c2e:()=>bx,cJS:()=>Fe,cQ8:()=>Vm,cg1:()=>Xm,d8E:()=>Jm,dDg:()=>Ix,dqk:()=>wt,dwT:()=>D0,eBb:()=>Xc,eFA:()=>nb,eJc:()=>fp,ekj:()=>Gm,eoX:()=>q_,f3M:()=>Rt,g9A:()=>$_,gM2:()=>u_,h0i:()=>Yd,hGG:()=>nw,hYB:()=>Bm,hij:()=>jh,iGM:()=>b_,ifc:()=>Si,ip1:()=>Y_,jDz:()=>Ug,kEZ:()=>Xg,kL8:()=>ug,kYT:()=>Un,kcU:()=>fn,l5B:()=>qg,lG2:()=>Bn,lcZ:()=>l_,lnq:()=>Wm,lqb:()=>Zs,lri:()=>J_,mCW:()=>Sa,n5z:()=>ss,n_E:()=>Qh,oAB:()=>Wi,oJD:()=>cd,oxw:()=>Tf,pB0:()=>wu,q3G:()=>Oo,qLn:()=>g,qOj:()=>Tm,qZA:()=>Vh,qbA:()=>e_,qzn:()=>Ea,rWj:()=>X_,s9C:()=>Nm,sBO:()=>zx,s_b:()=>Xh,soG:()=>im,tBr:()=>vo,tb:()=>tb,tp0:()=>cs,uIk:()=>km,vHH:()=>Re,vpe:()=>Na,wAp:()=>on,xi3:()=>c_,xp6:()=>sr,ynx:()=>Hh,z2F:()=>nm,z3N:()=>js,zSh:()=>kl,zs3:()=>yc});var e=p(7579),s=p(727),T=p(9751),l=p(6451),b=p(3099);function O(t){for(let i in t)if(t[i]===O)return i;throw Error("Could not find renamed property on target object.")}function X(t,i){for(const n in i)i.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=i[n])}function q(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(q).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const i=t.toString();if(null==i)return""+i;const n=i.indexOf("\n");return-1===n?i:i.substring(0,n)}function Ee(t,i){return null==t||""===t?null===i?"":i:null==i||""===i?t:t+" "+i}const de=O({__forward_ref__:O});function Be(t){return t.__forward_ref__=Be,t.toString=function(){return q(this())},t}function he(t){return Le(t)?t():t}function Le(t){return"function"==typeof t&&t.hasOwnProperty(de)&&t.__forward_ref__===Be}function He(t){return t&&!!t.\u0275providers}const pt="https://g.co/ng/security#xss";class Re extends Error{constructor(i,n){super(ze(i,n)),this.code=i}}function ze(t,i){return`NG0${Math.abs(t)}${i?": "+i.trim():""}`}function Me(t){return"string"==typeof t?t:null==t?"":String(t)}function Se(t,i){throw new Re(-201,!1)}function W(t,i){null==t&&function j(t,i,n,o){throw new Error(`ASSERTION ERROR: ${t}`+(null==o?"":` [Expected=> ${n} ${o} ${i} <=Actual]`))}(i,t,null,"!=")}function $(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Fe(t){return{providers:t.providers||[],imports:t.imports||[]}}function _t(t){return Nt(t,ft)||Nt(t,li)}function it(t){return null!==_t(t)}function Nt(t,i){return t.hasOwnProperty(i)?t[i]:null}function zt(t){return t&&(t.hasOwnProperty(Pt)||t.hasOwnProperty(oi))?t[Pt]:null}const ft=O({\u0275prov:O}),Pt=O({\u0275inj:O}),li=O({ngInjectableDef:O}),oi=O({ngInjectorDef:O});var dt=(()=>((dt=dt||{})[dt.Default=0]="Default",dt[dt.Host=1]="Host",dt[dt.Self=2]="Self",dt[dt.SkipSelf=4]="SkipSelf",dt[dt.Optional=8]="Optional",dt))();let yt;function N(t){const i=yt;return yt=t,i}function re(t,i,n){const o=_t(t);return o&&"root"==o.providedIn?void 0===o.value?o.value=o.factory():o.value:n&dt.Optional?null:void 0!==i?i:void Se(q(t))}const wt=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Gt={},te="__NG_DI_FLAG__",Ae="ngTempTokenPath",B="ngTokenPath",pe=/\n/gm,Ut="\u0275",Vt="__source";let be;function st(t){const i=be;return be=t,i}function Z(t,i=dt.Default){if(void 0===be)throw new Re(-203,!1);return null===be?re(t,void 0,i):be.get(t,i&dt.Optional?null:void 0,i)}function ke(t,i=dt.Default){return(function ve(){return yt}()||Z)(he(t),i)}function Rt(t,i=dt.Default){return ke(t,se(i))}function se(t){return typeof t>"u"||"number"==typeof t?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function z(t){const i=[];for(let n=0;n<t.length;n++){const o=he(t[n]);if(Array.isArray(o)){if(0===o.length)throw new Re(900,!1);let c,m=dt.Default;for(let y=0;y<o.length;y++){const I=o[y],U=me(I);"number"==typeof U?-1===U?c=I.token:m|=U:c=I}i.push(ke(c,m))}else i.push(ke(o))}return i}function A(t,i){return t[te]=i,t.prototype[te]=i,t}function me(t){return t[te]}function ii(t){return{toString:t}.toString()}var Ci=(()=>((Ci=Ci||{})[Ci.OnPush=0]="OnPush",Ci[Ci.Default=1]="Default",Ci))(),Si=(()=>{return(t=Si||(Si={}))[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",Si;var t})();const Fi={},vi=[],Lt=O({\u0275cmp:O}),Et=O({\u0275dir:O}),et=O({\u0275pipe:O}),Ve=O({\u0275mod:O}),bt=O({\u0275fac:O}),fe=O({__NG_ELEMENT_ID__:O});let Ze=0;function At(t){return ii(()=>{const i=wo(t),n={...i,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Ci.OnPush,directiveDefs:null,pipeDefs:null,dependencies:i.standalone&&t.dependencies||null,getStandaloneInjector:null,data:t.data||{},encapsulation:t.encapsulation||Si.Emulated,id:"c"+Ze++,styles:t.styles||vi,_:null,schemas:t.schemas||null,tView:null};Jo(n);const o=t.dependencies;return n.directiveDefs=ao(o,!1),n.pipeDefs=ao(o,!0),n})}function si(t,i,n){const o=t.\u0275cmp;o.directiveDefs=ao(i,!1),o.pipeDefs=ao(n,!0)}function Gi(t){return gn(t)||Yn(t)}function nn(t){return null!==t}function Wi(t){return ii(()=>({type:t.type,bootstrap:t.bootstrap||vi,declarations:t.declarations||vi,imports:t.imports||vi,exports:t.exports||vi,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function Un(t,i){return ii(()=>{const n=Jn(t,!0);n.declarations=i.declarations||vi,n.imports=i.imports||vi,n.exports=i.exports||vi})}function to(t,i){if(null==t)return Fi;const n={};for(const o in t)if(t.hasOwnProperty(o)){let c=t[o],m=c;Array.isArray(c)&&(m=c[1],c=c[0]),n[c]=o,i&&(i[c]=m)}return n}function Bn(t){return ii(()=>{const i=wo(t);return Jo(i),i})}function xo(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function gn(t){return t[Lt]||null}function Yn(t){return t[Et]||null}function Pn(t){return t[et]||null}function Vn(t){const i=gn(t)||Yn(t)||Pn(t);return null!==i&&i.standalone}function Jn(t,i){const n=t[Ve]||null;if(!n&&!0===i)throw new Error(`Type ${q(t)} does not have '\u0275mod' property.`);return n}function wo(t){const i={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:i,exportAs:t.exportAs||null,standalone:!0===t.standalone,selectors:t.selectors||vi,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:to(t.inputs,i),outputs:to(t.outputs)}}function Jo(t){t.features?.forEach(i=>i(t))}function ao(t,i){if(!t)return null;const n=i?Pn:Gi;return()=>("function"==typeof t?t():t).map(o=>n(o)).filter(nn)}const at=0,xt=1,w=2,J=3,Ie=4,Xe=5,ei=6,Ei=7,Yi=8,Mn=9,Tn=10,Li=11,Xn=12,Gn=13,To=14,$o=15,Hn=16,Dr=17,Eo=18,So=19,Zo=20,Xo=21,_n=22,Ho=1,fr=2,lr=7,gr=8,Wo=9,jn=10;function qn(t){return Array.isArray(t)&&"object"==typeof t[Ho]}function lo(t){return Array.isArray(t)&&!0===t[Ho]}function qo(t){return 0!=(4&t.flags)}function co(t){return t.componentOffset>-1}function _i(t){return 1==(1&t.flags)}function rn(t){return!!t.template}function fo(t){return 0!=(256&t[w])}function bo(t,i){return t.hasOwnProperty(bt)?t[bt]:null}class Ko{constructor(i,n,o){this.previousValue=i,this.currentValue=n,this.firstChange=o}isFirstChange(){return this.firstChange}}function er(){return Tr}function Tr(t){return t.type.prototype.ngOnChanges&&(t.setInput=tr),_r}function _r(){const t=Er(this),i=t?.current;if(i){const n=t.previous;if(n===Fi)t.previous=i;else for(let o in i)n[o]=i[o];t.current=null,this.ngOnChanges(i)}}function tr(t,i,n,o){const c=this.declaredInputs[n],m=Er(t)||function vr(t,i){return t[br]=i}(t,{previous:Fi,current:null}),y=m.current||(m.current={}),I=m.previous,U=I[c];y[c]=new Ko(U&&U.currentValue,i,I===Fi),t[o]=i}er.ngInherit=!0;const br="__ngSimpleChanges__";function Er(t){return t[br]||null}const no=function(t,i,n){},Ur="svg";function Ln(t){for(;Array.isArray(t);)t=t[at];return t}function Co(t,i){return Ln(i[t])}function ho(t,i){return Ln(i[t.index])}function yr(t,i){return t.data[i]}function cr(t,i){return t[i]}function Fo(t,i){const n=i[t];return qn(n)?n:n[at]}function ir(t){return 64==(64&t[w])}function zo(t,i){return null==i?null:t[i]}function Uo(t){t[Eo]=0}function ts(t,i){t[Xe]+=i;let n=t,o=t[J];for(;null!==o&&(1===i&&1===n[Xe]||-1===i&&0===n[Xe]);)o[Xe]+=i,n=o,o=o[J]}const Ki={lFrame:x(null),bindingsEnabled:!0};function Mt(){return Ki.bindingsEnabled}function ni(){return Ki.lFrame.lView}function pn(){return Ki.lFrame.tView}function Or(t){return Ki.lFrame.contextLView=t,t[Yi]}function is(t){return Ki.lFrame.contextLView=null,t}function eo(){let t=bs();for(;null!==t&&64===t.type;)t=t.parent;return t}function bs(){return Ki.lFrame.currentTNode}function nr(t,i){const n=Ki.lFrame;n.currentTNode=t,n.isParent=i}function Is(){return Ki.lFrame.isParent}function Qs(){Ki.lFrame.isParent=!1}function dn(){const t=Ki.lFrame;let i=t.bindingRootIndex;return-1===i&&(i=t.bindingRootIndex=t.tView.bindingStartIndex),i}function Yo(){return Ki.lFrame.bindingIndex}function Pr(){return Ki.lFrame.bindingIndex++}function kr(t){const i=Ki.lFrame,n=i.bindingIndex;return i.bindingIndex=i.bindingIndex+t,n}function Os(t,i){const n=Ki.lFrame;n.bindingIndex=n.bindingRootIndex=t,Fr(i)}function Fr(t){Ki.lFrame.currentDirectiveIndex=t}function xr(t){const i=Ki.lFrame.currentDirectiveIndex;return-1===i?null:t[i]}function jr(){return Ki.lFrame.currentQueryIndex}function os(t){Ki.lFrame.currentQueryIndex=t}function Xs(t){const i=t[xt];return 2===i.type?i.declTNode:1===i.type?t[ei]:null}function vs(t,i,n){if(n&dt.SkipSelf){let c=i,m=t;for(;!(c=c.parent,null!==c||n&dt.Host||(c=Xs(m),null===c||(m=m[$o],10&c.type))););if(null===c)return!1;i=c,t=m}const o=Ki.lFrame=ue();return o.currentTNode=i,o.lView=t,!0}function ps(t){const i=ue(),n=t[xt];Ki.lFrame=i,i.currentTNode=n.firstChild,i.lView=t,i.tView=n,i.contextLView=t,i.bindingIndex=n.bindingStartIndex,i.inI18n=!1}function ue(){const t=Ki.lFrame,i=null===t?null:t.child;return null===i?x(t):i}function x(t){const i={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:t,child:null,inI18n:!1};return null!==t&&(t.child=i),i}function E(){const t=Ki.lFrame;return Ki.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const K=E;function ye(){const t=E();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Ct(){return Ki.lFrame.selectedIndex}function Zt(t){Ki.lFrame.selectedIndex=t}function qt(){const t=Ki.lFrame;return yr(t.tView,t.selectedIndex)}function Mi(){Ki.lFrame.currentNamespace=Ur}function fn(){!function un(){Ki.lFrame.currentNamespace=null}()}function Dn(t,i){for(let n=i.directiveStart,o=i.directiveEnd;n<o;n++){const m=t.data[n].type.prototype,{ngAfterContentInit:y,ngAfterContentChecked:I,ngAfterViewInit:U,ngAfterViewChecked:ce,ngOnDestroy:Ue}=m;y&&(t.contentHooks??(t.contentHooks=[])).push(-n,y),I&&((t.contentHooks??(t.contentHooks=[])).push(n,I),(t.contentCheckHooks??(t.contentCheckHooks=[])).push(n,I)),U&&(t.viewHooks??(t.viewHooks=[])).push(-n,U),ce&&((t.viewHooks??(t.viewHooks=[])).push(n,ce),(t.viewCheckHooks??(t.viewCheckHooks=[])).push(n,ce)),null!=Ue&&(t.destroyHooks??(t.destroyHooks=[])).push(n,Ue)}}function Rn(t,i,n){ae(t,i,3,n)}function oo(t,i,n,o){(3&t[w])===n&&ae(t,i,n,o)}function R(t,i){let n=t[w];(3&n)===i&&(n&=2047,n+=1,t[w]=n)}function ae(t,i,n,o){const m=o??-1,y=i.length-1;let I=0;for(let U=void 0!==o?65535&t[Eo]:0;U<y;U++)if("number"==typeof i[U+1]){if(I=i[U],null!=o&&I>=o)break}else i[U]<0&&(t[Eo]+=65536),(I<m||-1==m)&&(G(t,n,i,U),t[Eo]=(4294901760&t[Eo])+U+2),U++}function G(t,i,n,o){const c=n[o]<0,m=n[o+1],I=t[c?-n[o]:n[o]];if(c){if(t[w]>>11<t[Eo]>>16&&(3&t[w])===i){t[w]+=2048,no(4,I,m);try{m.call(I)}finally{no(5,I,m)}}}else{no(4,I,m);try{m.call(I)}finally{no(5,I,m)}}}const Oe=-1;class ut{constructor(i,n,o){this.factory=i,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=o}}function fi(t,i,n){let o=0;for(;o<n.length;){const c=n[o];if("number"==typeof c){if(0!==c)break;o++;const m=n[o++],y=n[o++],I=n[o++];t.setAttribute(i,y,I,m)}else{const m=c,y=n[++o];Vi(m)?t.setProperty(i,m,y):t.setAttribute(i,m,y),o++}}return o}function Oi(t){return 3===t||4===t||6===t}function Vi(t){return 64===t.charCodeAt(0)}function Ji(t,i){if(null!==i&&0!==i.length)if(null===t||0===t.length)t=i.slice();else{let n=-1;for(let o=0;o<i.length;o++){const c=i[o];"number"==typeof c?n=c:0===n||bn(t,n,c,null,-1===n||2===n?i[++o]:null)}}return t}function bn(t,i,n,o,c){let m=0,y=t.length;if(-1===i)y=-1;else for(;m<t.length;){const I=t[m++];if("number"==typeof I){if(I===i){y=-1;break}if(I>i){y=m-1;break}}}for(;m<t.length;){const I=t[m];if("number"==typeof I)break;if(I===n){if(null===o)return void(null!==c&&(t[m+1]=c));if(o===t[m+1])return void(t[m+2]=c)}m++,null!==o&&m++,null!==c&&m++}-1!==y&&(t.splice(y,0,i),m=y+1),t.splice(m++,0,n),null!==o&&t.splice(m++,0,o),null!==c&&t.splice(m++,0,c)}function zn(t){return t!==Oe}function Wn(t){return 32767&t}function kn(t,i){let n=function Io(t){return t>>16}(t),o=i;for(;n>0;)o=o[$o],n--;return o}let Rs=!0;function Ps(t){const i=Rs;return Rs=t,i}const Lr=255,vn=5;let or=0;const ur={};function hr(t,i){const n=wr(t,i);if(-1!==n)return n;const o=i[xt];o.firstCreatePass&&(t.injectorIndex=i.length,ga(o.data,t),ga(i,null),ga(o.blueprint,null));const c=ys(t,i),m=t.injectorIndex;if(zn(c)){const y=Wn(c),I=kn(c,i),U=I[xt].data;for(let ce=0;ce<8;ce++)i[m+ce]=I[y+ce]|U[y+ce]}return i[m+8]=c,m}function ga(t,i){t.push(0,0,0,0,0,0,0,0,i)}function wr(t,i){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===i[t.injectorIndex+8]?-1:t.injectorIndex}function ys(t,i){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,o=null,c=i;for(;null!==c;){if(o=ba(c),null===o)return Oe;if(n++,c=c[$o],-1!==o.injectorIndex)return o.injectorIndex|n<<16}return Oe}function No(t,i,n){!function fa(t,i,n){let o;"string"==typeof n?o=n.charCodeAt(0)||0:n.hasOwnProperty(fe)&&(o=n[fe]),null==o&&(o=n[fe]=or++);const c=o&Lr;i.data[t+(c>>vn)]|=1<<c}(t,i,n)}function Fs(t,i,n){if(n&dt.Optional||void 0!==t)return t;Se()}function Ls(t,i,n,o){if(n&dt.Optional&&void 0===o&&(o=null),!(n&(dt.Self|dt.Host))){const c=t[Mn],m=N(void 0);try{return c?c.get(i,o,n&dt.Optional):re(i,o,n&dt.Optional)}finally{N(m)}}return Fs(o,0,n)}function Va(t,i,n,o=dt.Default,c){if(null!==t){if(1024&i[w]){const y=function as(t,i,n,o,c){let m=t,y=i;for(;null!==m&&null!==y&&1024&y[w]&&!(256&y[w]);){const I=Ns(m,y,n,o|dt.Self,ur);if(I!==ur)return I;let U=m.parent;if(!U){const ce=y[Xo];if(ce){const Ue=ce.get(n,ur,o);if(Ue!==ur)return Ue}U=ba(y),y=y[$o]}m=U}return c}(t,i,n,o,ur);if(y!==ur)return y}const m=Ns(t,i,n,o,ur);if(m!==ur)return m}return Ls(i,n,o,c)}function Ns(t,i,n,o,c){const m=function qs(t){if("string"==typeof t)return t.charCodeAt(0)||0;const i=t.hasOwnProperty(fe)?t[fe]:void 0;return"number"==typeof i?i>=0?i&Lr:ws:i}(n);if("function"==typeof m){if(!vs(i,t,o))return o&dt.Host?Fs(c,0,o):Ls(i,n,o,c);try{const y=m(o);if(null!=y||o&dt.Optional)return y;Se()}finally{K()}}else if("number"==typeof m){let y=null,I=wr(t,i),U=Oe,ce=o&dt.Host?i[Hn][ei]:null;for((-1===I||o&dt.SkipSelf)&&(U=-1===I?ys(t,i):i[I+8],U!==Oe&&go(o,!1)?(y=i[xt],I=Wn(U),i=kn(U,i)):I=-1);-1!==I;){const Ue=i[xt];if(Xi(m,I,Ue.data)){const ht=Nl(I,i,n,y,o,ce);if(ht!==ur)return ht}U=i[I+8],U!==Oe&&go(o,i[xt].data[I+8]===ce)&&Xi(m,I,i)?(y=Ue,I=Wn(U),i=kn(U,i)):I=-1}}return c}function Nl(t,i,n,o,c,m){const y=i[xt],I=y.data[t+8],Ue=_a(I,y,n,null==o?co(I)&&Rs:o!=y&&0!=(3&I.type),c&dt.Host&&m===I);return null!==Ue?rs(i,y,Ue,I):ur}function _a(t,i,n,o,c){const m=t.providerIndexes,y=i.data,I=1048575&m,U=t.directiveStart,Ue=m>>20,Ft=c?I+Ue:t.directiveEnd;for(let Jt=o?I:I+Ue;Jt<Ft;Jt++){const di=y[Jt];if(Jt<U&&n===di||Jt>=U&&di.type===n)return Jt}if(c){const Jt=y[U];if(Jt&&rn(Jt)&&Jt.type===n)return U}return null}function rs(t,i,n,o){let c=t[n];const m=i.data;if(function Xt(t){return t instanceof ut}(c)){const y=c;y.resolving&&function _e(t,i){const n=i?`. Dependency path: ${i.join(" > ")} > ${t}`:"";throw new Re(-200,`Circular dependency in DI detected for ${t}${n}`)}(function Pe(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():Me(t)}(m[n]));const I=Ps(y.canSeeViewProviders);y.resolving=!0;const U=y.injectImpl?N(y.injectImpl):null;vs(t,o,dt.Default);try{c=t[n]=y.factory(void 0,m,t,o),i.firstCreatePass&&n>=o.directiveStart&&function Qi(t,i,n){const{ngOnChanges:o,ngOnInit:c,ngDoCheck:m}=i.type.prototype;if(o){const y=Tr(i);(n.preOrderHooks??(n.preOrderHooks=[])).push(t,y),(n.preOrderCheckHooks??(n.preOrderCheckHooks=[])).push(t,y)}c&&(n.preOrderHooks??(n.preOrderHooks=[])).push(0-t,c),m&&((n.preOrderHooks??(n.preOrderHooks=[])).push(t,m),(n.preOrderCheckHooks??(n.preOrderCheckHooks=[])).push(t,m))}(n,m[n],i)}finally{null!==U&&N(U),Ps(I),y.resolving=!1,K()}}return c}function Xi(t,i,n){return!!(n[i+(t>>vn)]&1<<t)}function go(t,i){return!(t&dt.Self||t&dt.Host&&i)}class $r{constructor(i,n){this._tNode=i,this._lView=n}get(i,n,o){return Va(this._tNode,this._lView,i,se(o),n)}}function ws(){return new $r(eo(),ni())}function ss(t){return ii(()=>{const i=t.prototype.constructor,n=i[bt]||ea(i),o=Object.prototype;let c=Object.getPrototypeOf(t.prototype).constructor;for(;c&&c!==o;){const m=c[bt]||ea(c);if(m&&m!==n)return m;c=Object.getPrototypeOf(c)}return m=>new m})}function ea(t){return Le(t)?()=>{const i=ea(he(t));return i&&i()}:bo(t)}function ba(t){const i=t[xt],n=i.type;return 2===n?i.declTNode:1===n?t[ei]:null}function ta(t){return function xs(t,i){if("class"===i)return t.classes;if("style"===i)return t.styles;const n=t.attrs;if(n){const o=n.length;let c=0;for(;c<o;){const m=n[c];if(Oi(m))break;if(0===m)c+=2;else if("number"==typeof m)for(c++;c<o&&"string"==typeof n[c];)c++;else{if(m===i)return n[c+1];c+=2}}}return null}(eo(),t)}const Zr="__parameters__";function ro(t,i,n){return ii(()=>{const o=function ia(t){return function(...n){if(t){const o=t(...n);for(const c in o)this[c]=o[c]}}}(i);function c(...m){if(this instanceof c)return o.apply(this,m),this;const y=new c(...m);return I.annotation=y,I;function I(U,ce,Ue){const ht=U.hasOwnProperty(Zr)?U[Zr]:Object.defineProperty(U,Zr,{value:[]})[Zr];for(;ht.length<=Ue;)ht.push(null);return(ht[Ue]=ht[Ue]||[]).push(y),U}}return n&&(c.prototype=Object.create(n.prototype)),c.prototype.ngMetadataName=t,c.annotationCls=c,c})}class Nn{constructor(i,n){this._desc=i,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=$({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Wr(t,i){t.forEach(n=>Array.isArray(n)?Wr(n,i):i(n))}function oa(t,i,n){i>=t.length?t.push(n):t.splice(i,0,n)}function Hs(t,i){return i>=t.length-1?t.pop():t.splice(i,1)[0]}function M(t,i){const n=[];for(let o=0;o<t;o++)n.push(i);return n}function Ce(t,i,n){let o=Bt(t,i);return o>=0?t[1|o]=n:(o=~o,function L(t,i,n,o){let c=t.length;if(c==i)t.push(n,o);else if(1===c)t.push(o,t[0]),t[0]=n;else{for(c--,t.push(t[c-1],t[c]);c>i;)t[c]=t[c-2],c--;t[i]=n,t[i+1]=o}}(t,o,i,n)),o}function $e(t,i){const n=Bt(t,i);if(n>=0)return t[1|n]}function Bt(t,i){return function Ti(t,i,n){let o=0,c=t.length>>n;for(;c!==o;){const m=o+(c-o>>1),y=t[m<<n];if(i===y)return m<<n;y>i?c=m:o=m+1}return~(c<<n)}(t,i,1)}const vo=A(ro("Inject",t=>({token:t})),-1),Ms=A(ro("Optional"),8),cs=A(ro("SkipSelf"),4);var fs=(()=>((fs=fs||{})[fs.Important=1]="Important",fs[fs.DashCase=2]="DashCase",fs))();const Yl=new Map;let nu=0;const Gl="__ngContext__";function Mo(t,i){qn(i)?(t[Gl]=i[Zo],function ru(t){Yl.set(t[Zo],t)}(i)):t[Gl]=i}let $l;function Zl(t,i){return $l(t,i)}function In(t){const i=t[J];return lo(i)?i[J]:i}function fl(t){return Kl(t[Gn])}function Wl(t){return Kl(t[Ie])}function Kl(t){for(;null!==t&&!lo(t);)t=t[Ie];return t}function pr(t,i,n,o,c){if(null!=o){let m,y=!1;lo(o)?m=o:qn(o)&&(y=!0,o=o[at]);const I=Ln(o);0===t&&null!==n?null==c?ds(i,n,I):Ys(i,n,I,c||null,!0):1===t&&null!==n?Ys(i,n,I,c||null,!0):2===t?function xl(t,i,n){const o=gs(t,i);o&&function tc(t,i,n,o){t.removeChild(i,n,o)}(t,o,i,n)}(i,I,y):3===t&&i.destroyNode(I),null!=m&&function gu(t,i,n,o,c){const m=n[lr];m!==Ln(n)&&pr(i,t,o,m,c);for(let I=jn;I<n.length;I++){const U=n[I];Qa(U[xt],U,t,i,o,m)}}(i,t,m,n,c)}}function Ql(t,i,n){return t.createElement(i,n)}function Ss(t,i){const n=t[Wo],o=n.indexOf(i),c=i[J];512&i[w]&&(i[w]&=-513,ts(c,-1)),n.splice(o,1)}function Xl(t,i){if(t.length<=jn)return;const n=jn+i,o=t[n];if(o){const c=o[Dr];null!==c&&c!==t&&Ss(c,o),i>0&&(t[n-1][Ie]=o[Ie]);const m=Hs(t,jn+i);!function cu(t,i){Qa(t,i,i[Li],2,null,null),i[at]=null,i[ei]=null}(o[xt],o);const y=m[So];null!==y&&y.detachView(m[xt]),o[J]=null,o[Ie]=null,o[w]&=-65}return o}function ql(t,i){if(!(128&i[w])){const n=i[Li];n.destroyNode&&Qa(t,i,n,3,null,null),function hu(t){let i=t[Gn];if(!i)return _l(t[xt],t);for(;i;){let n=null;if(qn(i))n=i[Gn];else{const o=i[jn];o&&(n=o)}if(!n){for(;i&&!i[Ie]&&i!==t;)qn(i)&&_l(i[xt],i),i=i[J];null===i&&(i=t),qn(i)&&_l(i[xt],i),n=i&&i[Ie]}i=n}}(i)}}function _l(t,i){if(!(128&i[w])){i[w]&=-65,i[w]|=128,function pu(t,i){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let o=0;o<n.length;o+=2){const c=i[n[o]];if(!(c instanceof ut)){const m=n[o+1];if(Array.isArray(m))for(let y=0;y<m.length;y+=2){const I=c[m[y]],U=m[y+1];no(4,I,U);try{U.call(I)}finally{no(5,I,U)}}else{no(4,c,m);try{m.call(c)}finally{no(5,c,m)}}}}}(t,i),function Yc(t,i){const n=t.cleanup,o=i[Ei];let c=-1;if(null!==n)for(let m=0;m<n.length-1;m+=2)if("string"==typeof n[m]){const y=n[m+3];y>=0?o[c=y]():o[c=-y].unsubscribe(),m+=2}else{const y=o[c=n[m+1]];n[m].call(y)}if(null!==o){for(let m=c+1;m<o.length;m++)(0,o[m])();i[Ei]=null}}(t,i),1===i[xt].type&&i[Li].destroy();const n=i[Dr];if(null!==n&&lo(i[J])){n!==i[J]&&Ss(n,i);const o=i[So];null!==o&&o.detachView(t)}!function Nc(t){Yl.delete(t[Zo])}(i)}}function ec(t,i,n){return function bl(t,i,n){let o=i;for(;null!==o&&40&o.type;)o=(i=o).parent;if(null===o)return n[at];{const{componentOffset:c}=o;if(c>-1){const{encapsulation:m}=t.data[o.directiveStart+c];if(m===Si.None||m===Si.Emulated)return null}return ho(o,n)}}(t,i.parent,n)}function Ys(t,i,n,o,c){t.insertBefore(i,n,o,c)}function ds(t,i,n){t.appendChild(i,n)}function Da(t,i,n,o,c){null!==o?Ys(t,i,n,o,c):ds(t,i,n)}function gs(t,i){return t.parentNode(i)}function Za(t,i,n){return aa(t,i,n)}let Ta,la,Dl,Ml,aa=function ic(t,i,n){return 40&t.type?ho(t,n):null};function Wa(t,i,n,o){const c=ec(t,o,i),m=i[Li],I=Za(o.parent||i[ei],o,i);if(null!=c)if(Array.isArray(n))for(let U=0;U<n.length;U++)Da(m,c,n[U],I,!1);else Da(m,c,n,I,!1);void 0!==Ta&&Ta(m,o,i,n,c)}function Ka(t,i){if(null!==i){const n=i.type;if(3&n)return ho(i,t);if(4&n)return nc(-1,t[i.index]);if(8&n){const o=i.child;if(null!==o)return Ka(t,o);{const c=t[i.index];return lo(c)?nc(-1,c):Ln(c)}}if(32&n)return Zl(i,t)()||Ln(t[i.index]);{const o=Gc(t,i);return null!==o?Array.isArray(o)?o[0]:Ka(In(t[Hn]),o):Ka(t,i.next)}}return null}function Gc(t,i){return null!==i?t[Hn][ei].projection[i.projection]:null}function nc(t,i){const n=jn+t+1;if(n<i.length){const o=i[n],c=o[xt].firstChild;if(null!==c)return Ka(o,c)}return i[lr]}function wl(t,i,n,o,c,m,y){for(;null!=n;){const I=o[n.index],U=n.type;if(y&&0===i&&(I&&Mo(Ln(I),o),n.flags|=2),32!=(32&n.flags))if(8&U)wl(t,i,n.child,o,c,m,!1),pr(i,t,c,I,m);else if(32&U){const ce=Zl(n,o);let Ue;for(;Ue=ce();)pr(i,t,c,Ue,m);pr(i,t,c,I,m)}else 16&U?Cl(t,i,o,n,c,m):pr(i,t,c,I,m);n=y?n.projectionNext:n.next}}function Qa(t,i,n,o,c,m){wl(n,o,t.firstChild,i,c,m,!1)}function Cl(t,i,n,o,c,m){const y=n[Hn],U=y[ei].projection[o.projection];if(Array.isArray(U))for(let ce=0;ce<U.length;ce++)pr(i,t,c,U[ce],m);else wl(t,i,U,y[J],c,m,!0)}function oc(t,i,n){""===n?t.removeAttribute(i,"class"):t.setAttribute(i,"class",n)}function Ja(t,i,n){const{mergedAttrs:o,classes:c,styles:m}=n;null!==o&&fi(t,i,o),null!==c&&oc(t,i,c),null!==m&&function $c(t,i,n){t.setAttribute(i,"style",n)}(t,i,m)}function _s(t){return function zi(){if(void 0===la&&(la=null,wt.trustedTypes))try{la=wt.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return la}()?.createHTML(t)||t}function Zc(t){Dl=t}function qa(){if(void 0===Ml&&(Ml=null,wt.trustedTypes))try{Ml=wt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Ml}function Kc(t){return qa()?.createHTML(t)||t}function Qc(t){return qa()?.createScriptURL(t)||t}class Gs{constructor(i){this.changingThisBreaksApplicationSecurity=i}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${pt})`}}class vh extends Gs{getTypeName(){return"HTML"}}class Jc extends Gs{getTypeName(){return"Style"}}class bu extends Gs{getTypeName(){return"Script"}}class yh extends Gs{getTypeName(){return"URL"}}class xh extends Gs{getTypeName(){return"ResourceURL"}}function js(t){return t instanceof Gs?t.changingThisBreaksApplicationSecurity:t}function Ea(t,i){const n=function vu(t){return t instanceof Gs&&t.getTypeName()||null}(t);if(null!=n&&n!==i){if("ResourceURL"===n&&"URL"===i)return!0;throw new Error(`Required a safe ${i}, got a ${n} (see ${pt})`)}return n===i}function yu(t){return new vh(t)}function xu(t){return new Jc(t)}function Xc(t){return new bu(t)}function qc(t){return new yh(t)}function wu(t){return new xh(t)}class Cu{constructor(i){this.inertDocumentHelper=i}getInertBodyElement(i){i="<body><remove></remove>"+i;try{const n=(new window.DOMParser).parseFromString(_s(i),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(i):(n.removeChild(n.firstChild),n)}catch{return null}}}class Du{constructor(i){this.defaultDoc=i,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(i){const n=this.inertDocument.createElement("template");return n.innerHTML=_s(i),n}}const ed=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Sa(t){return(t=String(t)).match(ed)?t:"unsafe:"+t}function ks(t){const i={};for(const n of t.split(","))i[n]=!0;return i}function ka(...t){const i={};for(const n of t)for(const o in n)n.hasOwnProperty(o)&&(i[o]=!0);return i}const td=ks("area,br,col,hr,img,wbr"),id=ks("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),nd=ks("rp,rt"),el=ka(td,ka(id,ks("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")),ka(nd,ks("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")),ka(nd,id)),ac=ks("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),lc=ka(ac,ks("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ks("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")),ku=ks("script,style,template");class od{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(i){let n=i.firstChild,o=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?o=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,o&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let c=this.checkClobberedElement(n,n.nextSibling);if(c){n=c;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(i){const n=i.nodeName.toLowerCase();if(!el.hasOwnProperty(n))return this.sanitizedSomething=!0,!ku.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const o=i.attributes;for(let c=0;c<o.length;c++){const m=o.item(c),y=m.name,I=y.toLowerCase();if(!lc.hasOwnProperty(I)){this.sanitizedSomething=!0;continue}let U=m.value;ac[I]&&(U=Sa(U)),this.buf.push(" ",y,'="',cc(U),'"')}return this.buf.push(">"),!0}endElement(i){const n=i.nodeName.toLowerCase();el.hasOwnProperty(n)&&!td.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(i){this.buf.push(cc(i))}checkClobberedElement(i,n){if(n&&(i.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${i.outerHTML}`);return n}}const rd=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,sd=/([^\#-~ |!])/g;function cc(t){return t.replace(/&/g,"&amp;").replace(rd,function(i){return"&#"+(1024*(i.charCodeAt(0)-55296)+(i.charCodeAt(1)-56320)+65536)+";"}).replace(sd,function(i){return"&#"+i.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let tl;function ad(t,i){let n=null;try{tl=tl||function sc(t){const i=new Du(t);return function Mu(){try{return!!(new window.DOMParser).parseFromString(_s(""),"text/html")}catch{return!1}}()?new Cu(i):i}(t);let o=i?String(i):"";n=tl.getInertBodyElement(o);let c=5,m=o;do{if(0===c)throw new Error("Failed to sanitize html because the input is unstable");c--,o=m,m=n.innerHTML,n=tl.getInertBodyElement(o)}while(o!==m);return _s((new od).sanitizeChildren(Tl(n)||n))}finally{if(n){const o=Tl(n)||n;for(;o.firstChild;)o.removeChild(o.firstChild)}}}function Tl(t){return"content"in t&&function ld(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Oo=(()=>((Oo=Oo||{})[Oo.NONE=0]="NONE",Oo[Oo.HTML=1]="HTML",Oo[Oo.STYLE=2]="STYLE",Oo[Oo.SCRIPT=3]="SCRIPT",Oo[Oo.URL=4]="URL",Oo[Oo.RESOURCE_URL=5]="RESOURCE_URL",Oo))();function cd(t){const i=El();return i?Kc(i.sanitize(Oo.HTML,t)||""):Ea(t,"HTML")?Kc(js(t)):ad(function Wc(){return void 0!==Dl?Dl:typeof document<"u"?document:void 0}(),Me(t))}function dc(t){const i=El();return i?i.sanitize(Oo.URL,t)||"":Ea(t,"URL")?js(t):Sa(Me(t))}function dd(t){const i=El();if(i)return Qc(i.sanitize(Oo.RESOURCE_URL,t)||"");if(Ea(t,"ResourceURL"))return Qc(js(t));throw new Re(904,!1)}function uc(t,i,n){return function Pu(t,i){return"src"===i&&("embed"===t||"frame"===t||"iframe"===t||"media"===t||"script"===t)||"href"===i&&("base"===t||"link"===t)?dd:dc}(i,n)(t)}function El(){const t=ni();return t&&t[Xn]}const ud=new Nn("ENVIRONMENT_INITIALIZER"),Fu=new Nn("INJECTOR",-1),hd=new Nn("INJECTOR_DEF_TYPES");class $s{get(i,n=Gt){if(n===Gt){const o=new Error(`NullInjectorError: No provider for ${q(i)}!`);throw o.name="NullInjectorError",o}return n}}function md(t){return{\u0275providers:t}}function Sl(...t){return{\u0275providers:pd(0,t),\u0275fromNgModule:!0}}function pd(t,...i){const n=[],o=new Set;let c;return Wr(i,m=>{const y=m;hc(y,n,[],o)&&(c||(c=[]),c.push(y))}),void 0!==c&&fd(c,n),n}function fd(t,i){for(let n=0;n<t.length;n++){const{providers:c}=t[n];mc(c,m=>{i.push(m)})}}function hc(t,i,n,o){if(!(t=he(t)))return!1;let c=null,m=zt(t);const y=!m&&gn(t);if(m||y){if(y&&!y.standalone)return!1;c=t}else{const U=t.ngModule;if(m=zt(U),!m)return!1;c=U}const I=o.has(c);if(y){if(I)return!1;if(o.add(c),y.dependencies){const U="function"==typeof y.dependencies?y.dependencies():y.dependencies;for(const ce of U)hc(ce,i,n,o)}}else{if(!m)return!1;{if(null!=m.imports&&!I){let ce;o.add(c);try{Wr(m.imports,Ue=>{hc(Ue,i,n,o)&&(ce||(ce=[]),ce.push(Ue))})}finally{}void 0!==ce&&fd(ce,i)}if(!I){const ce=bo(c)||(()=>new c);i.push({provide:c,useFactory:ce,deps:vi},{provide:hd,useValue:c,multi:!0},{provide:ud,useValue:()=>ke(c),multi:!0})}const U=m.providers;null==U||I||mc(U,Ue=>{i.push(Ue)})}}return c!==t&&void 0!==t.providers}function mc(t,i){for(let n of t)He(n)&&(n=n.\u0275providers),Array.isArray(n)?mc(n,i):i(n)}const Lu=O({provide:String,useValue:O});function pc(t){return null!==t&&"object"==typeof t&&Lu in t}function ca(t){return"function"==typeof t}const kl=new Nn("Set Injector scope."),Al={},Il={};let vd;function Ol(){return void 0===vd&&(vd=new $s),vd}class Zs{}class yd extends Zs{get destroyed(){return this._destroyed}constructor(i,n,o,c){super(),this.parent=n,this.source=o,this.scopes=c,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,gc(i,y=>this.processProvider(y)),this.records.set(Fu,Aa(void 0,this)),c.has("environment")&&this.records.set(Zs,Aa(void 0,this));const m=this.records.get(kl);null!=m&&"string"==typeof m.value&&this.scopes.add(m.value),this.injectorDefTypes=new Set(this.get(hd.multi,vi,dt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();for(const i of this._onDestroyHooks)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(i){this._onDestroyHooks.push(i)}runInContext(i){this.assertNotDestroyed();const n=st(this),o=N(void 0);try{return i()}finally{st(n),N(o)}}get(i,n=Gt,o=dt.Default){this.assertNotDestroyed(),o=se(o);const c=st(this),m=N(void 0);try{if(!(o&dt.SkipSelf)){let I=this.records.get(i);if(void 0===I){const U=function Vu(t){return"function"==typeof t||"object"==typeof t&&t instanceof Nn}(i)&&_t(i);I=U&&this.injectableDefInScope(U)?Aa(xd(i),Al):null,this.records.set(i,I)}if(null!=I)return this.hydrate(i,I)}return(o&dt.Self?Ol():this.parent).get(i,n=o&dt.Optional&&n===Gt?null:n)}catch(y){if("NullInjectorError"===y.name){if((y[Ae]=y[Ae]||[]).unshift(q(i)),c)throw y;return function Ye(t,i,n,o){const c=t[Ae];throw i[Vt]&&c.unshift(i[Vt]),t.message=function Ot(t,i,n,o=null){t=t&&"\n"===t.charAt(0)&&t.charAt(1)==Ut?t.slice(2):t;let c=q(i);if(Array.isArray(i))c=i.map(q).join(" -> ");else if("object"==typeof i){let m=[];for(let y in i)if(i.hasOwnProperty(y)){let I=i[y];m.push(y+":"+("string"==typeof I?JSON.stringify(I):q(I)))}c=`{${m.join(", ")}}`}return`${n}${o?"("+o+")":""}[${c}]: ${t.replace(pe,"\n  ")}`}("\n"+t.message,c,n,o),t[B]=c,t[Ae]=null,t}(y,i,"R3InjectorError",this.source)}throw y}finally{N(m),st(c)}}resolveInjectorInitializers(){const i=st(this),n=N(void 0);try{const o=this.get(ud.multi,vi,dt.Self);for(const c of o)c()}finally{st(i),N(n)}}toString(){const i=[],n=this.records;for(const o of n.keys())i.push(q(o));return`R3Injector[${i.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Re(205,!1)}processProvider(i){let n=ca(i=he(i))?i:he(i&&i.provide);const o=function Nu(t){return pc(t)?Aa(void 0,t.useValue):Aa(fc(t),Al)}(i);if(ca(i)||!0!==i.multi)this.records.get(n);else{let c=this.records.get(n);c||(c=Aa(void 0,Al,!0),c.factory=()=>z(c.multi),this.records.set(n,c)),n=i,c.multi.push(i)}this.records.set(n,o)}hydrate(i,n){return n.value===Al&&(n.value=Il,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Bu(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(i){if(!i.providedIn)return!1;const n=he(i.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function xd(t){const i=_t(t),n=null!==i?i.factory:bo(t);if(null!==n)return n;if(t instanceof Nn)throw new Re(204,!1);if(t instanceof Function)return function lm(t){const i=t.length;if(i>0)throw M(i,"?"),new Re(204,!1);const n=function lt(t){return t&&(t[ft]||t[li])||null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new Re(204,!1)}function fc(t,i,n){let o;if(ca(t)){const c=he(t);return bo(c)||xd(c)}if(pc(t))o=()=>he(t.useValue);else if(function _d(t){return!(!t||!t.useFactory)}(t))o=()=>t.useFactory(...z(t.deps||[]));else if(function gd(t){return!(!t||!t.useExisting)}(t))o=()=>ke(he(t.useExisting));else{const c=he(t&&(t.useClass||t.provide));if(!function wd(t){return!!t.deps}(t))return bo(c)||xd(c);o=()=>new c(...z(t.deps))}return o}function Aa(t,i,n=!1){return{factory:t,value:i,multi:n?[]:void 0}}function gc(t,i){for(const n of t)Array.isArray(n)?gc(n,i):n&&He(n)?gc(n.\u0275providers,i):i(n)}class Cd{}class Dd{}class Hu{resolveComponentFactory(i){throw function Md(t){const i=Error(`No component factory found for ${q(t)}. Did you add it to @NgModule.entryComponents?`);return i.ngComponent=t,i}(i)}}let nl=(()=>{class t{}return t.NULL=new Hu,t})();function zu(){return Ia(eo(),ni())}function Ia(t,i){return new ol(ho(t,i))}let ol=(()=>{class t{constructor(n){this.nativeElement=n}}return t.__NG_ELEMENT_ID__=zu,t})();function Uu(t){return t instanceof ol?t.nativeElement:t}class Td{}let Ed=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>function Yu(){const t=ni(),n=Fo(eo().index,t);return(qn(n)?n:t)[Li]}(),t})(),Eh=(()=>{class t{}return t.\u0275prov=$({token:t,providedIn:"root",factory:()=>null}),t})();class Gu{constructor(i){this.full=i,this.major=i.split(".")[0],this.minor=i.split(".")[1],this.patch=i.split(".").slice(2).join(".")}}const ju=new Gu("15.2.10"),_c={},Rl="ngOriginalError";function d(t){return t[Rl]}class g{constructor(){this._console=console}handleError(i){const n=this._findOriginalError(i);this._console.error("ERROR",i),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(i){let n=i&&d(i);for(;n&&d(n);)n=d(n);return n||null}}function hi(t){return t instanceof Function?t():t}function u(t,i,n){let o=t.length;for(;;){const c=t.indexOf(i,n);if(-1===c)return c;if(0===c||t.charCodeAt(c-1)<=32){const m=i.length;if(c+m===o||t.charCodeAt(c+m)<=32)return c}n=c+1}}const a="ng-template";function f(t,i,n){let o=0,c=!0;for(;o<t.length;){let m=t[o++];if("string"==typeof m&&c){const y=t[o++];if(n&&"class"===m&&-1!==u(y.toLowerCase(),i,0))return!0}else{if(1===m){for(;o<t.length&&"string"==typeof(m=t[o++]);)if(m.toLowerCase()===i)return!0;return!1}"number"==typeof m&&(c=!1)}}return!1}function k(t){return 4===t.type&&t.value!==a}function oe(t,i,n){return i===(4!==t.type||n?t.value:a)}function Je(t,i,n){let o=4;const c=t.attrs||[],m=function hn(t){for(let i=0;i<t.length;i++)if(Oi(t[i]))return i;return t.length}(c);let y=!1;for(let I=0;I<i.length;I++){const U=i[I];if("number"!=typeof U){if(!y)if(4&o){if(o=2|1&o,""!==U&&!oe(t,U,n)||""===U&&1===i.length){if(Tt(o))return!1;y=!0}}else{const ce=8&o?U:i[++I];if(8&o&&null!==t.attrs){if(!f(t.attrs,ce,n)){if(Tt(o))return!1;y=!0}continue}const ht=Qt(8&o?"class":U,c,k(t),n);if(-1===ht){if(Tt(o))return!1;y=!0;continue}if(""!==ce){let Ft;Ft=ht>m?"":c[ht+1].toLowerCase();const Jt=8&o?Ft:null;if(Jt&&-1!==u(Jt,ce,0)||2&o&&ce!==Ft){if(Tt(o))return!1;y=!0}}}}else{if(!y&&!Tt(o)&&!Tt(U))return!1;if(y&&Tt(U))continue;y=!1,o=U|1&o}}return Tt(o)||y}function Tt(t){return 0==(1&t)}function Qt(t,i,n,o){if(null===i)return-1;let c=0;if(o||!n){let m=!1;for(;c<i.length;){const y=i[c];if(y===t)return c;if(3===y||6===y)m=!0;else{if(1===y||2===y){let I=i[++c];for(;"string"==typeof I;)I=i[++c];continue}if(4===y)break;if(0===y){c+=4;continue}}c+=m?1:2}return-1}return function so(t,i){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){const o=t[n];if("number"==typeof o)return-1;if(o===i)return n;n++}return-1}(i,t)}function mi(t,i,n=!1){for(let o=0;o<i.length;o++)if(Je(t,i[o],n))return!0;return!1}function Bi(t,i){e:for(let n=0;n<i.length;n++){const o=i[n];if(t.length===o.length){for(let c=0;c<t.length;c++)if(t[c]!==o[c])continue e;return!0}}return!1}function qi(t,i){return t?":not("+i.trim()+")":i}function mo(t){let i=t[0],n=1,o=2,c="",m=!1;for(;n<t.length;){let y=t[n];if("string"==typeof y)if(2&o){const I=t[++n];c+="["+y+(I.length>0?'="'+I+'"':"")+"]"}else 8&o?c+="."+y:4&o&&(c+=" "+y);else""!==c&&!Tt(y)&&(i+=qi(m,c),c=""),o=y,m=m||!Tt(o);n++}return""!==c&&(i+=qi(m,c)),i}const Ui={};function sr(t){rl(pn(),ni(),Ct()+t,!1)}function rl(t,i,n,o){if(!o)if(3==(3&i[w])){const m=t.preOrderCheckHooks;null!==m&&Rn(i,m,n)}else{const m=t.preOrderHooks;null!==m&&oo(i,m,0,n)}Zt(n)}function Rp(t,i=null,n=null,o){const c=Pp(t,i,n,o);return c.resolveInjectorInitializers(),c}function Pp(t,i=null,n=null,o,c=new Set){const m=[n||vi,Sl(t)];return o=o||("object"==typeof t?void 0:q(t)),new yd(m,i||Ol(),o||null,c)}let yc=(()=>{class t{static create(n,o){if(Array.isArray(n))return Rp({name:""},o,n,"");{const c=n.name??"";return Rp({name:c},n.parent,n.providers,c)}}}return t.THROW_IF_NOT_FOUND=Gt,t.NULL=new $s,t.\u0275prov=$({token:t,providedIn:"any",factory:()=>ke(Fu)}),t.__NG_ELEMENT_ID__=-1,t})();function kd(t,i=dt.Default){const n=ni();return null===n?ke(t,i):Va(eo(),n,he(t),i)}function zp(){throw new Error("invalid")}function Up(t,i){const n=t.contentQueries;if(null!==n)for(let o=0;o<n.length;o+=2){const m=n[o+1];if(-1!==m){const y=t.data[m];os(n[o]),y.contentQueries(2,i[m],m)}}}function kh(t,i,n,o,c,m,y,I,U,ce,Ue){const ht=i.blueprint.slice();return ht[at]=c,ht[w]=76|o,(null!==Ue||t&&1024&t[w])&&(ht[w]|=1024),Uo(ht),ht[J]=ht[$o]=t,ht[Yi]=n,ht[Tn]=y||t&&t[Tn],ht[Li]=I||t&&t[Li],ht[Xn]=U||t&&t[Xn]||null,ht[Mn]=ce||t&&t[Mn]||null,ht[ei]=m,ht[Zo]=function ou(){return nu++}(),ht[Xo]=Ue,ht[Hn]=2==i.type?t[Hn]:ht,ht}function Ad(t,i,n,o,c){let m=t.data[i];if(null===m)m=function pm(t,i,n,o,c){const m=bs(),y=Is(),U=t.data[i]=function Vb(t,i,n,o,c,m){return{type:n,index:o,insertBeforeIndex:null,injectorIndex:i?i.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:0,providerIndexes:0,value:c,attrs:m,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:i,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,y?m:m&&m.parent,n,i,o,c);return null===t.firstChild&&(t.firstChild=U),null!==m&&(y?null==m.child&&null!==U.parent&&(m.child=U):null===m.next&&(m.next=U,U.prev=m)),U}(t,i,n,o,c),function ns(){return Ki.lFrame.inI18n}()&&(m.flags|=32);else if(64&m.type){m.type=n,m.value=o,m.attrs=c;const y=function Rr(){const t=Ki.lFrame,i=t.currentTNode;return t.isParent?i:i.parent}();m.injectorIndex=null===y?-1:y.injectorIndex}return nr(m,!0),m}function Zu(t,i,n,o){if(0===n)return-1;const c=i.length;for(let m=0;m<n;m++)i.push(o),t.blueprint.push(o),t.data.push(null);return c}function fm(t,i,n){ps(i);try{const o=t.viewQuery;null!==o&&Dm(1,o,n);const c=t.template;null!==c&&Yp(t,i,c,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&Up(t,i),t.staticViewQueries&&Dm(2,t.viewQuery,n);const m=t.components;null!==m&&function Lb(t,i){for(let n=0;n<i.length;n++)rv(t,i[n])}(i,m)}catch(o){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),o}finally{i[w]&=-5,ye()}}function Ah(t,i,n,o){const c=i[w];if(128!=(128&c)){ps(i);try{Uo(i),function Yr(t){return Ki.lFrame.bindingIndex=t}(t.bindingStartIndex),null!==n&&Yp(t,i,n,2,o);const y=3==(3&c);if(y){const ce=t.preOrderCheckHooks;null!==ce&&Rn(i,ce,null)}else{const ce=t.preOrderHooks;null!==ce&&oo(i,ce,0,null),R(i,0)}if(function nv(t){for(let i=fl(t);null!==i;i=Wl(i)){if(!i[fr])continue;const n=i[Wo];for(let o=0;o<n.length;o++){const c=n[o];512&c[w]||ts(c[J],1),c[w]|=512}}}(i),function iv(t){for(let i=fl(t);null!==i;i=Wl(i))for(let n=jn;n<i.length;n++){const o=i[n],c=o[xt];ir(o)&&Ah(c,o,c.template,o[Yi])}}(i),null!==t.contentQueries&&Up(t,i),y){const ce=t.contentCheckHooks;null!==ce&&Rn(i,ce)}else{const ce=t.contentHooks;null!==ce&&oo(i,ce,1),R(i,1)}!function Pb(t,i){const n=t.hostBindingOpCodes;if(null!==n)try{for(let o=0;o<n.length;o++){const c=n[o];if(c<0)Zt(~c);else{const m=c,y=n[++o],I=n[++o];Os(y,m),I(2,i[m])}}}finally{Zt(-1)}}(t,i);const I=t.components;null!==I&&function Fb(t,i){for(let n=0;n<i.length;n++)ov(t,i[n])}(i,I);const U=t.viewQuery;if(null!==U&&Dm(2,U,o),y){const ce=t.viewCheckHooks;null!==ce&&Rn(i,ce)}else{const ce=t.viewHooks;null!==ce&&oo(i,ce,2),R(i,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),i[w]&=-41,512&i[w]&&(i[w]&=-513,ts(i[J],-1))}finally{ye()}}}function Yp(t,i,n,o,c){const m=Ct(),y=2&o;try{Zt(-1),y&&i.length>_n&&rl(t,i,_n,!1),no(y?2:0,c),n(o,c)}finally{Zt(m),no(y?3:1,c)}}function gm(t,i,n){if(qo(i)){const c=i.directiveEnd;for(let m=i.directiveStart;m<c;m++){const y=t.data[m];y.contentQueries&&y.contentQueries(1,n[m],m)}}}function _m(t,i,n){Mt()&&(function $b(t,i,n,o){const c=n.directiveStart,m=n.directiveEnd;co(n)&&function qb(t,i,n){const o=ho(i,t),c=Gp(n),m=t[Tn],y=Ih(t,kh(t,c,null,n.onPush?32:16,o,i,m,m.createRenderer(o,n),null,null,null));t[i.index]=y}(i,n,t.data[c+n.componentOffset]),t.firstCreatePass||hr(n,i),Mo(o,i);const y=n.initialInputs;for(let I=c;I<m;I++){const U=t.data[I],ce=rs(i,t,I,n);Mo(ce,i),null!==y&&ev(0,I-c,ce,U,0,y),rn(U)&&(Fo(n.index,i)[Yi]=rs(i,t,I,n))}}(t,i,n,ho(n,i)),64==(64&n.flags)&&Kp(t,i,n))}function bm(t,i,n=ho){const o=i.localNames;if(null!==o){let c=i.index+1;for(let m=0;m<o.length;m+=2){const y=o[m+1],I=-1===y?n(i,t):t[y];t[c++]=I}}}function Gp(t){const i=t.tView;return null===i||i.incompleteFirstPass?t.tView=vm(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts):i}function vm(t,i,n,o,c,m,y,I,U,ce){const Ue=_n+o,ht=Ue+c,Ft=function Nb(t,i){const n=[];for(let o=0;o<i;o++)n.push(o<t?null:Ui);return n}(Ue,ht),Jt="function"==typeof ce?ce():ce;return Ft[xt]={type:t,blueprint:Ft,template:n,queries:null,viewQuery:I,declTNode:i,data:Ft.slice().fill(null,Ue),bindingStartIndex:Ue,expandoStartIndex:ht,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 m?m():m,pipeRegistry:"function"==typeof y?y():y,firstChild:null,schemas:U,consts:Jt,incompleteFirstPass:!1}}function jp(t,i,n,o){const c=Jp(i);null===n?c.push(o):(c.push(n),t.firstCreatePass&&Xp(t).push(o,c.length-1))}function $p(t,i,n,o){for(let c in t)if(t.hasOwnProperty(c)){n=null===n?{}:n;const m=t[c];null===o?Zp(n,i,c,m):o.hasOwnProperty(c)&&Zp(n,i,o[c],m)}return n}function Zp(t,i,n,o){t.hasOwnProperty(n)?t[n].push(i,o):t[n]=[i,o]}function As(t,i,n,o,c,m,y,I){const U=ho(i,n);let Ue,ce=i.inputs;!I&&null!=ce&&(Ue=ce[o])?(Mm(t,n,Ue,o,c),co(i)&&function Ub(t,i){const n=Fo(i,t);16&n[w]||(n[w]|=32)}(n,i.index)):3&i.type&&(o=function zb(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(o),c=null!=y?y(c,i.value||"",o):c,m.setProperty(U,o,c))}function ym(t,i,n,o){if(Mt()){const c=null===o?null:{"":-1},m=function Wb(t,i){const n=t.directiveRegistry;let o=null,c=null;if(n)for(let m=0;m<n.length;m++){const y=n[m];if(mi(i,y.selectors,!1))if(o||(o=[]),rn(y))if(null!==y.findHostDirectiveDefs){const I=[];c=c||new Map,y.findHostDirectiveDefs(y,I,c),o.unshift(...I,y),xm(t,i,I.length)}else o.unshift(y),xm(t,i,0);else c=c||new Map,y.findHostDirectiveDefs?.(y,o,c),o.push(y)}return null===o?null:[o,c]}(t,n);let y,I;null===m?y=I=null:[y,I]=m,null!==y&&Wp(t,i,n,y,c,I),c&&function Kb(t,i,n){if(i){const o=t.localNames=[];for(let c=0;c<i.length;c+=2){const m=n[i[c+1]];if(null==m)throw new Re(-301,!1);o.push(i[c],m)}}}(n,o,c)}n.mergedAttrs=Ji(n.mergedAttrs,n.attrs)}function Wp(t,i,n,o,c,m){for(let ce=0;ce<o.length;ce++)No(hr(n,i),t,o[ce].type);!function Jb(t,i,n){t.flags|=1,t.directiveStart=i,t.directiveEnd=i+n,t.providerIndexes=i}(n,t.data.length,o.length);for(let ce=0;ce<o.length;ce++){const Ue=o[ce];Ue.providersResolver&&Ue.providersResolver(Ue)}let y=!1,I=!1,U=Zu(t,i,o.length,null);for(let ce=0;ce<o.length;ce++){const Ue=o[ce];n.mergedAttrs=Ji(n.mergedAttrs,Ue.hostAttrs),Xb(t,n,i,U,Ue),Qb(U,Ue,c),null!==Ue.contentQueries&&(n.flags|=4),(null!==Ue.hostBindings||null!==Ue.hostAttrs||0!==Ue.hostVars)&&(n.flags|=64);const ht=Ue.type.prototype;!y&&(ht.ngOnChanges||ht.ngOnInit||ht.ngDoCheck)&&((t.preOrderHooks??(t.preOrderHooks=[])).push(n.index),y=!0),!I&&(ht.ngOnChanges||ht.ngDoCheck)&&((t.preOrderCheckHooks??(t.preOrderCheckHooks=[])).push(n.index),I=!0),U++}!function Hb(t,i,n){const c=i.directiveEnd,m=t.data,y=i.attrs,I=[];let U=null,ce=null;for(let Ue=i.directiveStart;Ue<c;Ue++){const ht=m[Ue],Ft=n?n.get(ht):null,di=Ft?Ft.outputs:null;U=$p(ht.inputs,Ue,U,Ft?Ft.inputs:null),ce=$p(ht.outputs,Ue,ce,di);const xi=null===U||null===y||k(i)?null:tv(U,Ue,y);I.push(xi)}null!==U&&(U.hasOwnProperty("class")&&(i.flags|=8),U.hasOwnProperty("style")&&(i.flags|=16)),i.initialInputs=I,i.inputs=U,i.outputs=ce}(t,n,m)}function Kp(t,i,n){const o=n.directiveStart,c=n.directiveEnd,m=n.index,y=function Js(){return Ki.lFrame.currentDirectiveIndex}();try{Zt(m);for(let I=o;I<c;I++){const U=t.data[I],ce=i[I];Fr(I),(null!==U.hostBindings||0!==U.hostVars||null!==U.hostAttrs)&&Zb(U,ce)}}finally{Zt(-1),Fr(y)}}function Zb(t,i){null!==t.hostBindings&&t.hostBindings(1,i)}function xm(t,i,n){i.componentOffset=n,(t.components??(t.components=[])).push(i.index)}function Qb(t,i,n){if(n){if(i.exportAs)for(let o=0;o<i.exportAs.length;o++)n[i.exportAs[o]]=t;rn(i)&&(n[""]=t)}}function Xb(t,i,n,o,c){t.data[o]=c;const m=c.factory||(c.factory=bo(c.type)),y=new ut(m,rn(c),kd);t.blueprint[o]=y,n[o]=y,function Gb(t,i,n,o,c){const m=c.hostBindings;if(m){let y=t.hostBindingOpCodes;null===y&&(y=t.hostBindingOpCodes=[]);const I=~i.index;(function jb(t){let i=t.length;for(;i>0;){const n=t[--i];if("number"==typeof n&&n<0)return n}return 0})(y)!=I&&y.push(I),y.push(n,o,m)}}(t,i,o,Zu(t,n,c.hostVars,Ui),c)}function Ra(t,i,n,o,c,m){const y=ho(t,i);!function wm(t,i,n,o,c,m,y){if(null==m)t.removeAttribute(i,c,n);else{const I=null==y?Me(m):y(m,o||"",c);t.setAttribute(i,c,I,n)}}(i[Li],y,m,t.value,n,o,c)}function ev(t,i,n,o,c,m){const y=m[i];if(null!==y){const I=o.setInput;for(let U=0;U<y.length;){const ce=y[U++],Ue=y[U++],ht=y[U++];null!==I?o.setInput(n,ht,ce,Ue):n[Ue]=ht}}}function tv(t,i,n){let o=null,c=0;for(;c<n.length;){const m=n[c];if(0!==m)if(5!==m){if("number"==typeof m)break;if(t.hasOwnProperty(m)){null===o&&(o=[]);const y=t[m];for(let I=0;I<y.length;I+=2)if(y[I]===i){o.push(m,y[I+1],n[c+1]);break}}c+=2}else c+=2;else c+=4}return o}function Qp(t,i,n,o){return[t,!0,!1,i,null,0,o,n,null,null]}function ov(t,i){const n=Fo(i,t);if(ir(n)){const o=n[xt];48&n[w]?Ah(o,n,o.template,n[Yi]):n[Xe]>0&&Cm(n)}}function Cm(t){for(let o=fl(t);null!==o;o=Wl(o))for(let c=jn;c<o.length;c++){const m=o[c];if(ir(m))if(512&m[w]){const y=m[xt];Ah(y,m,y.template,m[Yi])}else m[Xe]>0&&Cm(m)}const n=t[xt].components;if(null!==n)for(let o=0;o<n.length;o++){const c=Fo(n[o],t);ir(c)&&c[Xe]>0&&Cm(c)}}function rv(t,i){const n=Fo(i,t),o=n[xt];(function sv(t,i){for(let n=i.length;n<t.blueprint.length;n++)i.push(t.blueprint[n])})(o,n),fm(o,n,n[Yi])}function Ih(t,i){return t[Gn]?t[To][Ie]=i:t[Gn]=i,t[To]=i,i}function Oh(t){for(;t;){t[w]|=32;const i=In(t);if(fo(t)&&!i)return t;t=i}return null}function Rh(t,i,n,o=!0){const c=i[Tn];c.begin&&c.begin();try{Ah(t,i,t.template,n)}catch(y){throw o&&ef(i,y),y}finally{c.end&&c.end()}}function Dm(t,i,n){os(0),i(t,n)}function Jp(t){return t[Ei]||(t[Ei]=[])}function Xp(t){return t.cleanup||(t.cleanup=[])}function qp(t,i,n){return(null===t||rn(t))&&(n=function Po(t){for(;Array.isArray(t);){if("object"==typeof t[Ho])return t;t=t[at]}return null}(n[i.index])),n[Li]}function ef(t,i){const n=t[Mn],o=n?n.get(g,null):null;o&&o.handleError(i)}function Mm(t,i,n,o,c){for(let m=0;m<n.length;){const y=n[m++],I=n[m++],U=i[y],ce=t.data[y];null!==ce.setInput?ce.setInput(U,c,o,I):U[I]=c}}function al(t,i,n){const o=Co(i,t);!function $a(t,i,n){t.setValue(i,n)}(t[Li],o,n)}function Ph(t,i,n){let o=n?t.styles:null,c=n?t.classes:null,m=0;if(null!==i)for(let y=0;y<i.length;y++){const I=i[y];"number"==typeof I?m=I:1==m?c=Ee(c,I):2==m&&(o=Ee(o,I+": "+i[++y]+";"))}n?t.styles=o:t.stylesWithoutHost=o,n?t.classes=c:t.classesWithoutHost=c}function Fh(t,i,n,o,c=!1){for(;null!==n;){const m=i[n.index];if(null!==m&&o.push(Ln(m)),lo(m))for(let I=jn;I<m.length;I++){const U=m[I],ce=U[xt].firstChild;null!==ce&&Fh(U[xt],U,ce,o)}const y=n.type;if(8&y)Fh(t,i,n.child,o);else if(32&y){const I=Zl(n,i);let U;for(;U=I();)o.push(U)}else if(16&y){const I=Gc(i,n);if(Array.isArray(I))o.push(...I);else{const U=In(i[Hn]);Fh(U[xt],U,I,o,!0)}}n=c?n.projectionNext:n.next}return o}class Wu{get rootNodes(){const i=this._lView,n=i[xt];return Fh(n,i,n.firstChild,[])}constructor(i,n){this._lView=i,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Yi]}set context(i){this._lView[Yi]=i}get destroyed(){return 128==(128&this._lView[w])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const i=this._lView[J];if(lo(i)){const n=i[gr],o=n?n.indexOf(this):-1;o>-1&&(Xl(i,o),Hs(n,o))}this._attachedToViewContainer=!1}ql(this._lView[xt],this._lView)}onDestroy(i){jp(this._lView[xt],this._lView,null,i)}markForCheck(){Oh(this._cdRefInjectingView||this._lView)}detach(){this._lView[w]&=-65}reattach(){this._lView[w]|=64}detectChanges(){Rh(this._lView[xt],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Re(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function uu(t,i){Qa(t,i,i[Li],2,null,null)}(this._lView[xt],this._lView)}attachToAppRef(i){if(this._attachedToViewContainer)throw new Re(902,!1);this._appRef=i}}class av extends Wu{constructor(i){super(i),this._view=i}detectChanges(){const i=this._view;Rh(i[xt],i,i[Yi],!1)}checkNoChanges(){}get context(){return null}}class tf extends nl{constructor(i){super(),this.ngModule=i}resolveComponentFactory(i){const n=gn(i);return new Ku(n,this.ngModule)}}function nf(t){const i=[];for(let n in t)t.hasOwnProperty(n)&&i.push({propName:t[n],templateName:n});return i}class cv{constructor(i,n){this.injector=i,this.parentInjector=n}get(i,n,o){o=se(o);const c=this.injector.get(i,_c,o);return c!==_c||n===_c?c:this.parentInjector.get(i,n,o)}}class Ku extends Dd{get inputs(){return nf(this.componentDef.inputs)}get outputs(){return nf(this.componentDef.outputs)}constructor(i,n){super(),this.componentDef=i,this.ngModule=n,this.componentType=i.type,this.selector=function Qn(t){return t.map(mo).join(",")}(i.selectors),this.ngContentSelectors=i.ngContentSelectors?i.ngContentSelectors:[],this.isBoundToModule=!!n}create(i,n,o,c){let m=(c=c||this.ngModule)instanceof Zs?c:c?.injector;m&&null!==this.componentDef.getStandaloneInjector&&(m=this.componentDef.getStandaloneInjector(m)||m);const y=m?new cv(i,m):i,I=y.get(Td,null);if(null===I)throw new Re(407,!1);const U=y.get(Eh,null),ce=I.createRenderer(null,this.componentDef),Ue=this.componentDef.selectors[0][0]||"div",ht=o?function Bb(t,i,n){return t.selectRootElement(i,n===Si.ShadowDom)}(ce,o,this.componentDef.encapsulation):Ql(ce,Ue,function lv(t){const i=t.toLowerCase();return"svg"===i?Ur:"math"===i?"math":null}(Ue)),Ft=this.componentDef.onPush?288:272,Jt=vm(0,null,null,1,0,null,null,null,null,null),di=kh(null,Jt,null,Ft,null,null,I,ce,U,y,null);let xi,Pi;ps(di);try{const ji=this.componentDef;let cn,pi=null;ji.findHostDirectiveDefs?(cn=[],pi=new Map,ji.findHostDirectiveDefs(ji,cn,pi),cn.push(ji)):cn=[ji];const xn=function uv(t,i){const n=t[xt],o=_n;return t[o]=i,Ad(n,o,2,"#host",null)}(di,ht),Vo=function hv(t,i,n,o,c,m,y,I){const U=c[xt];!function mv(t,i,n,o){for(const c of t)i.mergedAttrs=Ji(i.mergedAttrs,c.hostAttrs);null!==i.mergedAttrs&&(Ph(i,i.mergedAttrs,!0),null!==n&&Ja(o,n,i))}(o,t,i,y);const ce=m.createRenderer(i,n),Ue=kh(c,Gp(n),null,n.onPush?32:16,c[t.index],t,m,ce,I||null,null,null);return U.firstCreatePass&&xm(U,t,o.length-1),Ih(c,Ue),c[t.index]=Ue}(xn,ht,ji,cn,di,I,ce);Pi=yr(Jt,_n),ht&&function fv(t,i,n,o){if(o)fi(t,n,["ng-version",ju.full]);else{const{attrs:c,classes:m}=function po(t){const i=[],n=[];let o=1,c=2;for(;o<t.length;){let m=t[o];if("string"==typeof m)2===c?""!==m&&i.push(m,t[++o]):8===c&&n.push(m);else{if(!Tt(c))break;c=m}o++}return{attrs:i,classes:n}}(i.selectors[0]);c&&fi(t,n,c),m&&m.length>0&&oc(t,n,m.join(" "))}}(ce,ji,ht,o),void 0!==n&&function gv(t,i,n){const o=t.projection=[];for(let c=0;c<i.length;c++){const m=n[c];o.push(null!=m?Array.from(m):null)}}(Pi,this.ngContentSelectors,n),xi=function pv(t,i,n,o,c,m){const y=eo(),I=c[xt],U=ho(y,c);Wp(I,c,y,n,null,o);for(let Ue=0;Ue<n.length;Ue++)Mo(rs(c,I,y.directiveStart+Ue,y),c);Kp(I,c,y),U&&Mo(U,c);const ce=rs(c,I,y.directiveStart+y.componentOffset,y);if(t[Yi]=c[Yi]=ce,null!==m)for(const Ue of m)Ue(ce,i);return gm(I,y,t),ce}(Vo,ji,cn,pi,di,[_v]),fm(Jt,di,null)}finally{ye()}return new dv(this.componentType,xi,Ia(Pi,di),di,Pi)}}class dv extends Cd{constructor(i,n,o,c,m){super(),this.location=o,this._rootLView=c,this._tNode=m,this.instance=n,this.hostView=this.changeDetectorRef=new av(c),this.componentType=i}setInput(i,n){const o=this._tNode.inputs;let c;if(null!==o&&(c=o[i])){const m=this._rootLView;Mm(m[xt],m,c,i,n),Oh(Fo(this._tNode.index,m))}}get injector(){return new $r(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(i){this.hostView.onDestroy(i)}}function _v(){const t=eo();Dn(ni()[xt],t)}function Tm(t){let i=function rf(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),n=!0;const o=[t];for(;i;){let c;if(rn(t))c=i.\u0275cmp||i.\u0275dir;else{if(i.\u0275cmp)throw new Re(903,!1);c=i.\u0275dir}if(c){if(n){o.push(c);const y=t;y.inputs=Em(t.inputs),y.declaredInputs=Em(t.declaredInputs),y.outputs=Em(t.outputs);const I=c.hostBindings;I&&xv(t,I);const U=c.viewQuery,ce=c.contentQueries;if(U&&vv(t,U),ce&&yv(t,ce),X(t.inputs,c.inputs),X(t.declaredInputs,c.declaredInputs),X(t.outputs,c.outputs),rn(c)&&c.data.animation){const Ue=t.data;Ue.animation=(Ue.animation||[]).concat(c.data.animation)}}const m=c.features;if(m)for(let y=0;y<m.length;y++){const I=m[y];I&&I.ngInherit&&I(t),I===Tm&&(n=!1)}}i=Object.getPrototypeOf(i)}!function bv(t){let i=0,n=null;for(let o=t.length-1;o>=0;o--){const c=t[o];c.hostVars=i+=c.hostVars,c.hostAttrs=Ji(c.hostAttrs,n=Ji(n,c.hostAttrs))}}(o)}function Em(t){return t===Fi?{}:t===vi?[]:t}function vv(t,i){const n=t.viewQuery;t.viewQuery=n?(o,c)=>{i(o,c),n(o,c)}:i}function yv(t,i){const n=t.contentQueries;t.contentQueries=n?(o,c,m)=>{i(o,c,m),n(o,c,m)}:i}function xv(t,i){const n=t.hostBindings;t.hostBindings=n?(o,c)=>{i(o,c),n(o,c)}:i}function Lh(t){return!!Sm(t)&&(Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t)}function Sm(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function Pa(t,i,n){return t[i]=n}function Qu(t,i){return t[i]}function Qr(t,i,n){return!Object.is(t[i],n)&&(t[i]=n,!0)}function xc(t,i,n,o){const c=Qr(t,i,n);return Qr(t,i+1,o)||c}function Nh(t,i,n,o,c){const m=xc(t,i,n,o);return Qr(t,i+2,c)||m}function Ws(t,i,n,o,c,m){const y=xc(t,i,n,o);return xc(t,i+2,c,m)||y}function km(t,i,n,o){const c=ni();return Qr(c,Pr(),i)&&(pn(),Ra(qt(),c,t,i,n,o)),km}function Od(t,i,n,o){return Qr(t,Pr(),n)?i+Me(n)+o:Ui}function Rd(t,i,n,o,c,m){const I=xc(t,Yo(),n,c);return kr(2),I?i+Me(n)+o+Me(c)+m:Ui}function Pd(t,i,n,o,c,m,y,I){const ce=Nh(t,Yo(),n,c,y);return kr(3),ce?i+Me(n)+o+Me(c)+m+Me(y)+I:Ui}function bf(t,i,n,o,c,m,y,I){const U=ni(),ce=pn(),Ue=t+_n,ht=ce.firstCreatePass?function Iv(t,i,n,o,c,m,y,I,U){const ce=i.consts,Ue=Ad(i,t,4,y||null,zo(ce,I));ym(i,n,Ue,zo(ce,U)),Dn(i,Ue);const ht=Ue.tView=vm(2,Ue,o,c,m,i.directiveRegistry,i.pipeRegistry,null,i.schemas,ce);return null!==i.queries&&(i.queries.template(i,Ue),ht.queries=i.queries.embeddedTView(Ue)),Ue}(Ue,ce,U,i,n,o,c,m,y):ce.data[Ue];nr(ht,!1);const Ft=U[Li].createComment("");Wa(ce,U,Ft,ht),Mo(Ft,U),Ih(U,U[Ue]=Qp(Ft,U,Ft,ht)),_i(ht)&&_m(ce,U,ht),null!=y&&bm(U,ht,I)}function vf(t){return cr(function Ba(){return Ki.lFrame.contextLView}(),_n+t)}function Am(t,i,n){const o=ni();return Qr(o,Pr(),i)&&As(pn(),qt(),o,t,i,o[Li],n,!1),Am}function Im(t,i,n,o,c){const y=c?"class":"style";Mm(t,n,i.inputs[y],y,o)}function Bh(t,i,n,o){const c=ni(),m=pn(),y=_n+t,I=c[Li],U=m.firstCreatePass?function Rv(t,i,n,o,c,m){const y=i.consts,U=Ad(i,t,2,o,zo(y,c));return ym(i,n,U,zo(y,m)),null!==U.attrs&&Ph(U,U.attrs,!1),null!==U.mergedAttrs&&Ph(U,U.mergedAttrs,!0),null!==i.queries&&i.queries.elementStart(i,U),U}(y,m,c,i,n,o):m.data[y],ce=c[y]=Ql(I,i,function Zi(){return Ki.lFrame.currentNamespace}()),Ue=_i(U);return nr(U,!0),Ja(I,ce,U),32!=(32&U.flags)&&Wa(m,c,ce,U),0===function Q(){return Ki.lFrame.elementDepthCount}()&&Mo(ce,c),function V(){Ki.lFrame.elementDepthCount++}(),Ue&&(_m(m,c,U),gm(m,U,c)),null!==o&&bm(c,U),Bh}function Vh(){let t=eo();Is()?Qs():(t=t.parent,nr(t,!1));const i=t;!function Ne(){Ki.lFrame.elementDepthCount--}();const n=pn();return n.firstCreatePass&&(Dn(n,t),qo(t)&&n.queries.elementEnd(t)),null!=i.classesWithoutHost&&function Sn(t){return 0!=(8&t.flags)}(i)&&Im(n,i,ni(),i.classesWithoutHost,!0),null!=i.stylesWithoutHost&&function en(t){return 0!=(16&t.flags)}(i)&&Im(n,i,ni(),i.stylesWithoutHost,!1),Vh}function Om(t,i,n,o){return Bh(t,i,n,o),Vh(),Om}function Hh(t,i,n){const o=ni(),c=pn(),m=t+_n,y=c.firstCreatePass?function Pv(t,i,n,o,c){const m=i.consts,y=zo(m,o),I=Ad(i,t,8,"ng-container",y);return null!==y&&Ph(I,y,!0),ym(i,n,I,zo(m,c)),null!==i.queries&&i.queries.elementStart(i,I),I}(m,c,o,i,n):c.data[m];nr(y,!0);const I=o[m]=o[Li].createComment("");return Wa(c,o,I,y),Mo(I,o),_i(y)&&(_m(c,o,y),gm(c,y,o)),null!=n&&bm(o,y),Hh}function zh(){let t=eo();const i=pn();return Is()?Qs():(t=t.parent,nr(t,!1)),i.firstCreatePass&&(Dn(i,t),qo(t)&&i.queries.elementEnd(t)),zh}function Rm(t,i,n){return Hh(t,i,n),zh(),Rm}function yf(){return ni()}function Pm(t){return!!t&&"function"==typeof t.then}function xf(t){return!!t&&"function"==typeof t.subscribe}const wf=xf;function Fm(t,i,n,o){const c=ni(),m=pn(),y=eo();return Cf(m,c,c[Li],y,t,i,o),Fm}function Lm(t,i){const n=eo(),o=ni(),c=pn();return Cf(c,o,qp(xr(c.data),n,o),n,t,i),Lm}function Cf(t,i,n,o,c,m,y){const I=_i(o),ce=t.firstCreatePass&&Xp(t),Ue=i[Yi],ht=Jp(i);let Ft=!0;if(3&o.type||y){const xi=ho(o,i),Pi=y?y(xi):xi,ji=ht.length,cn=y?xn=>y(Ln(xn[o.index])):o.index;let pi=null;if(!y&&I&&(pi=function Fv(t,i,n,o){const c=t.cleanup;if(null!=c)for(let m=0;m<c.length-1;m+=2){const y=c[m];if(y===n&&c[m+1]===o){const I=i[Ei],U=c[m+2];return I.length>U?I[U]:null}"string"==typeof y&&(m+=2)}return null}(t,i,c,o.index)),null!==pi)(pi.__ngLastListenerFn__||pi).__ngNextListenerFn__=m,pi.__ngLastListenerFn__=m,Ft=!1;else{m=Mf(o,i,Ue,m,!1);const xn=n.listen(Pi,c,m);ht.push(m,xn),ce&&ce.push(c,cn,ji,ji+1)}}else m=Mf(o,i,Ue,m,!1);const Jt=o.outputs;let di;if(Ft&&null!==Jt&&(di=Jt[c])){const xi=di.length;if(xi)for(let Pi=0;Pi<xi;Pi+=2){const Vo=i[di[Pi]][di[Pi+1]].subscribe(m),ar=ht.length;ht.push(m,Vo),ce&&ce.push(c,o.index,ar,-(ar+1))}}}function Df(t,i,n,o){try{return no(6,i,n),!1!==n(o)}catch(c){return ef(t,c),!1}finally{no(7,i,n)}}function Mf(t,i,n,o,c){return function m(y){if(y===Function)return o;Oh(t.componentOffset>-1?Fo(t.index,i):i);let U=Df(i,n,o,y),ce=m.__ngNextListenerFn__;for(;ce;)U=Df(i,n,ce,y)&&U,ce=ce.__ngNextListenerFn__;return c&&!1===U&&(y.preventDefault(),y.returnValue=!1),U}}function Tf(t=1){return function tt(t){return(Ki.lFrame.contextLView=function Dt(t,i){for(;t>0;)i=i[$o],t--;return i}(t,Ki.lFrame.contextLView))[Yi]}(t)}function Lv(t,i){let n=null;const o=function Ri(t){const i=t.attrs;if(null!=i){const n=i.indexOf(5);if(!(1&n))return i[n+1]}return null}(t);for(let c=0;c<i.length;c++){const m=i[c];if("*"!==m){if(null===o?mi(t,m,!0):Bi(o,m))return c}else n=c}return n}function Ef(t){const i=ni()[Hn][ei];if(!i.projection){const o=i.projection=M(t?t.length:1,null),c=o.slice();let m=i.child;for(;null!==m;){const y=t?Lv(m,t):0;null!==y&&(c[y]?c[y].projectionNext=m:o[y]=m,c[y]=m),m=m.next}}}function Sf(t,i=0,n){const o=ni(),c=pn(),m=Ad(c,_n+t,16,null,n||null);null===m.projection&&(m.projection=i),Qs(),32!=(32&m.flags)&&function fu(t,i,n){Cl(i[Li],0,i,n,ec(t,n,i),Za(n.parent||i[ei],n,i))}(c,o,m)}function Nm(t,i,n){return Uh(t,"",i,"",n),Nm}function Uh(t,i,n,o,c){const m=ni(),y=Od(m,i,n,o);return y!==Ui&&As(pn(),qt(),m,t,y,m[Li],c,!1),Uh}function Bm(t,i,n,o,c,m,y){const I=ni(),U=Rd(I,i,n,o,c,m);return U!==Ui&&As(pn(),qt(),I,t,U,I[Li],y,!1),Bm}function Vm(t,i,n,o,c,m,y,I,U){const ce=ni(),Ue=Pd(ce,i,n,o,c,m,y,I);return Ue!==Ui&&As(pn(),qt(),ce,t,Ue,ce[Li],U,!1),Vm}function Yh(t,i){return t<<17|i<<2}function Fl(t){return t>>17&32767}function Hm(t){return 2|t}function wc(t){return(131068&t)>>2}function zm(t,i){return-131069&t|i<<2}function Um(t){return 1|t}function Ff(t,i,n,o,c){const m=t[n+1],y=null===i;let I=o?Fl(m):wc(m),U=!1;for(;0!==I&&(!1===U||y);){const Ue=t[I+1];Uv(t[I],i)&&(U=!0,t[I+1]=o?Um(Ue):Hm(Ue)),I=o?Fl(Ue):wc(Ue)}U&&(t[n+1]=o?Hm(m):Um(m))}function Uv(t,i){return null===t||null==i||(Array.isArray(t)?t[1]:t)===i||!(!Array.isArray(t)||"string"!=typeof i)&&Bt(t,i)>=0}const Cr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Lf(t){return t.substring(Cr.key,Cr.keyEnd)}function Nf(t,i){const n=Cr.textEnd;return n===i?-1:(i=Cr.keyEnd=function $v(t,i,n){for(;i<n&&t.charCodeAt(i)>32;)i++;return i}(t,Cr.key=i,n),Hd(t,i,n))}function Hd(t,i,n){for(;i<n&&t.charCodeAt(i)<=32;)i++;return i}function Ym(t,i,n){return ua(t,i,n,!1),Ym}function Gm(t,i){return ua(t,i,null,!0),Gm}function Uf(t){ha(t0,La,t,!0)}function La(t,i){for(let n=function Gv(t){return function Vf(t){Cr.key=0,Cr.keyEnd=0,Cr.value=0,Cr.valueEnd=0,Cr.textEnd=t.length}(t),Nf(t,Hd(t,0,Cr.textEnd))}(i);n>=0;n=Nf(i,n))Ce(t,Lf(i),!0)}function ua(t,i,n,o){const c=ni(),m=pn(),y=kr(2);m.firstUpdatePass&&Gf(m,t,y,o),i!==Ui&&Qr(c,y,i)&&$f(m,m.data[Ct()],c,c[Li],t,c[y+1]=function o0(t,i){return null==t||""===t||("string"==typeof i?t+=i:"object"==typeof t&&(t=q(js(t)))),t}(i,n),o,y)}function ha(t,i,n,o){const c=pn(),m=kr(2);c.firstUpdatePass&&Gf(c,null,m,o);const y=ni();if(n!==Ui&&Qr(y,m,n)){const I=c.data[Ct()];if(Wf(I,o)&&!Yf(c,m)){let U=o?I.classesWithoutHost:I.stylesWithoutHost;null!==U&&(n=Ee(U,n||"")),Im(c,I,y,n,o)}else!function n0(t,i,n,o,c,m,y,I){c===Ui&&(c=vi);let U=0,ce=0,Ue=0<c.length?c[0]:null,ht=0<m.length?m[0]:null;for(;null!==Ue||null!==ht;){const Ft=U<c.length?c[U+1]:void 0,Jt=ce<m.length?m[ce+1]:void 0;let xi,di=null;Ue===ht?(U+=2,ce+=2,Ft!==Jt&&(di=ht,xi=Jt)):null===ht||null!==Ue&&Ue<ht?(U+=2,di=Ue):(ce+=2,di=ht,xi=Jt),null!==di&&$f(t,i,n,o,di,xi,y,I),Ue=U<c.length?c[U]:null,ht=ce<m.length?m[ce]:null}}(c,I,y,y[Li],y[m+1],y[m+1]=function e0(t,i,n){if(null==n||""===n)return vi;const o=[],c=js(n);if(Array.isArray(c))for(let m=0;m<c.length;m++)t(o,c[m],!0);else if("object"==typeof c)for(const m in c)c.hasOwnProperty(m)&&t(o,m,c[m]);else"string"==typeof c&&i(o,c);return o}(t,i,n),o,m)}}function Yf(t,i){return i>=t.expandoStartIndex}function Gf(t,i,n,o){const c=t.data;if(null===c[n+1]){const m=c[Ct()],y=Yf(t,n);Wf(m,o)&&null===i&&!y&&(i=!1),i=function Qv(t,i,n,o){const c=xr(t);let m=o?i.residualClasses:i.residualStyles;if(null===c)0===(o?i.classBindings:i.styleBindings)&&(n=Ju(n=jm(null,t,i,n,o),i.attrs,o),m=null);else{const y=i.directiveStylingLast;if(-1===y||t[y]!==c)if(n=jm(c,t,i,n,o),null===m){let U=function Jv(t,i,n){const o=n?i.classBindings:i.styleBindings;if(0!==wc(o))return t[Fl(o)]}(t,i,o);void 0!==U&&Array.isArray(U)&&(U=jm(null,t,i,U[1],o),U=Ju(U,i.attrs,o),function Xv(t,i,n,o){t[Fl(n?i.classBindings:i.styleBindings)]=o}(t,i,o,U))}else m=function qv(t,i,n){let o;const c=i.directiveEnd;for(let m=1+i.directiveStylingLast;m<c;m++)o=Ju(o,t[m].hostAttrs,n);return Ju(o,i.attrs,n)}(t,i,o)}return void 0!==m&&(o?i.residualClasses=m:i.residualStyles=m),n}(c,m,i,o),function Hv(t,i,n,o,c,m){let y=m?i.classBindings:i.styleBindings,I=Fl(y),U=wc(y);t[o]=n;let Ue,ce=!1;if(Array.isArray(n)?(Ue=n[1],(null===Ue||Bt(n,Ue)>0)&&(ce=!0)):Ue=n,c)if(0!==U){const Ft=Fl(t[I+1]);t[o+1]=Yh(Ft,I),0!==Ft&&(t[Ft+1]=zm(t[Ft+1],o)),t[I+1]=function Bv(t,i){return 131071&t|i<<17}(t[I+1],o)}else t[o+1]=Yh(I,0),0!==I&&(t[I+1]=zm(t[I+1],o)),I=o;else t[o+1]=Yh(U,0),0===I?I=o:t[U+1]=zm(t[U+1],o),U=o;ce&&(t[o+1]=Hm(t[o+1])),Ff(t,Ue,o,!0),Ff(t,Ue,o,!1),function zv(t,i,n,o,c){const m=c?t.residualClasses:t.residualStyles;null!=m&&"string"==typeof i&&Bt(m,i)>=0&&(n[o+1]=Um(n[o+1]))}(i,Ue,t,o,m),y=Yh(I,U),m?i.classBindings=y:i.styleBindings=y}(c,m,i,n,y,o)}}function jm(t,i,n,o,c){let m=null;const y=n.directiveEnd;let I=n.directiveStylingLast;for(-1===I?I=n.directiveStart:I++;I<y&&(m=i[I],o=Ju(o,m.hostAttrs,c),m!==t);)I++;return null!==t&&(n.directiveStylingLast=I),o}function Ju(t,i,n){const o=n?1:2;let c=-1;if(null!==i)for(let m=0;m<i.length;m++){const y=i[m];"number"==typeof y?c=y:c===o&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),Ce(t,y,!!n||i[++m]))}return void 0===t?null:t}function t0(t,i,n){const o=String(i);""!==o&&!o.includes(" ")&&Ce(t,o,n)}function $f(t,i,n,o,c,m,y,I){if(!(3&i.type))return;const U=t.data,ce=U[I+1],Ue=function Vv(t){return 1==(1&t)}(ce)?Zf(U,i,n,c,wc(ce),y):void 0;Gh(Ue)||(Gh(m)||function Nv(t){return 2==(2&t)}(ce)&&(m=Zf(U,null,n,c,I,y)),function jc(t,i,n,o,c){if(i)c?t.addClass(n,o):t.removeClass(n,o);else{let m=-1===o.indexOf("-")?void 0:fs.DashCase;null==c?t.removeStyle(n,o,m):("string"==typeof c&&c.endsWith("!important")&&(c=c.slice(0,-10),m|=fs.Important),t.setStyle(n,o,c,m))}}(o,y,Co(Ct(),n),c,m))}function Zf(t,i,n,o,c,m){const y=null===i;let I;for(;c>0;){const U=t[c],ce=Array.isArray(U),Ue=ce?U[1]:U,ht=null===Ue;let Ft=n[c+1];Ft===Ui&&(Ft=ht?vi:void 0);let Jt=ht?$e(Ft,o):Ue===o?Ft:void 0;if(ce&&!Gh(Jt)&&(Jt=$e(U,o)),Gh(Jt)&&(I=Jt,y))return I;const di=t[c+1];c=y?Fl(di):wc(di)}if(null!==i){let U=m?i.residualClasses:i.residualStyles;null!=U&&(I=$e(U,o))}return I}function Gh(t){return void 0!==t}function Wf(t,i){return 0!=(t.flags&(i?8:16))}function Kf(t,i=""){const n=ni(),o=pn(),c=t+_n,m=o.firstCreatePass?Ad(o,c,1,i,null):o.data[c],y=n[c]=function gl(t,i){return t.createText(i)}(n[Li],i);Wa(o,n,y,m),nr(m,!1)}function $m(t){return jh("",t,""),$m}function jh(t,i,n){const o=ni(),c=Od(o,t,i,n);return c!==Ui&&al(o,Ct(),c),jh}function Zm(t,i,n,o,c){const m=ni(),y=Rd(m,t,i,n,o,c);return y!==Ui&&al(m,Ct(),y),Zm}function Wm(t,i,n,o,c,m,y){const I=ni(),U=Pd(I,t,i,n,o,c,m,y);return U!==Ui&&al(I,Ct(),U),Wm}function Km(t,i,n,o,c,m,y,I,U){const ce=ni(),Ue=function Fd(t,i,n,o,c,m,y,I,U,ce){const ht=Ws(t,Yo(),n,c,y,U);return kr(4),ht?i+Me(n)+o+Me(c)+m+Me(y)+I+Me(U)+ce:Ui}(ce,t,i,n,o,c,m,y,I,U);return Ue!==Ui&&al(ce,Ct(),Ue),Km}function tg(t,i,n){ha(Ce,La,Od(ni(),t,i,n),!0)}function Qm(t,i,n){const o=ni();return Qr(o,Pr(),i)&&As(pn(),qt(),o,t,i,o[Li],n,!0),Qm}function Jm(t,i,n){const o=ni();if(Qr(o,Pr(),i)){const m=pn(),y=qt();As(m,y,o,t,i,qp(xr(m.data),y,o),n,!0)}return Jm}const Cc=void 0;var C0=["en",[["a","p"],["AM","PM"],Cc],[["AM","PM"],Cc,Cc],[["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"]],Cc,[["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"]],Cc,[["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}",Cc,"{1} 'at' {0}",Cc],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function w0(t){const n=Math.floor(Math.abs(t)),o=t.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===o?1:5}];let zd={};function D0(t,i,n){"string"!=typeof i&&(n=i,i=t[on.LocaleId]),i=i.toLowerCase().replace(/_/g,"-"),zd[i]=t,n&&(zd[i][on.ExtraData]=n)}function Xm(t){const i=function M0(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=hg(i);if(n)return n;const o=i.split("-")[0];if(n=hg(o),n)return n;if("en"===o)return C0;throw new Re(701,!1)}function ug(t){return Xm(t)[on.PluralCase]}function hg(t){return t in zd||(zd[t]=wt.ng&&wt.ng.common&&wt.ng.common.locales&&wt.ng.common.locales[t]),zd[t]}var on=(()=>((on=on||{})[on.LocaleId=0]="LocaleId",on[on.DayPeriodsFormat=1]="DayPeriodsFormat",on[on.DayPeriodsStandalone=2]="DayPeriodsStandalone",on[on.DaysFormat=3]="DaysFormat",on[on.DaysStandalone=4]="DaysStandalone",on[on.MonthsFormat=5]="MonthsFormat",on[on.MonthsStandalone=6]="MonthsStandalone",on[on.Eras=7]="Eras",on[on.FirstDayOfWeek=8]="FirstDayOfWeek",on[on.WeekendRange=9]="WeekendRange",on[on.DateFormat=10]="DateFormat",on[on.TimeFormat=11]="TimeFormat",on[on.DateTimeFormat=12]="DateTimeFormat",on[on.NumberSymbols=13]="NumberSymbols",on[on.NumberFormats=14]="NumberFormats",on[on.CurrencyCode=15]="CurrencyCode",on[on.CurrencySymbol=16]="CurrencySymbol",on[on.CurrencyName=17]="CurrencyName",on[on.Currencies=18]="Currencies",on[on.Directionality=19]="Directionality",on[on.PluralCase=20]="PluralCase",on[on.ExtraData=21]="ExtraData",on))();const Ud="en-US";let mg=Ud;function tp(t,i,n,o,c){if(t=he(t),Array.isArray(t))for(let m=0;m<t.length;m++)tp(t[m],i,n,o,c);else{const m=pn(),y=ni();let I=ca(t)?t:he(t.provide),U=fc(t);const ce=eo(),Ue=1048575&ce.providerIndexes,ht=ce.directiveStart,Ft=ce.providerIndexes>>20;if(ca(t)||!t.multi){const Jt=new ut(U,c,kd),di=np(I,i,c?Ue:Ue+Ft,ht);-1===di?(No(hr(ce,y),m,I),ip(m,t,i.length),i.push(I),ce.directiveStart++,ce.directiveEnd++,c&&(ce.providerIndexes+=1048576),n.push(Jt),y.push(Jt)):(n[di]=Jt,y[di]=Jt)}else{const Jt=np(I,i,Ue+Ft,ht),di=np(I,i,Ue,Ue+Ft),Pi=di>=0&&n[di];if(c&&!Pi||!c&&!(Jt>=0&&n[Jt])){No(hr(ce,y),m,I);const ji=function wy(t,i,n,o,c){const m=new ut(t,n,kd);return m.multi=[],m.index=i,m.componentProviders=0,Bg(m,c,o&&!n),m}(c?xy:yy,n.length,c,o,U);!c&&Pi&&(n[di].providerFactory=ji),ip(m,t,i.length,0),i.push(I),ce.directiveStart++,ce.directiveEnd++,c&&(ce.providerIndexes+=1048576),n.push(ji),y.push(ji)}else ip(m,t,Jt>-1?Jt:di,Bg(n[c?di:Jt],U,!c&&o));!c&&o&&Pi&&n[di].componentProviders++}}}function ip(t,i,n,o){const c=ca(i),m=function bd(t){return!!t.useClass}(i);if(c||m){const U=(m?he(i.useClass):i).prototype.ngOnDestroy;if(U){const ce=t.destroyHooks||(t.destroyHooks=[]);if(!c&&i.multi){const Ue=ce.indexOf(n);-1===Ue?ce.push(n,[o,U]):ce[Ue+1].push(o,U)}else ce.push(n,U)}}}function Bg(t,i,n){return n&&t.componentProviders++,t.multi.push(i)-1}function np(t,i,n,o){for(let c=n;c<o;c++)if(i[c]===t)return c;return-1}function yy(t,i,n,o){return op(this.multi,[])}function xy(t,i,n,o){const c=this.multi;let m;if(this.providerFactory){const y=this.providerFactory.componentProviders,I=rs(n,n[xt],this.providerFactory.index,o);m=I.slice(0,y),op(c,m);for(let U=y;U<I.length;U++)m.push(I[U])}else m=[],op(c,m);return m}function op(t,i){for(let n=0;n<t.length;n++)i.push((0,t[n])());return i}function Vg(t,i=[]){return n=>{n.providersResolver=(o,c)=>function vy(t,i,n){const o=pn();if(o.firstCreatePass){const c=rn(t);tp(n,o.data,o.blueprint,c,!0),tp(i,o.data,o.blueprint,c,!1)}}(o,c?c(t):t,i)}}class Yd{}class Hg{}function Cy(t,i){return new zg(t,i??null)}class zg extends Yd{constructor(i,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new tf(this);const o=Jn(i);this._bootstrapComponents=hi(o.bootstrap),this._r3Injector=Pp(i,n,[{provide:Yd,useValue:this},{provide:nl,useValue:this.componentFactoryResolver}],q(i),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(i)}get injector(){return this._r3Injector}destroy(){const i=this._r3Injector;!i.destroyed&&i.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(i){this.destroyCbs.push(i)}}class rp extends Hg{constructor(i){super(),this.moduleType=i}create(i){return new zg(this.moduleType,i)}}class Dy extends Yd{constructor(i,n,o){super(),this.componentFactoryResolver=new tf(this),this.instance=null;const c=new yd([...i,{provide:Yd,useValue:this},{provide:nl,useValue:this.componentFactoryResolver}],n||Ol(),o,new Set(["environment"]));this.injector=c,c.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(i){this.injector.onDestroy(i)}}function sp(t,i,n=null){return new Dy(t,i,n).injector}let My=(()=>{class t{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const o=pd(0,n.type),c=o.length>0?sp([o],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,c)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return t.\u0275prov=$({token:t,providedIn:"environment",factory:()=>new t(ke(Zs))}),t})();function Ug(t){t.getStandaloneInjector=i=>i.get(My).getOrCreateStandaloneInjector(t)}function Kg(t,i,n){const o=dn()+t,c=ni();return c[o]===Ui?Pa(c,o,n?i.call(n):i()):Qu(c,o)}function Qg(t,i,n,o){return i_(ni(),dn(),t,i,n,o)}function Jg(t,i,n,o,c){return n_(ni(),dn(),t,i,n,o,c)}function Xg(t,i,n,o,c,m){return o_(ni(),dn(),t,i,n,o,c,m)}function qg(t,i,n,o,c,m,y){return r_(ni(),dn(),t,i,n,o,c,m,y)}function e_(t,i,n,o,c,m,y,I){const U=dn()+t,ce=ni(),Ue=Ws(ce,U,n,o,c,m);return Qr(ce,U+4,y)||Ue?Pa(ce,U+5,I?i.call(I,n,o,c,m,y):i(n,o,c,m,y)):Qu(ce,U+5)}function t_(t,i,n,o,c,m,y,I,U){const ce=dn()+t,Ue=ni(),ht=Ws(Ue,ce,n,o,c,m);return xc(Ue,ce+4,y,I)||ht?Pa(Ue,ce+6,U?i.call(U,n,o,c,m,y,I):i(n,o,c,m,y,I)):Qu(Ue,ce+6)}function nh(t,i){const n=t[i];return n===Ui?void 0:n}function i_(t,i,n,o,c,m){const y=i+n;return Qr(t,y,c)?Pa(t,y+1,m?o.call(m,c):o(c)):nh(t,y+1)}function n_(t,i,n,o,c,m,y){const I=i+n;return xc(t,I,c,m)?Pa(t,I+2,y?o.call(y,c,m):o(c,m)):nh(t,I+2)}function o_(t,i,n,o,c,m,y,I){const U=i+n;return Nh(t,U,c,m,y)?Pa(t,U+3,I?o.call(I,c,m,y):o(c,m,y)):nh(t,U+3)}function r_(t,i,n,o,c,m,y,I,U){const ce=i+n;return Ws(t,ce,c,m,y,I)?Pa(t,ce+4,U?o.call(U,c,m,y,I):o(c,m,y,I)):nh(t,ce+4)}function a_(t,i){const n=pn();let o;const c=t+_n;n.firstCreatePass?(o=function Ny(t,i){if(i)for(let n=i.length-1;n>=0;n--){const o=i[n];if(t===o.name)return o}}(i,n.pipeRegistry),n.data[c]=o,o.onDestroy&&(n.destroyHooks??(n.destroyHooks=[])).push(c,o.onDestroy)):o=n.data[c];const m=o.factory||(o.factory=bo(o.type)),y=N(kd);try{const I=Ps(!1),U=m();return Ps(I),function Ov(t,i,n,o){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),i[n]=o}(n,ni(),c,U),U}finally{N(y)}}function l_(t,i,n){const o=t+_n,c=ni(),m=cr(c,o);return oh(c,o)?i_(c,dn(),i,m.transform,n,m):m.transform(n)}function c_(t,i,n,o){const c=t+_n,m=ni(),y=cr(m,c);return oh(m,c)?n_(m,dn(),i,y.transform,n,o,y):y.transform(n,o)}function d_(t,i,n,o,c){const m=t+_n,y=ni(),I=cr(y,m);return oh(y,m)?o_(y,dn(),i,I.transform,n,o,c,I):I.transform(n,o,c)}function u_(t,i,n,o,c,m){const y=t+_n,I=ni(),U=cr(I,y);return oh(I,y)?r_(I,dn(),i,U.transform,n,o,c,m,U):U.transform(n,o,c,m)}function h_(t,i,n){const o=t+_n,c=ni(),m=cr(c,o);return oh(c,o)?function s_(t,i,n,o,c,m){let y=i+n,I=!1;for(let U=0;U<c.length;U++)Qr(t,y++,c[U])&&(I=!0);return I?Pa(t,y,o.apply(m,c)):nh(t,y)}(c,dn(),i,m.transform,n,m):m.transform.apply(m,n)}function oh(t,i){return t[xt].data[i].pure}function lp(t){return i=>{setTimeout(t,void 0,i)}}const Na=class By extends e.x{constructor(i=!1){super(),this.__isAsync=i}emit(i){super.next(i)}subscribe(i,n,o){let c=i,m=n||(()=>null),y=o;if(i&&"object"==typeof i){const U=i;c=U.next?.bind(U),m=U.error?.bind(U),y=U.complete?.bind(U)}this.__isAsync&&(m=lp(m),c&&(c=lp(c)),y&&(y=lp(y)));const I=super.subscribe({next:c,error:m,complete:y});return i instanceof s.w0&&i.add(I),I}};function Vy(){return this._results[Symbol.iterator]()}class Qh{get changes(){return this._changes||(this._changes=new Na)}constructor(i=!1){this._emitDistinctChangesOnly=i,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=Qh.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=Vy)}get(i){return this._results[i]}map(i){return this._results.map(i)}filter(i){return this._results.filter(i)}find(i){return this._results.find(i)}reduce(i,n){return this._results.reduce(i,n)}forEach(i){this._results.forEach(i)}some(i){return this._results.some(i)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(i,n){const o=this;o.dirty=!1;const c=function An(t){return t.flat(Number.POSITIVE_INFINITY)}(i);(this._changesDetected=!function za(t,i,n){if(t.length!==i.length)return!1;for(let o=0;o<t.length;o++){let c=t[o],m=i[o];if(n&&(c=n(c),m=n(m)),m!==c)return!1}return!0}(o._results,c,n))&&(o._results=c,o.length=c.length,o.last=c[this.length-1],o.first=c[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let rh=(()=>{class t{}return t.__NG_ELEMENT_ID__=Uy,t})();const Hy=rh,zy=class extends Hy{constructor(i,n,o){super(),this._declarationLView=i,this._declarationTContainer=n,this.elementRef=o}createEmbeddedView(i,n){const o=this._declarationTContainer.tView,c=kh(this._declarationLView,o,i,16,null,o.declTNode,null,null,null,null,n||null);c[Dr]=this._declarationLView[this._declarationTContainer.index];const y=this._declarationLView[So];return null!==y&&(c[So]=y.createEmbeddedView(o)),fm(o,c,i),new Wu(c)}};function Uy(){return Jh(eo(),ni())}function Jh(t,i){return 4&t.type?new zy(i,t,Ia(t,i)):null}let Xh=(()=>{class t{}return t.__NG_ELEMENT_ID__=Yy,t})();function Yy(){return f_(eo(),ni())}const Gy=Xh,m_=class extends Gy{constructor(i,n,o){super(),this._lContainer=i,this._hostTNode=n,this._hostLView=o}get element(){return Ia(this._hostTNode,this._hostLView)}get injector(){return new $r(this._hostTNode,this._hostLView)}get parentInjector(){const i=ys(this._hostTNode,this._hostLView);if(zn(i)){const n=kn(i,this._hostLView),o=Wn(i);return new $r(n[xt].data[o+8],n)}return new $r(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(i){const n=p_(this._lContainer);return null!==n&&n[i]||null}get length(){return this._lContainer.length-jn}createEmbeddedView(i,n,o){let c,m;"number"==typeof o?c=o:null!=o&&(c=o.index,m=o.injector);const y=i.createEmbeddedView(n||{},m);return this.insert(y,c),y}createComponent(i,n,o,c,m){const y=i&&!function ls(t){return"function"==typeof t}(i);let I;if(y)I=n;else{const ht=n||{};I=ht.index,o=ht.injector,c=ht.projectableNodes,m=ht.environmentInjector||ht.ngModuleRef}const U=y?i:new Ku(gn(i)),ce=o||this.parentInjector;if(!m&&null==U.ngModule){const Ft=(y?ce:this.parentInjector).get(Zs,null);Ft&&(m=Ft)}const Ue=U.create(ce,c,void 0,m);return this.insert(Ue.hostView,I),Ue}insert(i,n){const o=i._lView,c=o[xt];if(function Lo(t){return lo(t[J])}(o)){const Ue=this.indexOf(i);if(-1!==Ue)this.detach(Ue);else{const ht=o[J],Ft=new m_(ht,ht[ei],ht[J]);Ft.detach(Ft.indexOf(i))}}const m=this._adjustIndex(n),y=this._lContainer;!function mu(t,i,n,o){const c=jn+o,m=n.length;o>0&&(n[c-1][Ie]=i),o<m-jn?(i[Ie]=n[c],oa(n,jn+o,i)):(n.push(i),i[Ie]=null),i[J]=n;const y=i[Dr];null!==y&&n!==y&&function Jl(t,i){const n=t[Wo];i[Hn]!==i[J][J][Hn]&&(t[fr]=!0),null===n?t[Wo]=[i]:n.push(i)}(y,i);const I=i[So];null!==I&&I.insertView(t),i[w]|=64}(c,o,y,m);const I=nc(m,y),U=o[Li],ce=gs(U,y[lr]);return null!==ce&&function du(t,i,n,o,c,m){o[at]=c,o[ei]=i,Qa(t,o,n,1,c,m)}(c,y[ei],U,o,ce,I),i.attachToViewContainerRef(),oa(cp(y),m,i),i}move(i,n){return this.insert(i,n)}indexOf(i){const n=p_(this._lContainer);return null!==n?n.indexOf(i):-1}remove(i){const n=this._adjustIndex(i,-1),o=Xl(this._lContainer,n);o&&(Hs(cp(this._lContainer),n),ql(o[xt],o))}detach(i){const n=this._adjustIndex(i,-1),o=Xl(this._lContainer,n);return o&&null!=Hs(cp(this._lContainer),n)?new Wu(o):null}_adjustIndex(i,n=0){return i??this.length+n}};function p_(t){return t[gr]}function cp(t){return t[gr]||(t[gr]=[])}function f_(t,i){let n;const o=i[t.index];if(lo(o))n=o;else{let c;if(8&t.type)c=Ln(o);else{const m=i[Li];c=m.createComment("");const y=ho(t,i);Ys(m,gs(m,y),c,function vl(t,i){return t.nextSibling(i)}(m,y),!1)}i[t.index]=n=Qp(o,i,c,t),Ih(i,n)}return new m_(n,t,i)}class dp{constructor(i){this.queryList=i,this.matches=null}clone(){return new dp(this.queryList)}setDirty(){this.queryList.setDirty()}}class up{constructor(i=[]){this.queries=i}createEmbeddedView(i){const n=i.queries;if(null!==n){const o=null!==i.contentQueries?i.contentQueries[0]:n.length,c=[];for(let m=0;m<o;m++){const y=n.getByIndex(m);c.push(this.queries[y.indexInDeclarationView].clone())}return new up(c)}return null}insertView(i){this.dirtyQueriesWithMatches(i)}detachView(i){this.dirtyQueriesWithMatches(i)}dirtyQueriesWithMatches(i){for(let n=0;n<this.queries.length;n++)null!==D_(i,n).matches&&this.queries[n].setDirty()}}class g_{constructor(i,n,o=null){this.predicate=i,this.flags=n,this.read=o}}class hp{constructor(i=[]){this.queries=i}elementStart(i,n){for(let o=0;o<this.queries.length;o++)this.queries[o].elementStart(i,n)}elementEnd(i){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(i)}embeddedTView(i){let n=null;for(let o=0;o<this.length;o++){const c=null!==n?n.length:0,m=this.getByIndex(o).embeddedTView(i,c);m&&(m.indexInDeclarationView=o,null!==n?n.push(m):n=[m])}return null!==n?new hp(n):null}template(i,n){for(let o=0;o<this.queries.length;o++)this.queries[o].template(i,n)}getByIndex(i){return this.queries[i]}get length(){return this.queries.length}track(i){this.queries.push(i)}}class mp{constructor(i,n=-1){this.metadata=i,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(i,n){this.isApplyingToNode(n)&&this.matchTNode(i,n)}elementEnd(i){this._declarationNodeIndex===i.index&&(this._appliesToNextNode=!1)}template(i,n){this.elementStart(i,n)}embeddedTView(i,n){return this.isApplyingToNode(i)?(this.crossesNgTemplate=!0,this.addMatch(-i.index,n),new mp(this.metadata)):null}isApplyingToNode(i){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let o=i.parent;for(;null!==o&&8&o.type&&o.index!==n;)o=o.parent;return n===(null!==o?o.index:-1)}return this._appliesToNextNode}matchTNode(i,n){const o=this.metadata.predicate;if(Array.isArray(o))for(let c=0;c<o.length;c++){const m=o[c];this.matchTNodeWithReadOption(i,n,jy(n,m)),this.matchTNodeWithReadOption(i,n,_a(n,i,m,!1,!1))}else o===rh?4&n.type&&this.matchTNodeWithReadOption(i,n,-1):this.matchTNodeWithReadOption(i,n,_a(n,i,o,!1,!1))}matchTNodeWithReadOption(i,n,o){if(null!==o){const c=this.metadata.read;if(null!==c)if(c===ol||c===Xh||c===rh&&4&n.type)this.addMatch(n.index,-2);else{const m=_a(n,i,c,!1,!1);null!==m&&this.addMatch(n.index,m)}else this.addMatch(n.index,o)}}addMatch(i,n){null===this.matches?this.matches=[i,n]:this.matches.push(i,n)}}function jy(t,i){const n=t.localNames;if(null!==n)for(let o=0;o<n.length;o+=2)if(n[o]===i)return n[o+1];return null}function Zy(t,i,n,o){return-1===n?function $y(t,i){return 11&t.type?Ia(t,i):4&t.type?Jh(t,i):null}(i,t):-2===n?function Wy(t,i,n){return n===ol?Ia(i,t):n===rh?Jh(i,t):n===Xh?f_(i,t):void 0}(t,i,o):rs(t,t[xt],n,i)}function __(t,i,n,o){const c=i[So].queries[o];if(null===c.matches){const m=t.data,y=n.matches,I=[];for(let U=0;U<y.length;U+=2){const ce=y[U];I.push(ce<0?null:Zy(i,m[ce],y[U+1],n.metadata.read))}c.matches=I}return c.matches}function pp(t,i,n,o){const c=t.queries.getByIndex(n),m=c.matches;if(null!==m){const y=__(t,i,c,n);for(let I=0;I<m.length;I+=2){const U=m[I];if(U>0)o.push(y[I/2]);else{const ce=m[I+1],Ue=i[-U];for(let ht=jn;ht<Ue.length;ht++){const Ft=Ue[ht];Ft[Dr]===Ft[J]&&pp(Ft[xt],Ft,ce,o)}if(null!==Ue[Wo]){const ht=Ue[Wo];for(let Ft=0;Ft<ht.length;Ft++){const Jt=ht[Ft];pp(Jt[xt],Jt,ce,o)}}}}}return o}function b_(t){const i=ni(),n=pn(),o=jr();os(o+1);const c=D_(n,o);if(t.dirty&&function dr(t){return 4==(4&t[w])}(i)===(2==(2&c.metadata.flags))){if(null===c.matches)t.reset([]);else{const m=c.crossesNgTemplate?pp(n,i,o,[]):__(n,i,c,o);t.reset(m,Uu),t.notifyOnChanges()}return!0}return!1}function v_(t,i,n){const o=pn();o.firstCreatePass&&(C_(o,new g_(t,i,n),-1),2==(2&i)&&(o.staticViewQueries=!0)),w_(o,ni(),i)}function y_(t,i,n,o){const c=pn();if(c.firstCreatePass){const m=eo();C_(c,new g_(i,n,o),m.index),function Qy(t,i){const n=t.contentQueries||(t.contentQueries=[]);i!==(n.length?n[n.length-1]:-1)&&n.push(t.queries.length-1,i)}(c,t),2==(2&n)&&(c.staticContentQueries=!0)}w_(c,ni(),n)}function x_(){return function Ky(t,i){return t[So].queries[i].queryList}(ni(),jr())}function w_(t,i,n){const o=new Qh(4==(4&n));jp(t,i,o,o.destroy),null===i[So]&&(i[So]=new up),i[So].queries.push(new dp(o))}function C_(t,i,n){null===t.queries&&(t.queries=new hp),t.queries.track(new mp(i,n))}function D_(t,i){return t.queries.getByIndex(i)}function M_(t,i){return Jh(t,i)}function fp(t){return!!Jn(t)}function em(...t){}const Y_=new Nn("Application Initializer");let tm=(()=>{class t{constructor(n){this.appInits=n,this.resolve=em,this.reject=em,this.initialized=!1,this.done=!1,this.donePromise=new Promise((o,c)=>{this.resolve=o,this.reject=c})}runInitializers(){if(this.initialized)return;const n=[],o=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let c=0;c<this.appInits.length;c++){const m=this.appInits[c]();if(Pm(m))n.push(m);else if(wf(m)){const y=new Promise((I,U)=>{m.subscribe({complete:I,error:U})});n.push(y)}}Promise.all(n).then(()=>{o()}).catch(c=>{this.reject(c)}),0===n.length&&o(),this.initialized=!0}}return t.\u0275fac=function(n){return new(n||t)(ke(Y_,8))},t.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const G_=new Nn("AppId",{providedIn:"root",factory:function j_(){return`${yp()}${yp()}${yp()}`}});function yp(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const $_=new Nn("Platform Initializer"),gx=new Nn("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),_x=new Nn("AnimationModuleType");let bx=(()=>{class t{log(n){console.log(n)}warn(n){console.warn(n)}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();const im=new Nn("LocaleId",{providedIn:"root",factory:()=>Rt(im,dt.Optional|dt.SkipSelf)||function vx(){return typeof $localize<"u"&&$localize.locale||Ud}()}),yx=new Nn("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class xx{constructor(i,n){this.ngModuleFactory=i,this.componentFactories=n}}let wx=(()=>{class t{compileModuleSync(n){return new rp(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const o=this.compileModuleSync(n),m=hi(Jn(n).declarations).reduce((y,I)=>{const U=gn(I);return U&&y.push(new Ku(U)),y},[]);return new xx(o,m)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Mx=(()=>Promise.resolve(0))();function xp(t){typeof Zone>"u"?Mx.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class Ks{constructor({enableLongStackTrace:i=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:o=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Na(!1),this.onMicrotaskEmpty=new Na(!1),this.onStable=new Na(!1),this.onError=new Na(!1),typeof Zone>"u")throw new Re(908,!1);Zone.assertZonePatched();const c=this;c._nesting=0,c._outer=c._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(c._inner=c._inner.fork(new Zone.TaskTrackingZoneSpec)),i&&Zone.longStackTraceZoneSpec&&(c._inner=c._inner.fork(Zone.longStackTraceZoneSpec)),c.shouldCoalesceEventChangeDetection=!o&&n,c.shouldCoalesceRunChangeDetection=o,c.lastRequestAnimationFrameId=-1,c.nativeRequestAnimationFrame=function Tx(){let t=wt.requestAnimationFrame,i=wt.cancelAnimationFrame;if(typeof Zone<"u"&&t&&i){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const o=i[Zone.__symbol__("OriginalDelegate")];o&&(i=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:i}}().nativeRequestAnimationFrame,function kx(t){const i=()=>{!function Sx(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(wt,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Cp(t),t.isCheckStableRunning=!0,wp(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Cp(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,o,c,m,y,I)=>{try{return K_(t),n.invokeTask(c,m,y,I)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===m.type||t.shouldCoalesceRunChangeDetection)&&i(),Q_(t)}},onInvoke:(n,o,c,m,y,I,U)=>{try{return K_(t),n.invoke(c,m,y,I,U)}finally{t.shouldCoalesceRunChangeDetection&&i(),Q_(t)}},onHasTask:(n,o,c,m)=>{n.hasTask(c,m),o===c&&("microTask"==m.change?(t._hasPendingMicrotasks=m.microTask,Cp(t),wp(t)):"macroTask"==m.change&&(t.hasPendingMacrotasks=m.macroTask))},onHandleError:(n,o,c,m)=>(n.handleError(c,m),t.runOutsideAngular(()=>t.onError.emit(m)),!1)})}(c)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ks.isInAngularZone())throw new Re(909,!1)}static assertNotInAngularZone(){if(Ks.isInAngularZone())throw new Re(909,!1)}run(i,n,o){return this._inner.run(i,n,o)}runTask(i,n,o,c){const m=this._inner,y=m.scheduleEventTask("NgZoneEvent: "+c,i,Ex,em,em);try{return m.runTask(y,n,o)}finally{m.cancelTask(y)}}runGuarded(i,n,o){return this._inner.runGuarded(i,n,o)}runOutsideAngular(i){return this._outer.run(i)}}const Ex={};function wp(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Cp(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function K_(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Q_(t){t._nesting--,wp(t)}class Ax{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Na,this.onMicrotaskEmpty=new Na,this.onStable=new Na,this.onError=new Na}run(i,n,o){return i.apply(n,o)}runGuarded(i,n,o){return i.apply(n,o)}runOutsideAngular(i){return i()}runTask(i,n,o,c){return i.apply(n,o)}}const J_=new Nn(""),X_=new Nn("");let Dp,Ix=(()=>{class t{constructor(n,o,c){this._ngZone=n,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Dp||(function Ox(t){Dp=t}(c),c.addToWindow(o)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?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:()=>{Ks.assertNotInAngularZone(),xp(()=>{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())xp(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>!o.updateCb||!o.updateCb(n)||(clearTimeout(o.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,o,c){let m=-1;o&&o>0&&(m=setTimeout(()=>{this._callbacks=this._callbacks.filter(y=>y.timeoutId!==m),n(this._didWork,this.getPendingTasks())},o)),this._callbacks.push({doneCb:n,timeoutId:m,updateCb:c})}whenStable(n,o,c){if(c&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,o,c),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,o,c){return[]}}return t.\u0275fac=function(n){return new(n||t)(ke(Ks),ke(q_),ke(X_))},t.\u0275prov=$({token:t,factory:t.\u0275fac}),t})(),q_=(()=>{class t{constructor(){this._applications=new Map}registerApplication(n,o){this._applications.set(n,o)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,o=!0){return Dp?.findTestabilityInTree(this,n,o)??null}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();const ll=!1;let Ll=null;const eb=new Nn("AllowMultipleToken"),Mp=new Nn("PlatformDestroyListeners"),tb=new Nn("appBootstrapListener");class Fx{constructor(i,n){this.name=i,this.token=n}}function nb(t,i,n=[]){const o=`Platform: ${i}`,c=new Nn(o);return(m=[])=>{let y=Tp();if(!y||y.injector.get(eb,!1)){const I=[...n,...m,{provide:c,useValue:!0}];t?t(I):function Lx(t){if(Ll&&!Ll.get(eb,!1))throw new Re(400,!1);Ll=t;const i=t.get(rb);(function ib(t){const i=t.get($_,null);i&&i.forEach(n=>n())})(t)}(function ob(t=[],i){return yc.create({name:i,providers:[{provide:kl,useValue:"platform"},{provide:Mp,useValue:new Set([()=>Ll=null])},...t]})}(I,o))}return function Bx(t){const i=Tp();if(!i)throw new Re(401,!1);return i}()}}function Tp(){return Ll?.get(rb)??null}let rb=(()=>{class t{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,o){const c=function ab(t,i){let n;return n="noop"===t?new Ax:("zone.js"===t?void 0:t)||new Ks(i),n}(o?.ngZone,function sb(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!t||!t.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!t||!t.ngZoneRunCoalescing)||!1}}(o)),m=[{provide:Ks,useValue:c}];return c.run(()=>{const y=yc.create({providers:m,parent:this.injector,name:n.moduleType.name}),I=n.create(y),U=I.injector.get(g,null);if(!U)throw new Re(402,!1);return c.runOutsideAngular(()=>{const ce=c.onError.subscribe({next:Ue=>{U.handleError(Ue)}});I.onDestroy(()=>{om(this._modules,I),ce.unsubscribe()})}),function lb(t,i,n){try{const o=n();return Pm(o)?o.catch(c=>{throw i.runOutsideAngular(()=>t.handleError(c)),c}):o}catch(o){throw i.runOutsideAngular(()=>t.handleError(o)),o}}(U,c,()=>{const ce=I.injector.get(tm);return ce.runInitializers(),ce.donePromise.then(()=>(function pg(t){W(t,"Expected localeId to be defined"),"string"==typeof t&&(mg=t.toLowerCase().replace(/_/g,"-"))}(I.injector.get(im,Ud)||Ud),this._moduleDoBootstrap(I),I))})})}bootstrapModule(n,o=[]){const c=cb({},o);return function Rx(t,i,n){const o=new rp(n);return Promise.resolve(o)}(0,0,n).then(m=>this.bootstrapModuleFactory(m,c))}_moduleDoBootstrap(n){const o=n.injector.get(nm);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(c=>o.bootstrap(c));else{if(!n.instance.ngDoBootstrap)throw new Re(-403,!1);n.instance.ngDoBootstrap(o)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Re(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());const n=this._injector.get(Mp,null);n&&(n.forEach(o=>o()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(n){return new(n||t)(ke(yc))},t.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();function cb(t,i){return Array.isArray(i)?i.reduce(cb,t):{...t,...i}}let nm=(()=>{class t{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(n,o,c){this._zone=n,this._injector=o,this._exceptionHandler=c,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const m=new T.y(I=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{I.next(this._stable),I.complete()})}),y=new T.y(I=>{let U;this._zone.runOutsideAngular(()=>{U=this._zone.onStable.subscribe(()=>{Ks.assertNotInAngularZone(),xp(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,I.next(!0))})})});const ce=this._zone.onUnstable.subscribe(()=>{Ks.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{I.next(!1)}))});return()=>{U.unsubscribe(),ce.unsubscribe()}});this.isStable=(0,l.T)(m,y.pipe((0,b.B)()))}bootstrap(n,o){const c=n instanceof Dd;if(!this._injector.get(tm).done){!c&&Vn(n);throw new Re(405,ll)}let y;y=c?n:this._injector.get(nl).resolveComponentFactory(n),this.componentTypes.push(y.componentType);const I=function Px(t){return t.isBoundToModule}(y)?void 0:this._injector.get(Yd),ce=y.create(yc.NULL,[],o||y.selector,I),Ue=ce.location.nativeElement,ht=ce.injector.get(J_,null);return ht?.registerApplication(Ue),ce.onDestroy(()=>{this.detachView(ce.hostView),om(this.components,ce),ht?.unregisterApplication(Ue)}),this._loadComponent(ce),ce}tick(){if(this._runningTick)throw new Re(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const o=n;this._views.push(o),o.attachToAppRef(this)}detachView(n){const o=n;om(this._views,o),o.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const o=this._injector.get(tb,[]);o.push(...this._bootstrapListeners),o.forEach(c=>c(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>om(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Re(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return t.\u0275fac=function(n){return new(n||t)(ke(Ks),ke(Zs),ke(g))},t.\u0275prov=$({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function om(t,i){const n=t.indexOf(i);n>-1&&t.splice(n,1)}function Hx(){}let zx=(()=>{class t{}return t.__NG_ELEMENT_ID__=Ux,t})();function Ux(t){return function Yx(t,i,n){if(co(t)&&!n){const o=Fo(t.index,i);return new Wu(o,o)}return 47&t.type?new Wu(i[Hn],i):null}(eo(),ni(),16==(16&t))}class pb{constructor(){}supports(i){return Lh(i)}create(i){return new Kx(i)}}const Wx=(t,i)=>i;class Kx{constructor(i){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=i||Wx}forEachItem(i){let n;for(n=this._itHead;null!==n;n=n._next)i(n)}forEachOperation(i){let n=this._itHead,o=this._removalsHead,c=0,m=null;for(;n||o;){const y=!o||n&&n.currentIndex<gb(o,c,m)?n:o,I=gb(y,c,m),U=y.currentIndex;if(y===o)c--,o=o._nextRemoved;else if(n=n._next,null==y.previousIndex)c++;else{m||(m=[]);const ce=I-c,Ue=U-c;if(ce!=Ue){for(let Ft=0;Ft<ce;Ft++){const Jt=Ft<m.length?m[Ft]:m[Ft]=0,di=Jt+Ft;Ue<=di&&di<ce&&(m[Ft]=Jt+1)}m[y.previousIndex]=Ue-ce}}I!==U&&i(y,I,U)}}forEachPreviousItem(i){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)i(n)}forEachAddedItem(i){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)i(n)}forEachMovedItem(i){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)i(n)}forEachRemovedItem(i){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)i(n)}forEachIdentityChange(i){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)i(n)}diff(i){if(null==i&&(i=[]),!Lh(i))throw new Re(900,!1);return this.check(i)?this:null}onDestroy(){}check(i){this._reset();let c,m,y,n=this._itHead,o=!1;if(Array.isArray(i)){this.length=i.length;for(let I=0;I<this.length;I++)m=i[I],y=this._trackByFn(I,m),null!==n&&Object.is(n.trackById,y)?(o&&(n=this._verifyReinsertion(n,m,y,I)),Object.is(n.item,m)||this._addIdentityChange(n,m)):(n=this._mismatch(n,m,y,I),o=!0),n=n._next}else c=0,function Sv(t,i){if(Array.isArray(t))for(let n=0;n<t.length;n++)i(t[n]);else{const n=t[Symbol.iterator]();let o;for(;!(o=n.next()).done;)i(o.value)}}(i,I=>{y=this._trackByFn(c,I),null!==n&&Object.is(n.trackById,y)?(o&&(n=this._verifyReinsertion(n,I,y,c)),Object.is(n.item,I)||this._addIdentityChange(n,I)):(n=this._mismatch(n,I,y,c),o=!0),n=n._next,c++}),this.length=c;return this._truncate(n),this.collection=i,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let i;for(i=this._previousItHead=this._itHead;null!==i;i=i._next)i._nextPrevious=i._next;for(i=this._additionsHead;null!==i;i=i._nextAdded)i.previousIndex=i.currentIndex;for(this._additionsHead=this._additionsTail=null,i=this._movesHead;null!==i;i=i._nextMoved)i.previousIndex=i.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(i,n,o,c){let m;return null===i?m=this._itTail:(m=i._prev,this._remove(i)),null!==(i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null))?(Object.is(i.item,n)||this._addIdentityChange(i,n),this._reinsertAfter(i,m,c)):null!==(i=null===this._linkedRecords?null:this._linkedRecords.get(o,c))?(Object.is(i.item,n)||this._addIdentityChange(i,n),this._moveAfter(i,m,c)):i=this._addAfter(new Qx(n,o),m,c),i}_verifyReinsertion(i,n,o,c){let m=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null);return null!==m?i=this._reinsertAfter(m,i._prev,c):i.currentIndex!=c&&(i.currentIndex=c,this._addToMoves(i,c)),i}_truncate(i){for(;null!==i;){const n=i._next;this._addToRemovals(this._unlink(i)),i=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(i,n,o){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(i);const c=i._prevRemoved,m=i._nextRemoved;return null===c?this._removalsHead=m:c._nextRemoved=m,null===m?this._removalsTail=c:m._prevRemoved=c,this._insertAfter(i,n,o),this._addToMoves(i,o),i}_moveAfter(i,n,o){return this._unlink(i),this._insertAfter(i,n,o),this._addToMoves(i,o),i}_addAfter(i,n,o){return this._insertAfter(i,n,o),this._additionsTail=null===this._additionsTail?this._additionsHead=i:this._additionsTail._nextAdded=i,i}_insertAfter(i,n,o){const c=null===n?this._itHead:n._next;return i._next=c,i._prev=n,null===c?this._itTail=i:c._prev=i,null===n?this._itHead=i:n._next=i,null===this._linkedRecords&&(this._linkedRecords=new fb),this._linkedRecords.put(i),i.currentIndex=o,i}_remove(i){return this._addToRemovals(this._unlink(i))}_unlink(i){null!==this._linkedRecords&&this._linkedRecords.remove(i);const n=i._prev,o=i._next;return null===n?this._itHead=o:n._next=o,null===o?this._itTail=n:o._prev=n,i}_addToMoves(i,n){return i.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=i:this._movesTail._nextMoved=i),i}_addToRemovals(i){return null===this._unlinkedRecords&&(this._unlinkedRecords=new fb),this._unlinkedRecords.put(i),i.currentIndex=null,i._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=i,i._prevRemoved=null):(i._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=i),i}_addIdentityChange(i,n){return i.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=i:this._identityChangesTail._nextIdentityChange=i,i}}class Qx{constructor(i,n){this.item=i,this.trackById=n,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 Jx{constructor(){this._head=null,this._tail=null}add(i){null===this._head?(this._head=this._tail=i,i._nextDup=null,i._prevDup=null):(this._tail._nextDup=i,i._prevDup=this._tail,i._nextDup=null,this._tail=i)}get(i,n){let o;for(o=this._head;null!==o;o=o._nextDup)if((null===n||n<=o.currentIndex)&&Object.is(o.trackById,i))return o;return null}remove(i){const n=i._prevDup,o=i._nextDup;return null===n?this._head=o:n._nextDup=o,null===o?this._tail=n:o._prevDup=n,null===this._head}}class fb{constructor(){this.map=new Map}put(i){const n=i.trackById;let o=this.map.get(n);o||(o=new Jx,this.map.set(n,o)),o.add(i)}get(i,n){const c=this.map.get(i);return c?c.get(i,n):null}remove(i){const n=i.trackById;return this.map.get(n).remove(i)&&this.map.delete(n),i}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function gb(t,i,n){const o=t.previousIndex;if(null===o)return o;let c=0;return n&&o<n.length&&(c=n[o]),o+i+c}class _b{constructor(){}supports(i){return i instanceof Map||Sm(i)}create(){return new Xx}}class Xx{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(i){let n;for(n=this._mapHead;null!==n;n=n._next)i(n)}forEachPreviousItem(i){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)i(n)}forEachChangedItem(i){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)i(n)}forEachAddedItem(i){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)i(n)}forEachRemovedItem(i){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)i(n)}diff(i){if(i){if(!(i instanceof Map||Sm(i)))throw new Re(900,!1)}else i=new Map;return this.check(i)?this:null}onDestroy(){}check(i){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(i,(o,c)=>{if(n&&n.key===c)this._maybeAddToChanges(n,o),this._appendAfter=n,n=n._next;else{const m=this._getOrCreateRecordForKey(c,o);n=this._insertBeforeOrAppend(n,m)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let o=n;null!==o;o=o._nextRemoved)o===this._mapHead&&(this._mapHead=null),this._records.delete(o.key),o._nextRemoved=o._next,o.previousValue=o.currentValue,o.currentValue=null,o._prev=null,o._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(i,n){if(i){const o=i._prev;return n._next=i,n._prev=o,i._prev=n,o&&(o._next=n),i===this._mapHead&&(this._mapHead=n),this._appendAfter=i,i}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(i,n){if(this._records.has(i)){const c=this._records.get(i);this._maybeAddToChanges(c,n);const m=c._prev,y=c._next;return m&&(m._next=y),y&&(y._prev=m),c._next=null,c._prev=null,c}const o=new qx(i);return this._records.set(i,o),o.currentValue=n,this._addToAdditions(o),o}_reset(){if(this.isDirty){let i;for(this._previousMapHead=this._mapHead,i=this._previousMapHead;null!==i;i=i._next)i._nextPrevious=i._next;for(i=this._changesHead;null!==i;i=i._nextChanged)i.previousValue=i.currentValue;for(i=this._additionsHead;null!=i;i=i._nextAdded)i.previousValue=i.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(i,n){Object.is(n,i.currentValue)||(i.previousValue=i.currentValue,i.currentValue=n,this._addToChanges(i))}_addToAdditions(i){null===this._additionsHead?this._additionsHead=this._additionsTail=i:(this._additionsTail._nextAdded=i,this._additionsTail=i)}_addToChanges(i){null===this._changesHead?this._changesHead=this._changesTail=i:(this._changesTail._nextChanged=i,this._changesTail=i)}_forEach(i,n){i instanceof Map?i.forEach(n):Object.keys(i).forEach(o=>n(i[o],o))}}class qx{constructor(i){this.key=i,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 bb(){return new Ip([new pb])}let Ip=(()=>{class t{constructor(n){this.factories=n}static create(n,o){if(null!=o){const c=o.factories.slice();n=n.concat(c)}return new t(n)}static extend(n){return{provide:t,useFactory:o=>t.create(n,o||bb()),deps:[[t,new cs,new Ms]]}}find(n){const o=this.factories.find(c=>c.supports(n));if(null!=o)return o;throw new Re(901,!1)}}return t.\u0275prov=$({token:t,providedIn:"root",factory:bb}),t})();function vb(){return new Op([new _b])}let Op=(()=>{class t{constructor(n){this.factories=n}static create(n,o){if(o){const c=o.factories.slice();n=n.concat(c)}return new t(n)}static extend(n){return{provide:t,useFactory:o=>t.create(n,o||vb()),deps:[[t,new cs,new Ms]]}}find(n){const o=this.factories.find(c=>c.supports(n));if(o)return o;throw new Re(901,!1)}}return t.\u0275prov=$({token:t,providedIn:"root",factory:vb}),t})();const iw=nb(null,"core",[]);let nw=(()=>{class t{constructor(n){}}return t.\u0275fac=function(n){return new(n||t)(ke(nm))},t.\u0275mod=Wi({type:t}),t.\u0275inj=Fe({}),t})();function ow(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}},4006:(ri,mt,p)=>{p.d(mt,{CE:()=>F,Cf:()=>ze,F:()=>ei,Fj:()=>He,JJ:()=>oi,JL:()=>dt,JU:()=>q,NI:()=>Mn,On:()=>Xo,Q7:()=>br,QS:()=>Uo,UX:()=>Sr,Zs:()=>Er,_Y:()=>_n,a5:()=>zt,gN:()=>lt,kI:()=>_e,qQ:()=>Tr,sg:()=>rn,u:()=>Ht,u5:()=>Ki,wV:()=>Ho,x0:()=>De});var e=p(4650),s=p(6895),T=p(2076),l=p(4128),b=p(4004);let O=(()=>{class ee{constructor(V,Ne){this._renderer=V,this._elementRef=Ne,this.onChange=Mt=>{},this.onTouched=()=>{}}setProperty(V,Ne){this._renderer.setProperty(this._elementRef.nativeElement,V,Ne)}registerOnTouched(V){this.onTouched=V}registerOnChange(V){this.onChange=V}setDisabledState(V){this.setProperty("disabled",V)}}return ee.\u0275fac=function(V){return new(V||ee)(e.Y36(e.Qsj),e.Y36(e.SBq))},ee.\u0275dir=e.lG2({type:ee}),ee})(),X=(()=>{class ee extends O{}return ee.\u0275fac=function(){let Q;return function(Ne){return(Q||(Q=e.n5z(ee)))(Ne||ee)}}(),ee.\u0275dir=e.lG2({type:ee,features:[e.qOj]}),ee})();const q=new e.OlP("NgValueAccessor"),Be={provide:q,useExisting:(0,e.Gpc)(()=>He),multi:!0},Le=new e.OlP("CompositionEventMode");let He=(()=>{class ee extends O{constructor(V,Ne,Mt){super(V,Ne),this._compositionMode=Mt,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function he(){const ee=(0,s.q)()?(0,s.q)().getUserAgent():"";return/android (\d+)/.test(ee.toLowerCase())}())}writeValue(V){this.setProperty("value",V??"")}_handleInput(V){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(V)}_compositionStart(){this._composing=!0}_compositionEnd(V){this._composing=!1,this._compositionMode&&this.onChange(V)}}return ee.\u0275fac=function(V){return new(V||ee)(e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(Le,8))},ee.\u0275dir=e.lG2({type:ee,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(V,Ne){1&V&&e.NdJ("input",function(Di){return Ne._handleInput(Di.target.value)})("blur",function(){return Ne.onTouched()})("compositionstart",function(){return Ne._compositionStart()})("compositionend",function(Di){return Ne._compositionEnd(Di.target.value)})},features:[e._Bn([Be]),e.qOj]}),ee})();const Qe=!1;function pt(ee){return null==ee||("string"==typeof ee||Array.isArray(ee))&&0===ee.length}function Re(ee){return null!=ee&&"number"==typeof ee.length}const ze=new e.OlP("NgValidators"),Me=new e.OlP("NgAsyncValidators"),Pe=/^(?=.{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 _e{static min(Q){return ge(Q)}static max(Q){return function le(ee){return Q=>{if(pt(Q.value)||pt(ee))return null;const V=parseFloat(Q.value);return!isNaN(V)&&V>ee?{max:{max:ee,actual:Q.value}}:null}}(Q)}static required(Q){return Se(Q)}static requiredTrue(Q){return je(Q)}static email(Q){return function Ke(ee){return pt(ee.value)||Pe.test(ee.value)?null:{email:!0}}(Q)}static minLength(Q){return function Ge(ee){return Q=>pt(Q.value)||!Re(Q.value)?null:Q.value.length<ee?{minlength:{requiredLength:ee,actualLength:Q.value.length}}:null}(Q)}static maxLength(Q){return function vt(ee){return Q=>Re(Q.value)&&Q.value.length>ee?{maxlength:{requiredLength:ee,actualLength:Q.value.length}}:null}(Q)}static pattern(Q){return function xe(ee){if(!ee)return kt;let Q,V;return"string"==typeof ee?(V="","^"!==ee.charAt(0)&&(V+="^"),V+=ee,"$"!==ee.charAt(ee.length-1)&&(V+="$"),Q=new RegExp(V)):(V=ee.toString(),Q=ee),Ne=>{if(pt(Ne.value))return null;const Mt=Ne.value;return Q.test(Mt)?null:{pattern:{requiredPattern:V,actualValue:Mt}}}}(Q)}static nullValidator(Q){return null}static compose(Q){return ot(Q)}static composeAsync(Q){return j(Q)}}function ge(ee){return Q=>{if(pt(Q.value)||pt(ee))return null;const V=parseFloat(Q.value);return!isNaN(V)&&V<ee?{min:{min:ee,actual:Q.value}}:null}}function Se(ee){return pt(ee.value)?{required:!0}:null}function je(ee){return!0===ee.value?null:{required:!0}}function kt(ee){return null}function rt(ee){return null!=ee}function Wt(ee){const Q=(0,e.QGY)(ee)?(0,T.D)(ee):ee;if(Qe&&!(0,e.CqO)(Q)){let V="Expected async validator to return Promise or Observable.";throw"object"==typeof ee&&(V+=" Are you using a synchronous validator where an async validator is expected?"),new e.vHH(-1101,V)}return Q}function yi(ee){let Q={};return ee.forEach(V=>{Q=null!=V?{...Q,...V}:Q}),0===Object.keys(Q).length?null:Q}function gi(ee,Q){return Q.map(V=>V(ee))}function ai(ee){return ee.map(Q=>function jt(ee){return!ee.validate}(Q)?Q:V=>Q.validate(V))}function ot(ee){if(!ee)return null;const Q=ee.filter(rt);return 0==Q.length?null:function(V){return yi(gi(V,Q))}}function W(ee){return null!=ee?ot(ai(ee)):null}function j(ee){if(!ee)return null;const Q=ee.filter(rt);return 0==Q.length?null:function(V){const Ne=gi(V,Q).map(Wt);return(0,l.D)(Ne).pipe((0,b.U)(yi))}}function H(ee){return null!=ee?j(ai(ee)):null}function C(ee,Q){return null===ee?[Q]:Array.isArray(ee)?[...ee,Q]:[ee,Q]}function Y(ee){return ee._rawValidators}function $(ee){return ee._rawAsyncValidators}function we(ee){return ee?Array.isArray(ee)?ee:[ee]:[]}function Fe(ee,Q){return Array.isArray(ee)?ee.includes(Q):ee===Q}function _t(ee,Q){const V=we(Q);return we(ee).forEach(Mt=>{Fe(V,Mt)||V.push(Mt)}),V}function it(ee,Q){return we(Q).filter(V=>!Fe(ee,V))}class Nt{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(Q){this._rawValidators=Q||[],this._composedValidatorFn=W(this._rawValidators)}_setAsyncValidators(Q){this._rawAsyncValidators=Q||[],this._composedAsyncValidatorFn=H(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(Q){this._onDestroyCallbacks.push(Q)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(Q=>Q()),this._onDestroyCallbacks=[]}reset(Q){this.control&&this.control.reset(Q)}hasError(Q,V){return!!this.control&&this.control.hasError(Q,V)}getError(Q,V){return this.control?this.control.getError(Q,V):null}}class lt extends Nt{get formDirective(){return null}get path(){return null}}class zt extends Nt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class ft{constructor(Q){this._cd=Q}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let oi=(()=>{class ee extends ft{constructor(V){super(V)}}return ee.\u0275fac=function(V){return new(V||ee)(e.Y36(zt,2))},ee.\u0275dir=e.lG2({type:ee,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(V,Ne){2&V&&e.ekj("ng-untouched",Ne.isUntouched)("ng-touched",Ne.isTouched)("ng-pristine",Ne.isPristine)("ng-dirty",Ne.isDirty)("ng-valid",Ne.isValid)("ng-invalid",Ne.isInvalid)("ng-pending",Ne.isPending)},features:[e.qOj]}),ee})(),dt=(()=>{class ee extends ft{constructor(V){super(V)}}return ee.\u0275fac=function(V){return new(V||ee)(e.Y36(lt,10))},ee.\u0275dir=e.lG2({type:ee,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(V,Ne){2&V&&e.ekj("ng-untouched",Ne.isUntouched)("ng-touched",Ne.isTouched)("ng-pristine",Ne.isPristine)("ng-dirty",Ne.isDirty)("ng-valid",Ne.isValid)("ng-invalid",Ne.isInvalid)("ng-pending",Ne.isPending)("ng-submitted",Ne.isSubmitted)},features:[e.qOj]}),ee})();function pe(ee,Q){return ee?`with name: '${Q}'`:`at index: ${Q}`}const st=!1,Z="VALID",ke="INVALID",gt="PENDING",Rt="DISABLED";function se(ee){return(Ye(ee)?ee.validators:ee)||null}function A(ee,Q){return(Ye(Q)?Q.asyncValidators:ee)||null}function Ye(ee){return null!=ee&&!Array.isArray(ee)&&"object"==typeof ee}function Ot(ee,Q,V){const Ne=ee.controls;if(!(Q?Object.keys(Ne):Ne).length)throw new e.vHH(1e3,st?function Ut(ee){return`\n    There are no form controls registered with this ${ee?"group":"array"} yet. If you're using ngModel,\n    you may want to check next tick (e.g. use setTimeout).\n  `}(Q):"");if(!Ne[V])throw new e.vHH(1001,st?function Vt(ee,Q){return`Cannot find form control ${pe(ee,Q)}`}(Q,V):"")}function ii(ee,Q,V){ee._forEachChild((Ne,Mt)=>{if(void 0===V[Mt])throw new e.vHH(1002,st?function be(ee,Q){return`Must supply a value for form control ${pe(ee,Q)}`}(Q,Mt):"")})}class Ci{constructor(Q,V){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(Q),this._assignAsyncValidators(V)}get validator(){return this._composedValidatorFn}set validator(Q){this._rawValidators=this._composedValidatorFn=Q}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(Q){this._rawAsyncValidators=this._composedAsyncValidatorFn=Q}get parent(){return this._parent}get valid(){return this.status===Z}get invalid(){return this.status===ke}get pending(){return this.status==gt}get disabled(){return this.status===Rt}get enabled(){return this.status!==Rt}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(Q){this._assignValidators(Q)}setAsyncValidators(Q){this._assignAsyncValidators(Q)}addValidators(Q){this.setValidators(_t(Q,this._rawValidators))}addAsyncValidators(Q){this.setAsyncValidators(_t(Q,this._rawAsyncValidators))}removeValidators(Q){this.setValidators(it(Q,this._rawValidators))}removeAsyncValidators(Q){this.setAsyncValidators(it(Q,this._rawAsyncValidators))}hasValidator(Q){return Fe(this._rawValidators,Q)}hasAsyncValidator(Q){return Fe(this._rawAsyncValidators,Q)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(Q={}){this.touched=!0,this._parent&&!Q.onlySelf&&this._parent.markAsTouched(Q)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(Q=>Q.markAllAsTouched())}markAsUntouched(Q={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(V=>{V.markAsUntouched({onlySelf:!0})}),this._parent&&!Q.onlySelf&&this._parent._updateTouched(Q)}markAsDirty(Q={}){this.pristine=!1,this._parent&&!Q.onlySelf&&this._parent.markAsDirty(Q)}markAsPristine(Q={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(V=>{V.markAsPristine({onlySelf:!0})}),this._parent&&!Q.onlySelf&&this._parent._updatePristine(Q)}markAsPending(Q={}){this.status=gt,!1!==Q.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!Q.onlySelf&&this._parent.markAsPending(Q)}disable(Q={}){const V=this._parentMarkedDirty(Q.onlySelf);this.status=Rt,this.errors=null,this._forEachChild(Ne=>{Ne.disable({...Q,onlySelf:!0})}),this._updateValue(),!1!==Q.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...Q,skipPristineCheck:V}),this._onDisabledChange.forEach(Ne=>Ne(!0))}enable(Q={}){const V=this._parentMarkedDirty(Q.onlySelf);this.status=Z,this._forEachChild(Ne=>{Ne.enable({...Q,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:Q.emitEvent}),this._updateAncestors({...Q,skipPristineCheck:V}),this._onDisabledChange.forEach(Ne=>Ne(!1))}_updateAncestors(Q){this._parent&&!Q.onlySelf&&(this._parent.updateValueAndValidity(Q),Q.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(Q){this._parent=Q}getRawValue(){return this.value}updateValueAndValidity(Q={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Z||this.status===gt)&&this._runAsyncValidator(Q.emitEvent)),!1!==Q.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!Q.onlySelf&&this._parent.updateValueAndValidity(Q)}_updateTreeValidity(Q={emitEvent:!0}){this._forEachChild(V=>V._updateTreeValidity(Q)),this.updateValueAndValidity({onlySelf:!0,emitEvent:Q.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Rt:Z}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(Q){if(this.asyncValidator){this.status=gt,this._hasOwnPendingAsyncValidator=!0;const V=Wt(this.asyncValidator(this));this._asyncValidationSubscription=V.subscribe(Ne=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(Ne,{emitEvent:Q})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(Q,V={}){this.errors=Q,this._updateControlsErrors(!1!==V.emitEvent)}get(Q){let V=Q;return null==V||(Array.isArray(V)||(V=V.split(".")),0===V.length)?null:V.reduce((Ne,Mt)=>Ne&&Ne._find(Mt),this)}getError(Q,V){const Ne=V?this.get(V):this;return Ne&&Ne.errors?Ne.errors[Q]:null}hasError(Q,V){return!!this.getError(Q,V)}get root(){let Q=this;for(;Q._parent;)Q=Q._parent;return Q}_updateControlsErrors(Q){this.status=this._calculateStatus(),Q&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(Q)}_initObservables(){this.valueChanges=new e.vpe,this.statusChanges=new e.vpe}_calculateStatus(){return this._allControlsDisabled()?Rt:this.errors?ke:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(gt)?gt:this._anyControlsHaveStatus(ke)?ke:Z}_anyControlsHaveStatus(Q){return this._anyControls(V=>V.status===Q)}_anyControlsDirty(){return this._anyControls(Q=>Q.dirty)}_anyControlsTouched(){return this._anyControls(Q=>Q.touched)}_updatePristine(Q={}){this.pristine=!this._anyControlsDirty(),this._parent&&!Q.onlySelf&&this._parent._updatePristine(Q)}_updateTouched(Q={}){this.touched=this._anyControlsTouched(),this._parent&&!Q.onlySelf&&this._parent._updateTouched(Q)}_registerOnCollectionChange(Q){this._onCollectionChange=Q}_setUpdateStrategy(Q){Ye(Q)&&null!=Q.updateOn&&(this._updateOn=Q.updateOn)}_parentMarkedDirty(Q){return!Q&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(Q){return null}_assignValidators(Q){this._rawValidators=Array.isArray(Q)?Q.slice():Q,this._composedValidatorFn=function z(ee){return Array.isArray(ee)?W(ee):ee||null}(this._rawValidators)}_assignAsyncValidators(Q){this._rawAsyncValidators=Array.isArray(Q)?Q.slice():Q,this._composedAsyncValidatorFn=function me(ee){return Array.isArray(ee)?H(ee):ee||null}(this._rawAsyncValidators)}}class Si extends Ci{constructor(Q,V,Ne){super(se(V),A(Ne,V)),this.controls=Q,this._initObservables(),this._setUpdateStrategy(V),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(Q,V){return this.controls[Q]?this.controls[Q]:(this.controls[Q]=V,V.setParent(this),V._registerOnCollectionChange(this._onCollectionChange),V)}addControl(Q,V,Ne={}){this.registerControl(Q,V),this.updateValueAndValidity({emitEvent:Ne.emitEvent}),this._onCollectionChange()}removeControl(Q,V={}){this.controls[Q]&&this.controls[Q]._registerOnCollectionChange(()=>{}),delete this.controls[Q],this.updateValueAndValidity({emitEvent:V.emitEvent}),this._onCollectionChange()}setControl(Q,V,Ne={}){this.controls[Q]&&this.controls[Q]._registerOnCollectionChange(()=>{}),delete this.controls[Q],V&&this.registerControl(Q,V),this.updateValueAndValidity({emitEvent:Ne.emitEvent}),this._onCollectionChange()}contains(Q){return this.controls.hasOwnProperty(Q)&&this.controls[Q].enabled}setValue(Q,V={}){ii(this,!0,Q),Object.keys(Q).forEach(Ne=>{Ot(this,!0,Ne),this.controls[Ne].setValue(Q[Ne],{onlySelf:!0,emitEvent:V.emitEvent})}),this.updateValueAndValidity(V)}patchValue(Q,V={}){null!=Q&&(Object.keys(Q).forEach(Ne=>{const Mt=this.controls[Ne];Mt&&Mt.patchValue(Q[Ne],{onlySelf:!0,emitEvent:V.emitEvent})}),this.updateValueAndValidity(V))}reset(Q={},V={}){this._forEachChild((Ne,Mt)=>{Ne.reset(Q[Mt],{onlySelf:!0,emitEvent:V.emitEvent})}),this._updatePristine(V),this._updateTouched(V),this.updateValueAndValidity(V)}getRawValue(){return this._reduceChildren({},(Q,V,Ne)=>(Q[Ne]=V.getRawValue(),Q))}_syncPendingControls(){let Q=this._reduceChildren(!1,(V,Ne)=>!!Ne._syncPendingControls()||V);return Q&&this.updateValueAndValidity({onlySelf:!0}),Q}_forEachChild(Q){Object.keys(this.controls).forEach(V=>{const Ne=this.controls[V];Ne&&Q(Ne,V)})}_setUpControls(){this._forEachChild(Q=>{Q.setParent(this),Q._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(Q){for(const[V,Ne]of Object.entries(this.controls))if(this.contains(V)&&Q(Ne))return!0;return!1}_reduceValue(){return this._reduceChildren({},(V,Ne,Mt)=>((Ne.enabled||this.disabled)&&(V[Mt]=Ne.value),V))}_reduceChildren(Q,V){let Ne=Q;return this._forEachChild((Mt,Di)=>{Ne=V(Ne,Mt,Di)}),Ne}_allControlsDisabled(){for(const Q of Object.keys(this.controls))if(this.controls[Q].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(Q){return this.controls.hasOwnProperty(Q)?this.controls[Q]:null}}class Lt extends Si{}const et=new e.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>Ve}),Ve="always";function bt(ee,Q){return[...Q.path,ee]}function fe(ee,Q,V=Ve){Gi(ee,Q),Q.valueAccessor.writeValue(ee.value),(ee.disabled||"always"===V)&&Q.valueAccessor.setDisabledState?.(ee.disabled),function Wi(ee,Q){Q.valueAccessor.registerOnChange(V=>{ee._pendingValue=V,ee._pendingChange=!0,ee._pendingDirty=!0,"change"===ee.updateOn&&to(ee,Q)})}(ee,Q),function Bn(ee,Q){const V=(Ne,Mt)=>{Q.valueAccessor.writeValue(Ne),Mt&&Q.viewToModelUpdate(Ne)};ee.registerOnChange(V),Q._registerOnDestroy(()=>{ee._unregisterOnChange(V)})}(ee,Q),function Un(ee,Q){Q.valueAccessor.registerOnTouched(()=>{ee._pendingTouched=!0,"blur"===ee.updateOn&&ee._pendingChange&&to(ee,Q),"submit"!==ee.updateOn&&ee.markAsTouched()})}(ee,Q),function si(ee,Q){if(Q.valueAccessor.setDisabledState){const V=Ne=>{Q.valueAccessor.setDisabledState(Ne)};ee.registerOnDisabledChange(V),Q._registerOnDestroy(()=>{ee._unregisterOnDisabledChange(V)})}}(ee,Q)}function Ze(ee,Q,V=!0){const Ne=()=>{};Q.valueAccessor&&(Q.valueAccessor.registerOnChange(Ne),Q.valueAccessor.registerOnTouched(Ne)),nn(ee,Q),ee&&(Q._invokeOnDestroyCallbacks(),ee._registerOnCollectionChange(()=>{}))}function At(ee,Q){ee.forEach(V=>{V.registerOnValidatorChange&&V.registerOnValidatorChange(Q)})}function Gi(ee,Q){const V=Y(ee);null!==Q.validator?ee.setValidators(C(V,Q.validator)):"function"==typeof V&&ee.setValidators([V]);const Ne=$(ee);null!==Q.asyncValidator?ee.setAsyncValidators(C(Ne,Q.asyncValidator)):"function"==typeof Ne&&ee.setAsyncValidators([Ne]);const Mt=()=>ee.updateValueAndValidity();At(Q._rawValidators,Mt),At(Q._rawAsyncValidators,Mt)}function nn(ee,Q){let V=!1;if(null!==ee){if(null!==Q.validator){const Mt=Y(ee);if(Array.isArray(Mt)&&Mt.length>0){const Di=Mt.filter(En=>En!==Q.validator);Di.length!==Mt.length&&(V=!0,ee.setValidators(Di))}}if(null!==Q.asyncValidator){const Mt=$(ee);if(Array.isArray(Mt)&&Mt.length>0){const Di=Mt.filter(En=>En!==Q.asyncValidator);Di.length!==Mt.length&&(V=!0,ee.setAsyncValidators(Di))}}}const Ne=()=>{};return At(Q._rawValidators,Ne),At(Q._rawAsyncValidators,Ne),V}function to(ee,Q){ee._pendingDirty&&ee.markAsDirty(),ee.setValue(ee._pendingValue,{emitModelToViewChange:!1}),Q.viewToModelUpdate(ee._pendingValue),ee._pendingChange=!1}function xo(ee,Q){Gi(ee,Q)}function Jo(ee,Q){if(!ee.hasOwnProperty("model"))return!1;const V=ee.model;return!!V.isFirstChange()||!Object.is(Q,V.currentValue)}function at(ee,Q){ee._syncPendingControls(),Q.forEach(V=>{const Ne=V.control;"submit"===Ne.updateOn&&Ne._pendingChange&&(V.viewToModelUpdate(Ne._pendingValue),Ne._pendingChange=!1)})}function xt(ee,Q){if(!Q)return null;let V,Ne,Mt;return Array.isArray(Q),Q.forEach(Di=>{Di.constructor===He?V=Di:function ao(ee){return Object.getPrototypeOf(ee.constructor)===X}(Di)?Ne=Di:Mt=Di}),Mt||Ne||V||null}const Ie={provide:lt,useExisting:(0,e.Gpc)(()=>ei)},Xe=(()=>Promise.resolve())();let ei=(()=>{class ee extends lt{constructor(V,Ne,Mt){super(),this.callSetDisabledState=Mt,this.submitted=!1,this._directives=new Set,this.ngSubmit=new e.vpe,this.form=new Si({},W(V),H(Ne))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(V){Xe.then(()=>{const Ne=this._findContainer(V.path);V.control=Ne.registerControl(V.name,V.control),fe(V.control,V,this.callSetDisabledState),V.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(V)})}getControl(V){return this.form.get(V.path)}removeControl(V){Xe.then(()=>{const Ne=this._findContainer(V.path);Ne&&Ne.removeControl(V.name),this._directives.delete(V)})}addFormGroup(V){Xe.then(()=>{const Ne=this._findContainer(V.path),Mt=new Si({});xo(Mt,V),Ne.registerControl(V.name,Mt),Mt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(V){Xe.then(()=>{const Ne=this._findContainer(V.path);Ne&&Ne.removeControl(V.name)})}getFormGroup(V){return this.form.get(V.path)}updateModel(V,Ne){Xe.then(()=>{this.form.get(V.path).setValue(Ne)})}setValue(V){this.control.setValue(V)}onSubmit(V){return this.submitted=!0,at(this.form,this._directives),this.ngSubmit.emit(V),"dialog"===V?.target?.method}onReset(){this.resetForm()}resetForm(V){this.form.reset(V),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(V){return V.pop(),V.length?this.form.get(V):this.form}}return ee.\u0275fac=function(V){return new(V||ee)(e.Y36(ze,10),e.Y36(Me,10),e.Y36(et,8))},ee.\u0275dir=e.lG2({type:ee,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(V,Ne){1&V&&e.NdJ("submit",function(Di){return Ne.onSubmit(Di)})("reset",function(){return Ne.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e._Bn([Ie]),e.qOj]}),ee})();function Ei(ee,Q){const V=ee.indexOf(Q);V>-1&&ee.splice(V,1)}function Yi(ee){return"object"==typeof ee&&null!==ee&&2===Object.keys(ee).length&&"value"in ee&&"disabled"in ee}const Mn=class extends Ci{constructor(Q=null,V,Ne){super(se(V),A(Ne,V)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(Q),this._setUpdateStrategy(V),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ye(V)&&(V.nonNullable||V.initialValueIsDefault)&&(this.defaultValue=Yi(Q)?Q.value:Q)}setValue(Q,V={}){this.value=this._pendingValue=Q,this._onChange.length&&!1!==V.emitModelToViewChange&&this._onChange.forEach(Ne=>Ne(this.value,!1!==V.emitViewToModelChange)),this.updateValueAndValidity(V)}patchValue(Q,V={}){this.setValue(Q,V)}reset(Q=this.defaultValue,V={}){this._applyFormState(Q),this.markAsPristine(V),this.markAsUntouched(V),this.setValue(this.value,V),this._pendingChange=!1}_updateValue(){}_anyControls(Q){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(Q){this._onChange.push(Q)}_unregisterOnChange(Q){Ei(this._onChange,Q)}registerOnDisabledChange(Q){this._onDisabledChange.push(Q)}_unregisterOnDisabledChange(Q){Ei(this._onDisabledChange,Q)}_forEachChild(Q){}_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(Q){Yi(Q)?(this.value=this._pendingValue=Q.value,Q.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=Q}};let Xn=(()=>{class ee extends lt{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return bt(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}return ee.\u0275fac=function(){let Q;return function(Ne){return(Q||(Q=e.n5z(ee)))(Ne||ee)}}(),ee.\u0275dir=e.lG2({type:ee,features:[e.qOj]}),ee})();const So={provide:zt,useExisting:(0,e.Gpc)(()=>Xo)},Zo=(()=>Promise.resolve())();let Xo=(()=>{class ee extends zt{constructor(V,Ne,Mt,Di,En,ni){super(),this._changeDetectorRef=En,this.callSetDisabledState=ni,this.control=new Mn,this._registered=!1,this.update=new e.vpe,this._parent=V,this._setValidators(Ne),this._setAsyncValidators(Mt),this.valueAccessor=xt(0,Di)}ngOnChanges(V){if(this._checkForErrors(),!this._registered||"name"in V){if(this._registered&&(this._checkName(),this.formDirective)){const Ne=V.name.previousValue;this.formDirective.removeControl({name:Ne,path:this._getPath(Ne)})}this._setUpControl()}"isDisabled"in V&&this._updateDisabled(V),Jo(V,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(V){this.viewModel=V,this.update.emit(V)}_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(){fe(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(V){Zo.then(()=>{this.control.setValue(V,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(V){const Ne=V.isDisabled.currentValue,Mt=0!==Ne&&(0,e.D6c)(Ne);Zo.then(()=>{Mt&&!this.control.disabled?this.control.disable():!Mt&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(V){return this._parent?bt(V,this._parent):[V]}}return ee.\u0275fac=function(V){return new(V||ee)(e.Y36(lt,9),e.Y36(ze,10),e.Y36(Me,10),e.Y36(q,10),e.Y36(e.sBO,8),e.Y36(et,8))},ee.\u0275dir=e.lG2({type:ee,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[e._Bn([So]),e.qOj,e.TTD]}),ee})(),_n=(()=>{class ee{}return ee.\u0275fac=function(V){return new(V||ee)},ee.\u0275dir=e.lG2({type:ee,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),ee})();const Ro={provide:q,useExisting:(0,e.Gpc)(()=>Ho),multi:!0};let Ho=(()=>{class ee extends X{writeValue(V){this.setProperty("value",V??"")}registerOnChange(V){this.onChange=Ne=>{V(""==Ne?null:parseFloat(Ne))}}}return ee.\u0275fac=function(){let Q;return function(Ne){return(Q||(Q=e.n5z(ee)))(Ne||ee)}}(),ee.\u0275dir=e.lG2({type:ee,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(V,Ne){1&V&&e.NdJ("input",function(Di){return Ne.onChange(Di.target.value)})("blur",function(){return Ne.onTouched()})},features:[e._Bn([Ro]),e.qOj]}),ee})(),gr=(()=>{class ee{}return ee.\u0275fac=function(V){return new(V||ee)},ee.\u0275mod=e.oAB({type:ee}),ee.\u0275inj=e.cJS({}),ee})();const lo=new e.OlP("NgModelWithFormControlWarning"),_i={provide:lt,useExisting:(0,e.Gpc)(()=>rn)};let rn=(()=>{class ee extends lt{constructor(V,Ne,Mt){super(),this.callSetDisabledState=Mt,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new e.vpe,this._setValidators(V),this._setAsyncValidators(Ne)}ngOnChanges(V){this._checkFormPresent(),V.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(nn(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(V){const Ne=this.form.get(V.path);return fe(Ne,V,this.callSetDisabledState),Ne.updateValueAndValidity({emitEvent:!1}),this.directives.push(V),Ne}getControl(V){return this.form.get(V.path)}removeControl(V){Ze(V.control||null,V,!1),function w(ee,Q){const V=ee.indexOf(Q);V>-1&&ee.splice(V,1)}(this.directives,V)}addFormGroup(V){this._setUpFormContainer(V)}removeFormGroup(V){this._cleanUpFormContainer(V)}getFormGroup(V){return this.form.get(V.path)}addFormArray(V){this._setUpFormContainer(V)}removeFormArray(V){this._cleanUpFormContainer(V)}getFormArray(V){return this.form.get(V.path)}updateModel(V,Ne){this.form.get(V.path).setValue(Ne)}onSubmit(V){return this.submitted=!0,at(this.form,this.directives),this.ngSubmit.emit(V),"dialog"===V?.target?.method}onReset(){this.resetForm()}resetForm(V){this.form.reset(V),this.submitted=!1}_updateDomValue(){this.directives.forEach(V=>{const Ne=V.control,Mt=this.form.get(V.path);Ne!==Mt&&(Ze(Ne||null,V),(ee=>ee instanceof Mn)(Mt)&&(fe(Mt,V,this.callSetDisabledState),V.control=Mt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(V){const Ne=this.form.get(V.path);xo(Ne,V),Ne.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(V){if(this.form){const Ne=this.form.get(V.path);Ne&&function gn(ee,Q){return nn(ee,Q)}(Ne,V)&&Ne.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Gi(this.form,this),this._oldForm&&nn(this._oldForm,this)}_checkFormPresent(){}}return ee.\u0275fac=function(V){return new(V||ee)(e.Y36(ze,10),e.Y36(Me,10),e.Y36(et,8))},ee.\u0275dir=e.lG2({type:ee,selectors:[["","formGroup",""]],hostBindings:function(V,Ne){1&V&&e.NdJ("submit",function(Di){return Ne.onSubmit(Di)})("reset",function(){return Ne.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e._Bn([_i]),e.qOj,e.TTD]}),ee})();const fo={provide:lt,useExisting:(0,e.Gpc)(()=>De)};let De=(()=>{class ee extends Xn{constructor(V,Ne,Mt){super(),this._parent=V,this._setValidators(Ne),this._setAsyncValidators(Mt)}_checkParentType(){Te(this._parent)}}return ee.\u0275fac=function(V){return new(V||ee)(e.Y36(lt,13),e.Y36(ze,10),e.Y36(Me,10))},ee.\u0275dir=e.lG2({type:ee,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[e._Bn([fo]),e.qOj]}),ee})();const qe={provide:lt,useExisting:(0,e.Gpc)(()=>F)};let F=(()=>{class ee extends lt{constructor(V,Ne,Mt){super(),this._parent=V,this._setValidators(Ne),this._setAsyncValidators(Mt)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return bt(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Te(this._parent)}}return ee.\u0275fac=function(V){return new(V||ee)(e.Y36(lt,13),e.Y36(ze,10),e.Y36(Me,10))},ee.\u0275dir=e.lG2({type:ee,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[e._Bn([qe]),e.qOj]}),ee})();function Te(ee){return!(ee instanceof De||ee instanceof rn||ee instanceof F)}const It={provide:zt,useExisting:(0,e.Gpc)(()=>Ht)};let Ht=(()=>{class ee extends zt{set isDisabled(V){}constructor(V,Ne,Mt,Di,En){super(),this._ngModelWarningConfig=En,this._added=!1,this.update=new e.vpe,this._ngModelWarningSent=!1,this._parent=V,this._setValidators(Ne),this._setAsyncValidators(Mt),this.valueAccessor=xt(0,Di)}ngOnChanges(V){this._added||this._setUpControl(),Jo(V,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(V){this.viewModel=V,this.update.emit(V)}get path(){return bt(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._added=!0}}return ee._ngModelWarningSentOnce=!1,ee.\u0275fac=function(V){return new(V||ee)(e.Y36(lt,13),e.Y36(ze,10),e.Y36(Me,10),e.Y36(q,10),e.Y36(lo,8))},ee.\u0275dir=e.lG2({type:ee,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[e._Bn([It]),e.qOj,e.TTD]}),ee})();let _o=(()=>{class ee{constructor(){this._validator=kt}ngOnChanges(V){if(this.inputName in V){const Ne=this.normalizeInput(V[this.inputName].currentValue);this._enabled=this.enabled(Ne),this._validator=this._enabled?this.createValidator(Ne):kt,this._onChange&&this._onChange()}}validate(V){return this._validator(V)}registerOnValidatorChange(V){this._onChange=V}enabled(V){return null!=V}}return ee.\u0275fac=function(V){return new(V||ee)},ee.\u0275dir=e.lG2({type:ee,features:[e.TTD]}),ee})();const er={provide:ze,useExisting:(0,e.Gpc)(()=>Tr),multi:!0};let Tr=(()=>{class ee extends _o{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=V=>function Xr(ee){return"number"==typeof ee?ee:parseFloat(ee)}(V),this.createValidator=V=>ge(V)}}return ee.\u0275fac=function(){let Q;return function(Ne){return(Q||(Q=e.n5z(ee)))(Ne||ee)}}(),ee.\u0275dir=e.lG2({type:ee,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(V,Ne){2&V&&e.uIk("min",Ne._enabled?Ne.min:null)},inputs:{min:"min"},features:[e._Bn([er]),e.qOj]}),ee})();const _r={provide:ze,useExisting:(0,e.Gpc)(()=>br),multi:!0},tr={provide:ze,useExisting:(0,e.Gpc)(()=>Er),multi:!0};let br=(()=>{class ee extends _o{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e.D6c,this.createValidator=V=>Se}enabled(V){return V}}return ee.\u0275fac=function(){let Q;return function(Ne){return(Q||(Q=e.n5z(ee)))(Ne||ee)}}(),ee.\u0275dir=e.lG2({type:ee,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(V,Ne){2&V&&e.uIk("required",Ne._enabled?"":null)},inputs:{required:"required"},features:[e._Bn([_r]),e.qOj]}),ee})(),Er=(()=>{class ee extends br{constructor(){super(...arguments),this.createValidator=V=>je}}return ee.\u0275fac=function(){let Q;return function(Ne){return(Q||(Q=e.n5z(ee)))(Ne||ee)}}(),ee.\u0275dir=e.lG2({type:ee,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(V,Ne){2&V&&e.uIk("required",Ne._enabled?"":null)},features:[e._Bn([tr]),e.qOj]}),ee})(),yr=(()=>{class ee{}return ee.\u0275fac=function(V){return new(V||ee)},ee.\u0275mod=e.oAB({type:ee}),ee.\u0275inj=e.cJS({imports:[gr]}),ee})();class cr extends Ci{constructor(Q,V,Ne){super(se(V),A(Ne,V)),this.controls=Q,this._initObservables(),this._setUpdateStrategy(V),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(Q){return this.controls[this._adjustIndex(Q)]}push(Q,V={}){this.controls.push(Q),this._registerControl(Q),this.updateValueAndValidity({emitEvent:V.emitEvent}),this._onCollectionChange()}insert(Q,V,Ne={}){this.controls.splice(Q,0,V),this._registerControl(V),this.updateValueAndValidity({emitEvent:Ne.emitEvent})}removeAt(Q,V={}){let Ne=this._adjustIndex(Q);Ne<0&&(Ne=0),this.controls[Ne]&&this.controls[Ne]._registerOnCollectionChange(()=>{}),this.controls.splice(Ne,1),this.updateValueAndValidity({emitEvent:V.emitEvent})}setControl(Q,V,Ne={}){let Mt=this._adjustIndex(Q);Mt<0&&(Mt=0),this.controls[Mt]&&this.controls[Mt]._registerOnCollectionChange(()=>{}),this.controls.splice(Mt,1),V&&(this.controls.splice(Mt,0,V),this._registerControl(V)),this.updateValueAndValidity({emitEvent:Ne.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(Q,V={}){ii(this,!1,Q),Q.forEach((Ne,Mt)=>{Ot(this,!1,Mt),this.at(Mt).setValue(Ne,{onlySelf:!0,emitEvent:V.emitEvent})}),this.updateValueAndValidity(V)}patchValue(Q,V={}){null!=Q&&(Q.forEach((Ne,Mt)=>{this.at(Mt)&&this.at(Mt).patchValue(Ne,{onlySelf:!0,emitEvent:V.emitEvent})}),this.updateValueAndValidity(V))}reset(Q=[],V={}){this._forEachChild((Ne,Mt)=>{Ne.reset(Q[Mt],{onlySelf:!0,emitEvent:V.emitEvent})}),this._updatePristine(V),this._updateTouched(V),this.updateValueAndValidity(V)}getRawValue(){return this.controls.map(Q=>Q.getRawValue())}clear(Q={}){this.controls.length<1||(this._forEachChild(V=>V._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:Q.emitEvent}))}_adjustIndex(Q){return Q<0?Q+this.length:Q}_syncPendingControls(){let Q=this.controls.reduce((V,Ne)=>!!Ne._syncPendingControls()||V,!1);return Q&&this.updateValueAndValidity({onlySelf:!0}),Q}_forEachChild(Q){this.controls.forEach((V,Ne)=>{Q(V,Ne)})}_updateValue(){this.value=this.controls.filter(Q=>Q.enabled||this.disabled).map(Q=>Q.value)}_anyControls(Q){return this.controls.some(V=>V.enabled&&Q(V))}_setUpControls(){this._forEachChild(Q=>this._registerControl(Q))}_allControlsDisabled(){for(const Q of this.controls)if(Q.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(Q){Q.setParent(this),Q._registerOnCollectionChange(this._onCollectionChange)}_find(Q){return this.at(Q)??null}}function ir(ee){return!!ee&&(void 0!==ee.asyncValidators||void 0!==ee.validators||void 0!==ee.updateOn)}let Lo=(()=>{class ee{constructor(){this.useNonNullable=!1}get nonNullable(){const V=new ee;return V.useNonNullable=!0,V}group(V,Ne=null){const Mt=this._reduceControls(V);let Di={};return ir(Ne)?Di=Ne:null!==Ne&&(Di.validators=Ne.validator,Di.asyncValidators=Ne.asyncValidator),new Si(Mt,Di)}record(V,Ne=null){const Mt=this._reduceControls(V);return new Lt(Mt,Ne)}control(V,Ne,Mt){let Di={};return this.useNonNullable?(ir(Ne)?Di=Ne:(Di.validators=Ne,Di.asyncValidators=Mt),new Mn(V,{...Di,nonNullable:!0})):new Mn(V,Ne,Mt)}array(V,Ne,Mt){const Di=V.map(En=>this._createControl(En));return new cr(Di,Ne,Mt)}_reduceControls(V){const Ne={};return Object.keys(V).forEach(Mt=>{Ne[Mt]=this._createControl(V[Mt])}),Ne}_createControl(V){return V instanceof Mn||V instanceof Ci?V:Array.isArray(V)?this.control(V[0],V.length>1?V[1]:null,V.length>2?V[2]:null):this.control(V)}}return ee.\u0275fac=function(V){return new(V||ee)},ee.\u0275prov=e.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})(),Uo=(()=>{class ee extends Lo{group(V,Ne=null){return super.group(V,Ne)}control(V,Ne,Mt){return super.control(V,Ne,Mt)}array(V,Ne,Mt){return super.array(V,Ne,Mt)}}return ee.\u0275fac=function(){let Q;return function(Ne){return(Q||(Q=e.n5z(ee)))(Ne||ee)}}(),ee.\u0275prov=e.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ee})(),Ki=(()=>{class ee{static withConfig(V){return{ngModule:ee,providers:[{provide:et,useValue:V.callSetDisabledState??Ve}]}}}return ee.\u0275fac=function(V){return new(V||ee)},ee.\u0275mod=e.oAB({type:ee}),ee.\u0275inj=e.cJS({imports:[yr]}),ee})(),Sr=(()=>{class ee{static withConfig(V){return{ngModule:ee,providers:[{provide:lo,useValue:V.warnOnNgModelWithFormControl??"always"},{provide:et,useValue:V.callSetDisabledState??Ve}]}}}return ee.\u0275fac=function(V){return new(V||ee)},ee.\u0275mod=e.oAB({type:ee}),ee.\u0275inj=e.cJS({imports:[yr]}),ee})()},2673:(ri,mt,p)=>{p.d(mt,{g:()=>Ee,k:()=>q});var e=p(4650),s=p(3238),T=p(2687),l=p(1281);let b=0;const O=(0,s.Id)(class{}),X="mat-badge-content";let q=(()=>{class de extends O{get color(){return this._color}set color(he){this._setColor(he),this._color=he}get overlap(){return this._overlap}set overlap(he){this._overlap=(0,l.Ig)(he)}get content(){return this._content}set content(he){this._updateRenderedContent(he)}get description(){return this._description}set description(he){this._updateHostAriaDescription(he)}get hidden(){return this._hidden}set hidden(he){this._hidden=(0,l.Ig)(he)}constructor(he,Le,He,Qe,pt){super(),this._ngZone=he,this._elementRef=Le,this._ariaDescriber=He,this._renderer=Qe,this._animationMode=pt,this._color="primary",this._overlap=!0,this.position="above after",this.size="medium",this._id=b++,this._isInitialized=!1}isAbove(){return-1===this.position.indexOf("below")}isAfter(){return-1===this.position.indexOf("before")}getBadgeElement(){return this._badgeElement}ngOnInit(){this._clearExistingBadges(),this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content)),this._isInitialized=!0}ngOnDestroy(){this._renderer.destroyNode&&this._renderer.destroyNode(this._badgeElement),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description)}_createBadgeElement(){const he=this._renderer.createElement("span"),Le="mat-badge-active";return he.setAttribute("id",`mat-badge-content-${this._id}`),he.setAttribute("aria-hidden","true"),he.classList.add(X),"NoopAnimations"===this._animationMode&&he.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(he),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{he.classList.add(Le)})}):he.classList.add(Le),he}_updateRenderedContent(he){const Le=`${he??""}`.trim();this._isInitialized&&Le&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=Le),this._content=Le}_updateHostAriaDescription(he){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),he&&this._ariaDescriber.describe(this._elementRef.nativeElement,he),this._description=he}_setColor(he){const Le=this._elementRef.nativeElement.classList;Le.remove(`mat-badge-${this._color}`),he&&Le.add(`mat-badge-${he}`)}_clearExistingBadges(){const he=this._elementRef.nativeElement.querySelectorAll(`:scope > .${X}`);for(const Le of Array.from(he))Le!==this._badgeElement&&Le.remove()}}return de.\u0275fac=function(he){return new(he||de)(e.Y36(e.R0b),e.Y36(e.SBq),e.Y36(T.$s),e.Y36(e.Qsj),e.Y36(e.QbO,8))},de.\u0275dir=e.lG2({type:de,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(he,Le){2&he&&e.ekj("mat-badge-overlap",Le.overlap)("mat-badge-above",Le.isAbove())("mat-badge-below",!Le.isAbove())("mat-badge-before",!Le.isAfter())("mat-badge-after",Le.isAfter())("mat-badge-small","small"===Le.size)("mat-badge-medium","medium"===Le.size)("mat-badge-large","large"===Le.size)("mat-badge-hidden",Le.hidden||!Le.content)("mat-badge-disabled",Le.disabled)},inputs:{disabled:["matBadgeDisabled","disabled"],color:["matBadgeColor","color"],overlap:["matBadgeOverlap","overlap"],position:["matBadgePosition","position"],content:["matBadge","content"],description:["matBadgeDescription","description"],size:["matBadgeSize","size"],hidden:["matBadgeHidden","hidden"]},features:[e.qOj]}),de})(),Ee=(()=>{class de{}return de.\u0275fac=function(he){return new(he||de)},de.\u0275mod=e.oAB({type:de}),de.\u0275inj=e.cJS({imports:[T.rt,s.BQ,s.BQ]}),de})()},811:(ri,mt,p)=>{p.d(mt,{A9:()=>He,Yi:()=>pt,vV:()=>Re});var e=p(2687),s=p(1281),T=p(5017),l=p(4650),b=p(4006),O=p(3238);const X=["button"],q=["*"],Ee=new l.OlP("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS"),de=new l.OlP("MatButtonToggleGroup"),Be={provide:b.JU,useExisting:(0,l.Gpc)(()=>He),multi:!0};let he=0;class Le{constructor(Me,Pe){this.source=Me,this.value=Pe}}let He=(()=>{class ze{get name(){return this._name}set name(Pe){this._name=Pe,this._markButtonsForCheck()}get vertical(){return this._vertical}set vertical(Pe){this._vertical=(0,s.Ig)(Pe)}get value(){const Pe=this._selectionModel?this._selectionModel.selected:[];return this.multiple?Pe.map(_e=>_e.value):Pe[0]?Pe[0].value:void 0}set value(Pe){this._setSelectionByValue(Pe),this.valueChange.emit(this.value)}get selected(){const Pe=this._selectionModel?this._selectionModel.selected:[];return this.multiple?Pe:Pe[0]||null}get multiple(){return this._multiple}set multiple(Pe){this._multiple=(0,s.Ig)(Pe),this._markButtonsForCheck()}get disabled(){return this._disabled}set disabled(Pe){this._disabled=(0,s.Ig)(Pe),this._markButtonsForCheck()}constructor(Pe,_e){this._changeDetector=Pe,this._vertical=!1,this._multiple=!1,this._disabled=!1,this._controlValueAccessorChangeFn=()=>{},this._onTouched=()=>{},this._name="mat-button-toggle-group-"+he++,this.valueChange=new l.vpe,this.change=new l.vpe,this.appearance=_e&&_e.appearance?_e.appearance:"standard"}ngOnInit(){this._selectionModel=new T.Ov(this.multiple,void 0,!1)}ngAfterContentInit(){this._selectionModel.select(...this._buttonToggles.filter(Pe=>Pe.checked))}writeValue(Pe){this.value=Pe,this._changeDetector.markForCheck()}registerOnChange(Pe){this._controlValueAccessorChangeFn=Pe}registerOnTouched(Pe){this._onTouched=Pe}setDisabledState(Pe){this.disabled=Pe}_emitChangeEvent(Pe){const _e=new Le(Pe,this.value);this._controlValueAccessorChangeFn(_e.value),this.change.emit(_e)}_syncButtonToggle(Pe,_e,ge=!1,le=!1){!this.multiple&&this.selected&&!Pe.checked&&(this.selected.checked=!1),this._selectionModel?_e?this._selectionModel.select(Pe):this._selectionModel.deselect(Pe):le=!0,le?Promise.resolve().then(()=>this._updateModelValue(Pe,ge)):this._updateModelValue(Pe,ge)}_isSelected(Pe){return this._selectionModel&&this._selectionModel.isSelected(Pe)}_isPrechecked(Pe){return!(typeof this._rawValue>"u")&&(this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(_e=>null!=Pe.value&&_e===Pe.value):Pe.value===this._rawValue)}_setSelectionByValue(Pe){this._rawValue=Pe,this._buttonToggles&&(this.multiple&&Pe?(Array.isArray(Pe),this._clearSelection(),Pe.forEach(_e=>this._selectValue(_e))):(this._clearSelection(),this._selectValue(Pe)))}_clearSelection(){this._selectionModel.clear(),this._buttonToggles.forEach(Pe=>Pe.checked=!1)}_selectValue(Pe){const _e=this._buttonToggles.find(ge=>null!=ge.value&&ge.value===Pe);_e&&(_e.checked=!0,this._selectionModel.select(_e))}_updateModelValue(Pe,_e){_e&&this._emitChangeEvent(Pe),this.valueChange.emit(this.value)}_markButtonsForCheck(){this._buttonToggles?.forEach(Pe=>Pe._markForCheck())}}return ze.\u0275fac=function(Pe){return new(Pe||ze)(l.Y36(l.sBO),l.Y36(Ee,8))},ze.\u0275dir=l.lG2({type:ze,selectors:[["mat-button-toggle-group"]],contentQueries:function(Pe,_e,ge){if(1&Pe&&l.Suo(ge,pt,5),2&Pe){let le;l.iGM(le=l.CRH())&&(_e._buttonToggles=le)}},hostAttrs:["role","group",1,"mat-button-toggle-group"],hostVars:5,hostBindings:function(Pe,_e){2&Pe&&(l.uIk("aria-disabled",_e.disabled),l.ekj("mat-button-toggle-vertical",_e.vertical)("mat-button-toggle-group-appearance-standard","standard"===_e.appearance))},inputs:{appearance:"appearance",name:"name",vertical:"vertical",value:"value",multiple:"multiple",disabled:"disabled"},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],features:[l._Bn([Be,{provide:de,useExisting:ze}])]}),ze})();const Qe=(0,O.Kr)(class{});let pt=(()=>{class ze extends Qe{get buttonId(){return`${this.id}-button`}get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(Pe){this._appearance=Pe}get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(Pe){const _e=(0,s.Ig)(Pe);_e!==this._checked&&(this._checked=_e,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(Pe){this._disabled=(0,s.Ig)(Pe)}constructor(Pe,_e,ge,le,Se,je){super(),this._changeDetectorRef=_e,this._elementRef=ge,this._focusMonitor=le,this._checked=!1,this.ariaLabelledby=null,this._disabled=!1,this.change=new l.vpe;const Ke=Number(Se);this.tabIndex=Ke||0===Ke?Ke:null,this.buttonToggleGroup=Pe,this.appearance=je&&je.appearance?je.appearance:"standard"}ngOnInit(){const Pe=this.buttonToggleGroup;this.id=this.id||"mat-button-toggle-"+he++,Pe&&(Pe._isPrechecked(this)?this.checked=!0:Pe._isSelected(this)!==this._checked&&Pe._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){const Pe=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),Pe&&Pe._isSelected(this)&&Pe._syncButtonToggle(this,!1,!1,!0)}focus(Pe){this._buttonElement.nativeElement.focus(Pe)}_onButtonClick(){const Pe=!!this._isSingleSelector()||!this._checked;Pe!==this._checked&&(this._checked=Pe,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.change.emit(new Le(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}_getButtonName(){return this._isSingleSelector()?this.buttonToggleGroup.name:this.name||null}_isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}}return ze.\u0275fac=function(Pe){return new(Pe||ze)(l.Y36(de,8),l.Y36(l.sBO),l.Y36(l.SBq),l.Y36(e.tE),l.$8M("tabindex"),l.Y36(Ee,8))},ze.\u0275cmp=l.Xpm({type:ze,selectors:[["mat-button-toggle"]],viewQuery:function(Pe,_e){if(1&Pe&&l.Gf(X,5),2&Pe){let ge;l.iGM(ge=l.CRH())&&(_e._buttonElement=ge.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:12,hostBindings:function(Pe,_e){1&Pe&&l.NdJ("focus",function(){return _e.focus()}),2&Pe&&(l.uIk("aria-label",null)("aria-labelledby",null)("id",_e.id)("name",null),l.ekj("mat-button-toggle-standalone",!_e.buttonToggleGroup)("mat-button-toggle-checked",_e.checked)("mat-button-toggle-disabled",_e.disabled)("mat-button-toggle-appearance-standard","standard"===_e.appearance))},inputs:{disableRipple:"disableRipple",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",appearance:"appearance",checked:"checked",disabled:"disabled"},outputs:{change:"change"},exportAs:["matButtonToggle"],features:[l.qOj],ngContentSelectors:q,decls:6,vars:9,consts:[["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"id","disabled","click"],["button",""],[1,"mat-button-toggle-label-content"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(Pe,_e){if(1&Pe&&(l.F$t(),l.TgZ(0,"button",0,1),l.NdJ("click",function(){return _e._onButtonClick()}),l.TgZ(2,"span",2),l.Hsn(3),l.qZA()(),l._UZ(4,"span",3)(5,"span",4)),2&Pe){const ge=l.MAs(1);l.Q6J("id",_e.buttonId)("disabled",_e.disabled||null),l.uIk("tabindex",_e.disabled?-1:_e.tabIndex)("aria-pressed",_e.checked)("name",_e._getButtonName())("aria-label",_e.ariaLabel)("aria-labelledby",_e.ariaLabelledby),l.xp6(5),l.Q6J("matRippleTrigger",ge)("matRippleDisabled",_e.disableRipple||_e.disabled)}},dependencies:[O.wG],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;border-radius:2px;-webkit-tap-highlight-color:rgba(0,0,0,0);transform:translateZ(0)}.cdk-high-contrast-active .mat-button-toggle-standalone,.cdk-high-contrast-active .mat-button-toggle-group{outline:solid 1px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:4px}.cdk-high-contrast-active .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.cdk-high-contrast-active .mat-button-toggle-group-appearance-standard{outline:0}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:1}.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{opacity:.04}.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:.12}@media(hover: none){.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;line-height:36px;padding:0 16px;position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0}.cdk-high-contrast-active .mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 36px;opacity:.5;height:0}.cdk-high-contrast-active .mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.cdk-high-contrast-active .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}"],encapsulation:2,changeDetection:0}),ze})(),Re=(()=>{class ze{}return ze.\u0275fac=function(Pe){return new(Pe||ze)},ze.\u0275mod=l.oAB({type:ze}),ze.\u0275inj=l.cJS({imports:[O.BQ,O.si,O.BQ]}),ze})()},4859:(ri,mt,p)=>{p.d(mt,{RK:()=>jt,cs:()=>rt,lW:()=>je,nh:()=>Wt,o6:()=>ai,ot:()=>ot,zs:()=>Ke});var e=p(3353),s=p(4650),T=p(2687),l=p(3238),b=p(1281);const O=["mat-button",""],X=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],q=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],de=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}",Be=["mat-fab",""],he=["mat-mini-fab",""],He=["mat-icon-button",""],Qe=["*"],Me=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],Pe=(0,l.pj)((0,l.Id)((0,l.Kr)(class{constructor(W){this._elementRef=W}})));let _e=(()=>{class W extends Pe{constructor(H,C,Y,$){super(H),this._platform=C,this._ngZone=Y,this._animationMode=$,this._focusMonitor=(0,s.f3M)(T.tE),this._isFab=!1;const we=H.nativeElement.classList;for(const Fe of Me)this._hasHostAttributes(Fe.selector)&&Fe.mdcClasses.forEach(_t=>{we.add(_t)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(H="program",C){H?this._focusMonitor.focusVia(this._elementRef.nativeElement,H,C):this._elementRef.nativeElement.focus(C)}_hasHostAttributes(...H){return H.some(C=>this._elementRef.nativeElement.hasAttribute(C))}_isRippleDisabled(){return this.disableRipple||this.disabled}}return W.\u0275fac=function(H){s.$Z()},W.\u0275dir=s.lG2({type:W,viewQuery:function(H,C){if(1&H&&s.Gf(l.wG,5),2&H){let Y;s.iGM(Y=s.CRH())&&(C.ripple=Y.first)}},features:[s.qOj]}),W})(),Se=(()=>{class W extends _e{constructor(H,C,Y,$){super(H,C,Y,$),this._haltDisabledEvents=we=>{this.disabled&&(we.preventDefault(),we.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}return W.\u0275fac=function(H){s.$Z()},W.\u0275dir=s.lG2({type:W,features:[s.qOj]}),W})(),je=(()=>{class W extends _e{constructor(H,C,Y,$){super(H,C,Y,$)}}return W.\u0275fac=function(H){return new(H||W)(s.Y36(s.SBq),s.Y36(e.t4),s.Y36(s.R0b),s.Y36(s.QbO,8))},W.\u0275cmp=s.Xpm({type:W,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(H,C){2&H&&(s.uIk("disabled",C.disabled||null),s.ekj("_mat-animation-noopable","NoopAnimations"===C._animationMode)("mat-unthemed",!C.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[s.qOj],attrs:O,ngContentSelectors:q,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(H,C){1&H&&(s.F$t(X),s._UZ(0,"span",0),s.Hsn(1),s.TgZ(2,"span",1),s.Hsn(3,1),s.qZA(),s.Hsn(4,2),s._UZ(5,"span",2)(6,"span",3)(7,"span",4)),2&H&&(s.ekj("mdc-button__ripple",!C._isFab)("mdc-fab__ripple",C._isFab),s.xp6(6),s.Q6J("matRippleDisabled",C._isRippleDisabled())("matRippleTrigger",C._elementRef.nativeElement))},dependencies:[l.wG],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n      100% + 4px\n    );width:calc(\n      100% + 4px\n    );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0}),W})(),Ke=(()=>{class W extends Se{constructor(H,C,Y,$){super(H,C,Y,$)}}return W.\u0275fac=function(H){return new(H||W)(s.Y36(s.SBq),s.Y36(e.t4),s.Y36(s.R0b),s.Y36(s.QbO,8))},W.\u0275cmp=s.Xpm({type:W,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:9,hostBindings:function(H,C){2&H&&(s.uIk("disabled",C.disabled||null)("tabindex",C.disabled?-1:C.tabIndex)("aria-disabled",C.disabled.toString()),s.ekj("_mat-animation-noopable","NoopAnimations"===C._animationMode)("mat-unthemed",!C.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[s.qOj],attrs:O,ngContentSelectors:q,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(H,C){1&H&&(s.F$t(X),s._UZ(0,"span",0),s.Hsn(1),s.TgZ(2,"span",1),s.Hsn(3,1),s.qZA(),s.Hsn(4,2),s._UZ(5,"span",2)(6,"span",3)(7,"span",4)),2&H&&(s.ekj("mdc-button__ripple",!C._isFab)("mdc-fab__ripple",C._isFab),s.xp6(6),s.Q6J("matRippleDisabled",C._isRippleDisabled())("matRippleTrigger",C._elementRef.nativeElement))},dependencies:[l.wG],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n      100% + 4px\n    );width:calc(\n      100% + 4px\n    );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',de],encapsulation:2,changeDetection:0}),W})();const Ge=new s.OlP("mat-mdc-fab-default-options",{providedIn:"root",factory:vt});function vt(){return{color:"accent"}}const xe=vt();let rt=(()=>{class W extends _e{get extended(){return this._extended}set extended(H){this._extended=(0,b.Ig)(H)}constructor(H,C,Y,$,we){super(H,C,Y,$),this._options=we,this._isFab=!0,this._options=this._options||xe,this.color=this.defaultColor=this._options.color||xe.color}}return W.\u0275fac=function(H){return new(H||W)(s.Y36(s.SBq),s.Y36(e.t4),s.Y36(s.R0b),s.Y36(s.QbO,8),s.Y36(Ge,8))},W.\u0275cmp=s.Xpm({type:W,selectors:[["button","mat-fab",""]],hostVars:11,hostBindings:function(H,C){2&H&&(s.uIk("disabled",C.disabled||null),s.ekj("_mat-animation-noopable","NoopAnimations"===C._animationMode)("mat-unthemed",!C.color)("mat-mdc-button-base",!0)("mdc-fab--extended",C.extended)("mat-mdc-extended-fab",C.extended))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",extended:"extended"},exportAs:["matButton"],features:[s.qOj],attrs:Be,ngContentSelectors:q,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(H,C){1&H&&(s.F$t(X),s._UZ(0,"span",0),s.Hsn(1),s.TgZ(2,"span",1),s.Hsn(3,1),s.qZA(),s.Hsn(4,2),s._UZ(5,"span",2)(6,"span",3)(7,"span",4)),2&H&&(s.ekj("mdc-button__ripple",!C._isFab)("mdc-fab__ripple",C._isFab),s.xp6(6),s.Q6J("matRippleDisabled",C._isRippleDisabled())("matRippleTrigger",C._elementRef.nativeElement))},dependencies:[l.wG],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n      100% + 4px\n    );width:calc(\n      100% + 4px\n    )}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab .mdc-fab__icon{width:24px;height:24px;font-size:24px}.mdc-fab:not(.mdc-fab--extended){border-radius:50%}.mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:50%}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);background-color:var(--mdc-fab-container-color, transparent);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);color:var(--mat-mdc-fab-color, inherit);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(:disabled) .mdc-fab__icon,.mat-mdc-mini-fab:not(:disabled) .mdc-fab__icon{color:var(--mdc-fab-icon-color, inherit)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-extended-fab{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:24px}.mat-mdc-extended-fab .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}'],encapsulation:2,changeDetection:0}),W})(),Wt=(()=>{class W extends _e{constructor(H,C,Y,$,we){super(H,C,Y,$),this._options=we,this._isFab=!0,this._options=this._options||xe,this.color=this.defaultColor=this._options.color||xe.color}}return W.\u0275fac=function(H){return new(H||W)(s.Y36(s.SBq),s.Y36(e.t4),s.Y36(s.R0b),s.Y36(s.QbO,8),s.Y36(Ge,8))},W.\u0275cmp=s.Xpm({type:W,selectors:[["button","mat-mini-fab",""]],hostVars:7,hostBindings:function(H,C){2&H&&(s.uIk("disabled",C.disabled||null),s.ekj("_mat-animation-noopable","NoopAnimations"===C._animationMode)("mat-unthemed",!C.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[s.qOj],attrs:he,ngContentSelectors:q,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(H,C){1&H&&(s.F$t(X),s._UZ(0,"span",0),s.Hsn(1),s.TgZ(2,"span",1),s.Hsn(3,1),s.qZA(),s.Hsn(4,2),s._UZ(5,"span",2)(6,"span",3)(7,"span",4)),2&H&&(s.ekj("mdc-button__ripple",!C._isFab)("mdc-fab__ripple",C._isFab),s.xp6(6),s.Q6J("matRippleDisabled",C._isRippleDisabled())("matRippleTrigger",C._elementRef.nativeElement))},dependencies:[l.wG],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n      100% + 4px\n    );width:calc(\n      100% + 4px\n    )}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab .mdc-fab__icon{width:24px;height:24px;font-size:24px}.mdc-fab:not(.mdc-fab--extended){border-radius:50%}.mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:50%}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);background-color:var(--mdc-fab-container-color, transparent);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);color:var(--mat-mdc-fab-color, inherit);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(:disabled) .mdc-fab__icon,.mat-mdc-mini-fab:not(:disabled) .mdc-fab__icon{color:var(--mdc-fab-icon-color, inherit)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-extended-fab{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:24px}.mat-mdc-extended-fab .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}'],encapsulation:2,changeDetection:0}),W})(),jt=(()=>{class W extends _e{constructor(H,C,Y,$){super(H,C,Y,$)}}return W.\u0275fac=function(H){return new(H||W)(s.Y36(s.SBq),s.Y36(e.t4),s.Y36(s.R0b),s.Y36(s.QbO,8))},W.\u0275cmp=s.Xpm({type:W,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function(H,C){2&H&&(s.uIk("disabled",C.disabled||null),s.ekj("_mat-animation-noopable","NoopAnimations"===C._animationMode)("mat-unthemed",!C.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[s.qOj],attrs:He,ngContentSelectors:Qe,decls:5,vars:3,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(H,C){1&H&&(s.F$t(),s._UZ(0,"span",0),s.Hsn(1),s._UZ(2,"span",1)(3,"span",2)(4,"span",3)),2&H&&(s.xp6(3),s.Q6J("matRippleDisabled",C._isRippleDisabled())("matRippleCentered",!0)("matRippleTrigger",C._elementRef.nativeElement))},dependencies:[l.wG],styles:['.mdc-icon-button{font-size:24px;width:48px;height:48px;padding:12px}.mdc-icon-button .mdc-icon-button__focus-ring{max-height:48px;max-width:48px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:40px;height:40px;margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:40px;max-width:40px}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button svg,.mdc-icon-button img{width:24px;height:24px}.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size, 48px);width:var(--mdc-icon-button-state-layer-size, 48px);color:var(--mdc-icon-button-icon-color, inherit);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity, 0.38)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color, #000)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',de],encapsulation:2,changeDetection:0}),W})(),ai=(()=>{class W extends Se{constructor(H,C,Y,$){super(H,C,Y,$)}}return W.\u0275fac=function(H){return new(H||W)(s.Y36(s.SBq),s.Y36(e.t4),s.Y36(s.R0b),s.Y36(s.QbO,8))},W.\u0275cmp=s.Xpm({type:W,selectors:[["a","mat-icon-button",""]],hostVars:9,hostBindings:function(H,C){2&H&&(s.uIk("disabled",C.disabled||null)("tabindex",C.disabled?-1:C.tabIndex)("aria-disabled",C.disabled.toString()),s.ekj("_mat-animation-noopable","NoopAnimations"===C._animationMode)("mat-unthemed",!C.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[s.qOj],attrs:He,ngContentSelectors:q,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(H,C){1&H&&(s.F$t(X),s._UZ(0,"span",0),s.Hsn(1),s.TgZ(2,"span",1),s.Hsn(3,1),s.qZA(),s.Hsn(4,2),s._UZ(5,"span",2)(6,"span",3)(7,"span",4)),2&H&&(s.ekj("mdc-button__ripple",!C._isFab)("mdc-fab__ripple",C._isFab),s.xp6(6),s.Q6J("matRippleDisabled",C._isRippleDisabled())("matRippleTrigger",C._elementRef.nativeElement))},dependencies:[l.wG],styles:['.mdc-icon-button{font-size:24px;width:48px;height:48px;padding:12px}.mdc-icon-button .mdc-icon-button__focus-ring{max-height:48px;max-width:48px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:40px;height:40px;margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:40px;max-width:40px}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button svg,.mdc-icon-button img{width:24px;height:24px}.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size, 48px);width:var(--mdc-icon-button-state-layer-size, 48px);color:var(--mdc-icon-button-icon-color, inherit);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity, 0.38)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color, #000)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',de],encapsulation:2,changeDetection:0}),W})(),ot=(()=>{class W{}return W.\u0275fac=function(H){return new(H||W)},W.\u0275mod=s.oAB({type:W}),W.\u0275inj=s.cJS({imports:[l.BQ,l.si,l.BQ]}),W})()},3546:(ri,mt,p)=>{p.d(mt,{$j:()=>He,QW:()=>je,a8:()=>de,dk:()=>pt,dn:()=>Le,hq:()=>Qe,n5:()=>Be});var e=p(4650),s=p(6895),T=p(3238);const l=["*"],X=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],q=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n      [mat-card-title], [mat-card-subtitle],\n      [matCardTitle], [matCardSubtitle]","*"],Ee=new e.OlP("MAT_CARD_CONFIG");let de=(()=>{class Ke{constructor(vt){this.appearance=vt?.appearance||"raised"}}return Ke.\u0275fac=function(vt){return new(vt||Ke)(e.Y36(Ee,8))},Ke.\u0275cmp=e.Xpm({type:Ke,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(vt,xe){2&vt&&e.ekj("mat-mdc-card-outlined","outlined"===xe.appearance)("mdc-card--outlined","outlined"===xe.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:l,decls:1,vars:0,template:function(vt,xe){1&vt&&(e.F$t(),e.Hsn(0))},styles:['.mdc-card{display:flex;flex-direction:column;box-sizing:border-box}.mdc-card::after{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none;pointer-events:none}@media screen and (forced-colors: active){.mdc-card::after{border-color:CanvasText}}.mdc-card--outlined::after{border:none}.mdc-card__content{border-radius:inherit;height:100%}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__media--square::before{margin-top:100%}.mdc-card__media--16-9::before{margin-top:56.25%}.mdc-card__media-content{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box}.mdc-card__primary-action{display:flex;flex-direction:column;box-sizing:border-box;position:relative;outline:none;color:inherit;text-decoration:none;cursor:pointer;overflow:hidden}.mdc-card__primary-action:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__primary-action:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mdc-card__actions--full-bleed{padding:0}.mdc-card__action-buttons,.mdc-card__action-icons{display:flex;flex-direction:row;align-items:center;box-sizing:border-box}.mdc-card__action-icons{flex-grow:1;justify-content:flex-end}.mdc-card__action-buttons+.mdc-card__action-icons{margin-left:16px;margin-right:0}[dir=rtl] .mdc-card__action-buttons+.mdc-card__action-icons,.mdc-card__action-buttons+.mdc-card__action-icons[dir=rtl]{margin-left:0;margin-right:16px}.mdc-card__action{display:inline-flex;flex-direction:row;align-items:center;box-sizing:border-box;justify-content:center;cursor:pointer;user-select:none}.mdc-card__action:focus{outline:none}.mdc-card__action--button{margin-left:0;margin-right:8px;padding:0 8px}[dir=rtl] .mdc-card__action--button,.mdc-card__action--button[dir=rtl]{margin-left:8px;margin-right:0}.mdc-card__action--button:last-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-card__action--button:last-child,.mdc-card__action--button:last-child[dir=rtl]{margin-left:0;margin-right:0}.mdc-card__actions--full-bleed .mdc-card__action--button{justify-content:space-between;width:100%;height:auto;max-height:none;margin:0;padding:8px 16px;text-align:left}[dir=rtl] .mdc-card__actions--full-bleed .mdc-card__action--button,.mdc-card__actions--full-bleed .mdc-card__action--button[dir=rtl]{text-align:right}.mdc-card__action--icon{margin:-6px 0;padding:12px}.mat-mdc-card{position:relative;border-radius:var(--mdc-elevated-card-container-shape, var(--mdc-shape-medium, 4px));background-color:var(--mdc-elevated-card-container-color, transparent);border-width:0;border-style:solid;border-color:var(--mdc-elevated-card-container-color, transparent)}.mat-mdc-card .mdc-card::after{border-radius:var(--mdc-elevated-card-container-shape, var(--mdc-shape-medium, 4px))}.mat-mdc-card-outlined{border-width:var(--mdc-outlined-card-outline-width, 1px);border-style:solid;border-color:var(--mdc-outlined-card-outline-color, transparent)}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}'],encapsulation:2,changeDetection:0}),Ke})(),Be=(()=>{class Ke{}return Ke.\u0275fac=function(vt){return new(vt||Ke)},Ke.\u0275dir=e.lG2({type:Ke,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]}),Ke})(),Le=(()=>{class Ke{}return Ke.\u0275fac=function(vt){return new(vt||Ke)},Ke.\u0275dir=e.lG2({type:Ke,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]}),Ke})(),He=(()=>{class Ke{}return Ke.\u0275fac=function(vt){return new(vt||Ke)},Ke.\u0275dir=e.lG2({type:Ke,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"]}),Ke})(),Qe=(()=>{class Ke{constructor(){this.align="start"}}return Ke.\u0275fac=function(vt){return new(vt||Ke)},Ke.\u0275dir=e.lG2({type:Ke,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(vt,xe){2&vt&&e.ekj("mat-mdc-card-actions-align-end","end"===xe.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),Ke})(),pt=(()=>{class Ke{}return Ke.\u0275fac=function(vt){return new(vt||Ke)},Ke.\u0275cmp=e.Xpm({type:Ke,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:q,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(vt,xe){1&vt&&(e.F$t(X),e.Hsn(0),e.TgZ(1,"div",0),e.Hsn(2,1),e.qZA(),e.Hsn(3,2))},encapsulation:2,changeDetection:0}),Ke})(),je=(()=>{class Ke{}return Ke.\u0275fac=function(vt){return new(vt||Ke)},Ke.\u0275mod=e.oAB({type:Ke}),Ke.\u0275inj=e.cJS({imports:[T.BQ,s.ez,T.BQ]}),Ke})()},6709:(ri,mt,p)=>{p.d(mt,{oG:()=>pt,p9:()=>Pe});var e=p(4650),s=p(4006),T=p(3238),l=p(1281);const b=["input"],O=["label"],X=["*"],q=new e.OlP("mat-checkbox-default-options",{providedIn:"root",factory:Ee});function Ee(){return{color:"accent",clickAction:"check-indeterminate"}}const de={provide:s.JU,useExisting:(0,e.Gpc)(()=>pt),multi:!0};class Be{}let he=0;const Le=Ee(),He=(0,T.sb)((0,T.pj)((0,T.Kr)((0,T.Id)(class{constructor(_e){this._elementRef=_e}}))));let Qe=(()=>{class _e extends He{get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(le){this._required=(0,l.Ig)(le)}constructor(le,Se,je,Ke,Ge,vt,xe){super(Se),this._changeDetectorRef=je,this._ngZone=Ke,this._animationMode=vt,this._options=xe,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new e.vpe,this.indeterminateChange=new e.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||Le,this.color=this.defaultColor=this._options.color||Le.color,this.tabIndex=parseInt(Ge)||0,this.id=this._uniqueId=`${le}${++he}`}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(le){const Se=(0,l.Ig)(le);Se!=this.checked&&(this._checked=Se,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(le){const Se=(0,l.Ig)(le);Se!==this.disabled&&(this._disabled=Se,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(le){const Se=le!=this._indeterminate;this._indeterminate=(0,l.Ig)(le),Se&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(le){this.checked=!!le}registerOnChange(le){this._controlValueAccessorChangeFn=le}registerOnTouched(le){this._onTouched=le}setDisabledState(le){this.disabled=le}_transitionCheckState(le){let Se=this._currentCheckState,je=this._getAnimationTargetElement();if(Se!==le&&je&&(this._currentAnimationClass&&je.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(Se,le),this._currentCheckState=le,this._currentAnimationClass.length>0)){je.classList.add(this._currentAnimationClass);const Ke=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{je.classList.remove(Ke)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const le=this._options?.clickAction;this.disabled||"noop"===le?!this.disabled&&"noop"===le&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==le&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(le){le.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(le,Se){if("NoopAnimations"===this._animationMode)return"";switch(le){case 0:if(1===Se)return this._animationClasses.uncheckedToChecked;if(3==Se)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===Se?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===Se?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===Se?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(le){const Se=this._inputElement;Se&&(Se.nativeElement.indeterminate=le)}}return _e.\u0275fac=function(le){e.$Z()},_e.\u0275dir=e.lG2({type:_e,viewQuery:function(le,Se){if(1&le&&(e.Gf(b,5),e.Gf(O,5),e.Gf(T.wG,5)),2&le){let je;e.iGM(je=e.CRH())&&(Se._inputElement=je.first),e.iGM(je=e.CRH())&&(Se._labelElement=je.first),e.iGM(je=e.CRH())&&(Se.ripple=je.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[e.qOj]}),_e})(),pt=(()=>{class _e extends Qe{constructor(le,Se,je,Ke,Ge,vt){super("mat-mdc-checkbox-",le,Se,je,Ke,Ge,vt),this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"}}focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(le){const Se=new Be;return Se.source=this,Se.checked=le,Se}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_onInputClick(){super._handleInputClick()}_onTouchTargetClick(){super._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(le){le.target&&this._labelElement.nativeElement.contains(le.target)&&le.stopPropagation()}}return _e.\u0275fac=function(le){return new(le||_e)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(e.R0b),e.$8M("tabindex"),e.Y36(e.QbO,8),e.Y36(q,8))},_e.\u0275cmp=e.Xpm({type:_e,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-mdc-checkbox"],hostVars:12,hostBindings:function(le,Se){2&le&&(e.Ikx("id",Se.id),e.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null),e.ekj("_mat-animation-noopable","NoopAnimations"===Se._animationMode)("mdc-checkbox--disabled",Se.disabled)("mat-mdc-checkbox-disabled",Se.disabled)("mat-mdc-checkbox-checked",Se.checked))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[e._Bn([de]),e.qOj],ngContentSelectors:X,decls:15,vars:19,consts:[[1,"mdc-form-field",3,"click"],[1,"mdc-checkbox"],["checkbox",""],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","indeterminate","disabled","id","required","tabIndex","blur","click","change"],["input",""],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[3,"for"],["label",""]],template:function(le,Se){if(1&le&&(e.F$t(),e.TgZ(0,"div",0),e.NdJ("click",function(Ke){return Se._preventBubblingFromLabel(Ke)}),e.TgZ(1,"div",1,2)(3,"div",3),e.NdJ("click",function(){return Se._onTouchTargetClick()}),e.qZA(),e.TgZ(4,"input",4,5),e.NdJ("blur",function(){return Se._onBlur()})("click",function(){return Se._onInputClick()})("change",function(Ke){return Se._onInteractionEvent(Ke)}),e.qZA(),e._UZ(6,"div",6),e.TgZ(7,"div",7),e.O4$(),e.TgZ(8,"svg",8),e._UZ(9,"path",9),e.qZA(),e.kcU(),e._UZ(10,"div",10),e.qZA(),e._UZ(11,"div",11),e.qZA(),e.TgZ(12,"label",12,13),e.Hsn(14),e.qZA()()),2&le){const je=e.MAs(2);e.ekj("mdc-form-field--align-end","before"==Se.labelPosition),e.xp6(4),e.ekj("mdc-checkbox--selected",Se.checked),e.Q6J("checked",Se.checked)("indeterminate",Se.indeterminate)("disabled",Se.disabled)("id",Se.inputId)("required",Se.required)("tabIndex",Se.tabIndex),e.uIk("aria-label",Se.ariaLabel||null)("aria-labelledby",Se.ariaLabelledby)("aria-describedby",Se.ariaDescribedby)("name",Se.name)("value",Se.value),e.xp6(7),e.Q6J("matRippleTrigger",je)("matRippleDisabled",Se.disableRipple||Se.disabled)("matRippleCentered",!0),e.xp6(1),e.Q6J("for",Se.inputId)}},dependencies:[T.wG],styles:['.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size, 48px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);width:var(--mdc-checkbox-state-layer-size, 48px);height:var(--mdc-checkbox-state-layer-size, 48px)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, rgba(0, 0, 0, 0.38));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color, rgba(0, 0, 0, 0.38))}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);width:var(--mdc-checkbox-state-layer-size, 40px);height:var(--mdc-checkbox-state-layer-size, 40px)}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:not([disabled])~.mdc-checkbox__ripple{opacity:.04;transform:scale(1);transition:opacity 80ms 0 cubic-bezier(0, 0, 0.2, 1),transform 80ms 0 cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:not([disabled]):focus~.mdc-checkbox__ripple{opacity:.16}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default}.mat-mdc-checkbox label:empty{display:none}.mat-mdc-checkbox .mdc-checkbox__native-control:focus:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, black)}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),_e})(),Me=(()=>{class _e{}return _e.\u0275fac=function(le){return new(le||_e)},_e.\u0275mod=e.oAB({type:_e}),_e.\u0275inj=e.cJS({}),_e})(),Pe=(()=>{class _e{}return _e.\u0275fac=function(le){return new(le||_e)},_e.\u0275mod=e.oAB({type:_e}),_e.\u0275inj=e.cJS({imports:[T.BQ,T.si,Me,T.BQ,Me]}),_e})()},7331:(ri,mt,p)=>{p.d(mt,{EC:()=>Y,HS:()=>it,Hi:()=>Gt,T:()=>$,z2:()=>ve});var e=p(1281),s=p(4650),T=p(6895),l=p(3238),b=p(2687),O=p(7579),X=p(6451),q=p(5698),Ee=p(2722),de=p(8675),Be=p(3900),he=p(9521),Le=p(445),He=p(4006);function pt(te,Ae){1&te&&(s.TgZ(0,"span",8),s.Hsn(1,1),s.qZA())}function Re(te,Ae){1&te&&(s.TgZ(0,"span",9),s.Hsn(1,2),s.qZA())}p(9549);const ze=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],Me=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function Pe(te,Ae){1&te&&(s.TgZ(0,"span",9),s.Hsn(1,1),s.TgZ(2,"span",10),s.O4$(),s.TgZ(3,"svg",11),s._UZ(4,"path",12),s.qZA()()())}function _e(te,Ae){1&te&&(s.TgZ(0,"span",13),s.Hsn(1,2),s.qZA())}const Wt=["*"],gi=new s.OlP("mat-chips-default-options"),jt=new s.OlP("MatChipAvatar"),ai=new s.OlP("MatChipTrailingIcon"),ot=new s.OlP("MatChipRemove"),W=new s.OlP("MatChip");class j{}const H=(0,l.sb)(j,-1);let C=(()=>{class te extends H{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(B){this._disabled=(0,e.Ig)(B)}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(B,pe){super(),this._elementRef=B,this._parentChip=pe,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this._allowFocusWhenDisabled=!1,"BUTTON"===B.nativeElement.nodeName&&B.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(B){!this.disabled&&this.isInteractive&&this._isPrimary&&(B.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(B){(B.keyCode===he.K5||B.keyCode===he.L_)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(B.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}}return te.\u0275fac=function(B){return new(B||te)(s.Y36(s.SBq),s.Y36(W))},te.\u0275dir=s.lG2({type:te,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(B,pe){1&B&&s.NdJ("click",function(Vt){return pe._handleClick(Vt)})("keydown",function(Vt){return pe._handleKeydown(Vt)}),2&B&&(s.uIk("tabindex",pe._getTabindex())("disabled",pe._getDisabledAttribute())("aria-disabled",pe.disabled),s.ekj("mdc-evolution-chip__action--primary",pe._isPrimary)("mdc-evolution-chip__action--presentational",!pe.isInteractive)("mdc-evolution-chip__action--trailing",!pe._isPrimary))},inputs:{disabled:"disabled",tabIndex:"tabIndex",isInteractive:"isInteractive",_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[s.qOj]}),te})(),Y=(()=>{class te{}return te.\u0275fac=function(B){return new(B||te)},te.\u0275dir=s.lG2({type:te,selectors:[["mat-chip-avatar"],["","matChipAvatar",""]],hostAttrs:["role","img",1,"mat-mdc-chip-avatar","mdc-evolution-chip__icon","mdc-evolution-chip__icon--primary"],features:[s._Bn([{provide:jt,useExisting:te}])]}),te})(),$=(()=>{class te extends C{constructor(){super(...arguments),this.isInteractive=!1,this._isPrimary=!1}}return te.\u0275fac=function(){let Ae;return function(pe){return(Ae||(Ae=s.n5z(te)))(pe||te)}}(),te.\u0275dir=s.lG2({type:te,selectors:[["mat-chip-trailing-icon"],["","matChipTrailingIcon",""]],hostAttrs:["aria-hidden","true",1,"mat-mdc-chip-trailing-icon","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],features:[s._Bn([{provide:ai,useExisting:te}]),s.qOj]}),te})(),Fe=0;const _t=(0,l.sb)((0,l.pj)((0,l.Kr)((0,l.Id)(class{constructor(te){this._elementRef=te}})),"primary"),-1);let it=(()=>{class te extends _t{_hasFocus(){return this._hasFocusInternal}get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(B){this._value=B}get removable(){return this._removable}set removable(B){this._removable=(0,e.Ig)(B)}get highlighted(){return this._highlighted}set highlighted(B){this._highlighted=(0,e.Ig)(B)}constructor(B,pe,Ut,Vt,be,st,Z,ke){super(pe),this._changeDetectorRef=B,this._ngZone=Ut,this._focusMonitor=Vt,this._globalRippleOptions=Z,this._isRippleCentered=!1,this._onFocus=new O.x,this._onBlur=new O.x,this.role=null,this._hasFocusInternal=!1,this.id="mat-mdc-chip-"+Fe++,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this._removable=!0,this._highlighted=!1,this.removed=new s.vpe,this.destroyed=new s.vpe,this.basicChipAttrName="mat-basic-chip",this._document=be,this._animationsDisabled="NoopAnimations"===st,null!=ke&&(this.tabIndex=parseInt(ke)??this.defaultTabIndex),this._monitorFocus()}ngOnInit(){const B=this._elementRef.nativeElement;this._isBasicChip=B.hasAttribute(this.basicChipAttrName)||B.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=(0,X.T)(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!(!this.trailingIcon&&!this.removeIcon)}_handleKeydown(B){(B.keyCode===he.ZH||B.keyCode===he.yY)&&(B.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(B){return this._getActions().find(pe=>{const Ut=pe._elementRef.nativeElement;return Ut===B||Ut.contains(B)})}_getActions(){const B=[];return this.primaryAction&&B.push(this.primaryAction),this.removeIcon&&B.push(this.removeIcon),this.trailingIcon&&B.push(this.trailingIcon),B}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(B=>{const pe=null!==B;pe!==this._hasFocusInternal&&(this._hasFocusInternal=pe,pe?this._onFocus.next({chip:this}):this._ngZone.onStable.pipe((0,q.q)(1)).subscribe(()=>this._ngZone.run(()=>this._onBlur.next({chip:this}))))})}}return te.\u0275fac=function(B){return new(B||te)(s.Y36(s.sBO),s.Y36(s.SBq),s.Y36(s.R0b),s.Y36(b.tE),s.Y36(T.K0),s.Y36(s.QbO,8),s.Y36(l.Y2,8),s.$8M("tabindex"))},te.\u0275cmp=s.Xpm({type:te,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(B,pe,Ut){if(1&B&&(s.Suo(Ut,jt,5),s.Suo(Ut,ai,5),s.Suo(Ut,ot,5),s.Suo(Ut,jt,5),s.Suo(Ut,ai,5),s.Suo(Ut,ot,5)),2&B){let Vt;s.iGM(Vt=s.CRH())&&(pe.leadingIcon=Vt.first),s.iGM(Vt=s.CRH())&&(pe.trailingIcon=Vt.first),s.iGM(Vt=s.CRH())&&(pe.removeIcon=Vt.first),s.iGM(Vt=s.CRH())&&(pe._allLeadingIcons=Vt),s.iGM(Vt=s.CRH())&&(pe._allTrailingIcons=Vt),s.iGM(Vt=s.CRH())&&(pe._allRemoveIcons=Vt)}},viewQuery:function(B,pe){if(1&B&&(s.Gf(l.wG,5),s.Gf(C,5)),2&B){let Ut;s.iGM(Ut=s.CRH())&&(pe.ripple=Ut.first),s.iGM(Ut=s.CRH())&&(pe.primaryAction=Ut.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:30,hostBindings:function(B,pe){1&B&&s.NdJ("keydown",function(Vt){return pe._handleKeydown(Vt)}),2&B&&(s.Ikx("id",pe.id),s.uIk("role",pe.role)("tabindex",pe.role?pe.tabIndex:null)("aria-label",pe.ariaLabel),s.ekj("mdc-evolution-chip",!pe._isBasicChip)("mdc-evolution-chip--disabled",pe.disabled)("mdc-evolution-chip--with-trailing-action",pe._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",pe.leadingIcon)("mdc-evolution-chip--with-primary-icon",pe.leadingIcon)("mdc-evolution-chip--with-avatar",pe.leadingIcon)("mat-mdc-chip-with-avatar",pe.leadingIcon)("mat-mdc-chip-highlighted",pe.highlighted)("mat-mdc-chip-disabled",pe.disabled)("mat-mdc-basic-chip",pe._isBasicChip)("mat-mdc-standard-chip",!pe._isBasicChip)("mat-mdc-chip-with-trailing-icon",pe._hasTrailingIcon())("_mat-animation-noopable",pe._animationsDisabled))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",id:"id",ariaLabel:["aria-label","ariaLabel"],ariaDescription:["aria-description","ariaDescription"],value:"value",removable:"removable",highlighted:"highlighted"},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[s._Bn([{provide:W,useExisting:te}]),s.qOj],ngContentSelectors:Me,decls:9,vars:6,consts:[["matRipple","",1,"mat-mdc-chip-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing",4,"ngIf"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(B,pe){1&B&&(s.F$t(ze),s._UZ(0,"span",0)(1,"span",1),s.TgZ(2,"span",2)(3,"span",3),s.YNc(4,pt,2,0,"span",4),s.TgZ(5,"span",5),s.Hsn(6),s._UZ(7,"span",6),s.qZA()()(),s.YNc(8,Re,2,0,"span",7)),2&B&&(s.Q6J("matRippleDisabled",pe._isRippleDisabled())("matRippleCentered",pe._isRippleCentered)("matRippleTrigger",pe._elementRef.nativeElement),s.xp6(3),s.Q6J("isInteractive",!1),s.xp6(1),s.Q6J("ngIf",pe.leadingIcon),s.xp6(4),s.Q6J("ngIf",pe._hasTrailingIcon()))},dependencies:[T.O5,l.wG,C],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__graphic{height:24px;width:24px;font-size:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__icon--primary{height:24px;width:24px;font-size:24px}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0);border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 14px 14px 14px 14px)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size, 28px);width:var(--mdc-chip-with-avatar-avatar-size, 28px);font-size:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-outline-width, 1px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-outline-width, 1px)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--selected) .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-unselected-outline-width, 1px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color, transparent)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size, 18px);width:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, currentColor)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{width:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),te})(),lt=(()=>{class te extends it{constructor(){super(...arguments),this._defaultOptions=(0,s.f3M)(gi,{optional:!0}),this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListHideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._selectable=!0,this._selected=!1,this.basicChipAttrName="mat-basic-chip-option",this.selectionChange=new s.vpe}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(B){this._selectable=(0,e.Ig)(B),this._changeDetectorRef.markForCheck()}get selected(){return this._selected}set selected(B){this._setSelectedState((0,e.Ig)(B),!1,!0)}get ariaSelected(){return this.selectable?this.selected.toString():null}ngOnInit(){super.ngOnInit(),this.role="presentation"}select(){this._setSelectedState(!0,!1,!0)}deselect(){this._setSelectedState(!1,!1,!0)}selectViaInteraction(){this._setSelectedState(!0,!0,!0)}toggleSelected(B=!1){return this._setSelectedState(!this.selected,B,!0),this.selected}_handlePrimaryActionInteraction(){this.selectable&&!this.disabled&&this.toggleSelected(!0)}_hasLeadingGraphic(){return!!this.leadingIcon||!this._chipListHideSingleSelectionIndicator||this._chipListMultiple}_setSelectedState(B,pe,Ut){B!==this.selected&&(this._selected=B,Ut&&this.selectionChange.emit({source:this,isUserInput:pe,selected:this.selected}),this._changeDetectorRef.markForCheck())}}return te.\u0275fac=function(){let Ae;return function(pe){return(Ae||(Ae=s.n5z(te)))(pe||te)}}(),te.\u0275cmp=s.Xpm({type:te,selectors:[["mat-basic-chip-option"],["","mat-basic-chip-option",""],["mat-chip-option"],["","mat-chip-option",""]],hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-option"],hostVars:37,hostBindings:function(B,pe){2&B&&(s.Ikx("id",pe.id),s.uIk("tabindex",null)("aria-label",null)("aria-description",null)("role",pe.role),s.ekj("mdc-evolution-chip",!pe._isBasicChip)("mdc-evolution-chip--filter",!pe._isBasicChip)("mdc-evolution-chip--selectable",!pe._isBasicChip)("mat-mdc-chip-selected",pe.selected)("mat-mdc-chip-multiple",pe._chipListMultiple)("mat-mdc-chip-disabled",pe.disabled)("mat-mdc-chip-with-avatar",pe.leadingIcon)("mdc-evolution-chip--disabled",pe.disabled)("mdc-evolution-chip--selected",pe.selected)("mdc-evolution-chip--selecting",!pe._animationsDisabled)("mdc-evolution-chip--with-trailing-action",pe._hasTrailingIcon())("mdc-evolution-chip--with-primary-icon",pe.leadingIcon)("mdc-evolution-chip--with-primary-graphic",pe._hasLeadingGraphic())("mdc-evolution-chip--with-avatar",pe.leadingIcon)("mat-mdc-chip-highlighted",pe.highlighted)("mat-mdc-chip-with-trailing-icon",pe._hasTrailingIcon()))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",selectable:"selectable",selected:"selected"},outputs:{selectionChange:"selectionChange"},features:[s._Bn([{provide:it,useExisting:te},{provide:W,useExisting:te}]),s.qOj],ngContentSelectors:Me,decls:11,vars:12,consts:[["matRipple","",1,"mat-mdc-chip-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","","role","option",3,"tabIndex","_allowFocusWhenDisabled"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing",4,"ngIf"],[1,"cdk-visually-hidden",3,"id"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__checkmark"],["viewBox","-2 -3 30 30","focusable","false",1,"mdc-evolution-chip__checkmark-svg"],["fill","none","stroke","currentColor","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-evolution-chip__checkmark-path"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(B,pe){1&B&&(s.F$t(ze),s._UZ(0,"span",0)(1,"span",1),s.TgZ(2,"span",2)(3,"button",3),s.YNc(4,Pe,5,0,"span",4),s.TgZ(5,"span",5),s.Hsn(6),s._UZ(7,"span",6),s.qZA()()(),s.YNc(8,_e,2,0,"span",7),s.TgZ(9,"span",8),s._uU(10),s.qZA()),2&B&&(s.Q6J("matRippleDisabled",pe._isRippleDisabled())("matRippleCentered",pe._isRippleCentered)("matRippleTrigger",pe._elementRef.nativeElement),s.xp6(3),s.Q6J("tabIndex",pe.tabIndex)("_allowFocusWhenDisabled",!0),s.uIk("aria-selected",pe.ariaSelected)("aria-label",pe.ariaLabel)("aria-describedby",pe._ariaDescriptionId),s.xp6(1),s.Q6J("ngIf",pe._hasLeadingGraphic()),s.xp6(4),s.Q6J("ngIf",pe._hasTrailingIcon()),s.xp6(1),s.Q6J("id",pe._ariaDescriptionId),s.xp6(1),s.Oqu(pe.ariaDescription))},dependencies:[T.O5,l.wG,C],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__graphic{height:24px;width:24px;font-size:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__icon--primary{height:24px;width:24px;font-size:24px}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0);border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 14px 14px 14px 14px)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size, 28px);width:var(--mdc-chip-with-avatar-avatar-size, 28px);font-size:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-outline-width, 1px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-outline-width, 1px)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--selected) .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-unselected-outline-width, 1px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color, transparent)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size, 18px);width:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, currentColor)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{width:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),te})();class Pt{constructor(Ae){}}const li=(0,l.sb)(Pt);let oi=(()=>{class te extends li{get chipFocusChanges(){return this._getChipStream(B=>B._onFocus)}get chipDestroyedChanges(){return this._getChipStream(B=>B.destroyed)}get disabled(){return this._disabled}set disabled(B){this._disabled=(0,e.Ig)(B),this._syncChipsState()}get empty(){return 0===this._chips.length}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}set role(B){this._explicitRole=B}get focused(){return this._hasFocusedChip()}constructor(B,pe,Ut){super(B),this._elementRef=B,this._changeDetectorRef=pe,this._dir=Ut,this._lastDestroyedFocusedChipIndex=null,this._destroyed=new O.x,this._defaultRole="presentation",this._disabled=!1,this._explicitRole=null,this._chipActions=new s.n_E}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(B=>B._hasFocus())}_syncChipsState(){this._chips&&this._chips.forEach(B=>{B.disabled=this._disabled,B._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(B){this._originatesFromChip(B)&&this._keyManager.onKeydown(B)}_isValidIndex(B){return B>=0&&B<this._chips.length}_allowFocusEscape(){if(-1!==this.tabIndex){const B=this.tabIndex;this.tabIndex=-1,setTimeout(()=>this.tabIndex=B)}}_getChipStream(B){return this._chips.changes.pipe((0,de.O)(null),(0,Be.w)(()=>(0,X.T)(...this._chips.map(B))))}_originatesFromChip(B){let pe=B.target;for(;pe&&pe!==this._elementRef.nativeElement;){if(pe.classList.contains("mat-mdc-chip"))return!0;pe=pe.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe((0,de.O)(this._chips)).subscribe(B=>{const pe=[];B.forEach(Ut=>Ut._getActions().forEach(Vt=>pe.push(Vt))),this._chipActions.reset(pe),this._chipActions.notifyOnChanges()}),this._keyManager=new b.Em(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(B=>this._skipPredicate(B)),this.chipFocusChanges.pipe((0,Ee.R)(this._destroyed)).subscribe(({chip:B})=>{const pe=B._getSourceAction(document.activeElement);pe&&this._keyManager.updateActiveItem(pe)}),this._dir?.change.pipe((0,Ee.R)(this._destroyed)).subscribe(B=>this._keyManager.withHorizontalOrientation(B))}_skipPredicate(B){return!B.isInteractive||B.disabled}_trackChipSetChanges(){this._chips.changes.pipe((0,de.O)(null),(0,Ee.R)(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe((0,Ee.R)(this._destroyed)).subscribe(B=>{const Ut=this._chips.toArray().indexOf(B.chip);this._isValidIndex(Ut)&&B.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=Ut)})}_redirectDestroyedChipFocus(){if(null!=this._lastDestroyedFocusedChipIndex){if(this._chips.length){const B=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),pe=this._chips.toArray()[B];pe.disabled?1===this._chips.length?this.focus():this._keyManager.setPreviousItemActive():pe.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}}return te.\u0275fac=function(B){return new(B||te)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(Le.Is,8))},te.\u0275cmp=s.Xpm({type:te,selectors:[["mat-chip-set"]],contentQueries:function(B,pe,Ut){if(1&B&&s.Suo(Ut,it,5),2&B){let Vt;s.iGM(Vt=s.CRH())&&(pe._chips=Vt)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(B,pe){1&B&&s.NdJ("keydown",function(Vt){return pe._handleKeydown(Vt)}),2&B&&s.uIk("role",pe.role)},inputs:{disabled:"disabled",role:"role"},features:[s.qOj],ngContentSelectors:Wt,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(B,pe){1&B&&(s.F$t(),s.TgZ(0,"div",0),s.Hsn(1),s.qZA())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0}),te})();class dt{constructor(Ae,B){this.source=Ae,this.value=B}}const yt={provide:He.JU,useExisting:(0,s.Gpc)(()=>ve),multi:!0};let ve=(()=>{class te extends oi{constructor(){super(...arguments),this._onTouched=()=>{},this._onChange=()=>{},this._defaultRole="listbox",this._defaultOptions=(0,s.f3M)(gi,{optional:!0}),this._multiple=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.compareWith=(B,pe)=>B===pe,this._required=!1,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this.change=new s.vpe}get multiple(){return this._multiple}set multiple(B){this._multiple=(0,e.Ig)(B),this._syncListboxProperties()}get selected(){const B=this._chips.toArray().filter(pe=>pe.selected);return this.multiple?B:B[0]}get selectable(){return this._selectable}set selectable(B){this._selectable=(0,e.Ig)(B),this._syncListboxProperties()}get required(){return this._required}set required(B){this._required=(0,e.Ig)(B)}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(B){this._hideSingleSelectionIndicator=(0,e.Ig)(B),this._syncListboxProperties()}get chipSelectionChanges(){return this._getChipStream(B=>B.selectionChange)}get chipBlurChanges(){return this._getChipStream(B=>B._onBlur)}get value(){return this._value}set value(B){this.writeValue(B),this._value=B}ngAfterContentInit(){void 0!==this._pendingInitialValue&&Promise.resolve().then(()=>{this._setSelectionByValue(this._pendingInitialValue,!1),this._pendingInitialValue=void 0}),this._chips.changes.pipe((0,de.O)(null),(0,Ee.R)(this._destroyed)).subscribe(()=>{this._syncListboxProperties()}),this.chipBlurChanges.pipe((0,Ee.R)(this._destroyed)).subscribe(()=>this._blur()),this.chipSelectionChanges.pipe((0,Ee.R)(this._destroyed)).subscribe(B=>{this.multiple||this._chips.forEach(pe=>{pe!==B.source&&pe._setSelectedState(!1,!1,!1)}),B.isUserInput&&this._propagateChanges()})}focus(){if(this.disabled)return;const B=this._getFirstSelectedChip();B&&!B.disabled?B.focus():this._chips.length>0?this._keyManager.setFirstItemActive():this._elementRef.nativeElement.focus()}writeValue(B){this._chips?this._setSelectionByValue(B,!1):null!=B&&(this._pendingInitialValue=B)}registerOnChange(B){this._onChange=B}registerOnTouched(B){this._onTouched=B}setDisabledState(B){this.disabled=B}_setSelectionByValue(B,pe=!0){this._clearSelection(),Array.isArray(B)?B.forEach(Ut=>this._selectValue(Ut,pe)):this._selectValue(B,pe)}_blur(){this.disabled||setTimeout(()=>{this.focused||this._markAsTouched()})}_keydown(B){B.keyCode===he.Mf&&super._allowFocusEscape()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck()}_propagateChanges(){let B=null;B=Array.isArray(this.selected)?this.selected.map(pe=>pe.value):this.selected?this.selected.value:void 0,this._value=B,this.change.emit(new dt(this,B)),this._onChange(B),this._changeDetectorRef.markForCheck()}_clearSelection(B){this._chips.forEach(pe=>{pe!==B&&pe.deselect()})}_selectValue(B,pe){const Ut=this._chips.find(Vt=>null!=Vt.value&&this.compareWith(Vt.value,B));return Ut&&(pe?Ut.selectViaInteraction():Ut.select()),Ut}_syncListboxProperties(){this._chips&&Promise.resolve().then(()=>{this._chips.forEach(B=>{B._chipListMultiple=this.multiple,B.chipListSelectable=this._selectable,B._chipListHideSingleSelectionIndicator=this.hideSingleSelectionIndicator,B._changeDetectorRef.markForCheck()})})}_getFirstSelectedChip(){return Array.isArray(this.selected)?this.selected.length?this.selected[0]:void 0:this.selected}_skipPredicate(B){return!B.isInteractive}}return te.\u0275fac=function(){let Ae;return function(pe){return(Ae||(Ae=s.n5z(te)))(pe||te)}}(),te.\u0275cmp=s.Xpm({type:te,selectors:[["mat-chip-listbox"]],contentQueries:function(B,pe,Ut){if(1&B&&s.Suo(Ut,lt,5),2&B){let Vt;s.iGM(Vt=s.CRH())&&(pe._chips=Vt)}},hostAttrs:[1,"mdc-evolution-chip-set","mat-mdc-chip-listbox"],hostVars:11,hostBindings:function(B,pe){1&B&&s.NdJ("focus",function(){return pe.focus()})("blur",function(){return pe._blur()})("keydown",function(Vt){return pe._keydown(Vt)}),2&B&&(s.Ikx("tabIndex",pe.empty?-1:pe.tabIndex),s.uIk("role",pe.role)("aria-describedby",pe._ariaDescribedby||null)("aria-required",pe.role?pe.required:null)("aria-disabled",pe.disabled.toString())("aria-multiselectable",pe.multiple)("aria-orientation",pe.ariaOrientation),s.ekj("mat-mdc-chip-list-disabled",pe.disabled)("mat-mdc-chip-list-required",pe.required))},inputs:{tabIndex:"tabIndex",multiple:"multiple",ariaOrientation:["aria-orientation","ariaOrientation"],selectable:"selectable",compareWith:"compareWith",required:"required",hideSingleSelectionIndicator:"hideSingleSelectionIndicator",value:"value"},outputs:{change:"change"},features:[s._Bn([yt]),s.qOj],ngContentSelectors:Wt,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(B,pe){1&B&&(s.F$t(),s.TgZ(0,"div",0),s.Hsn(1),s.qZA())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0}),te})(),Gt=(()=>{class te{}return te.\u0275fac=function(B){return new(B||te)},te.\u0275mod=s.oAB({type:te}),te.\u0275inj=s.cJS({providers:[l.rD,{provide:gi,useValue:{separatorKeyCodes:[he.K5]}}],imports:[l.BQ,T.ez,l.si,l.BQ]}),te})()},3238:(ri,mt,p)=>{p.d(mt,{yN:()=>Pe,mZ:()=>_e,_A:()=>ai,rD:()=>Fe,sG:()=>ot,Ad:()=>gi,K7:()=>pe,HF:()=>Gt,Y2:()=>We,BQ:()=>Se,ey:()=>Z,Ng:()=>Rt,rN:()=>be,us:()=>ct,wG:()=>wt,si:()=>Yt,IR:()=>N,CB:()=>ke,jH:()=>gt,pj:()=>xe,Kr:()=>kt,Id:()=>vt,FD:()=>Wt,dB:()=>yi,sb:()=>rt});var e=p(4650),s=p(2687),T=p(445),b=p(6895),O=p(3353),X=p(1281),q=p(9751),Ee=p(7579),de=p(9521);const Le=["text"];function He(se,z){if(1&se&&e._UZ(0,"mat-pseudo-checkbox",6),2&se){const A=e.oxw();e.Q6J("state",A.selected?"checked":"unchecked")("disabled",A.disabled)}}function Qe(se,z){if(1&se&&e._UZ(0,"mat-pseudo-checkbox",7),2&se){const A=e.oxw();e.Q6J("disabled",A.disabled)}}function pt(se,z){if(1&se&&(e.TgZ(0,"span",8),e._uU(1),e.qZA()),2&se){const A=e.oxw();e.xp6(1),e.hij("(",A.group.label,")")}}const Re=[[["mat-icon"]],"*"],ze=["mat-icon","*"];let Pe=(()=>{class se{}return se.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",se.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",se.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",se.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",se})(),_e=(()=>{class se{}return se.COMPLEX="375ms",se.ENTERING="225ms",se.EXITING="195ms",se})();const le=new e.OlP("mat-sanity-checks",{providedIn:"root",factory:function ge(){return!0}});let Se=(()=>{class se{constructor(A,me,Ye){this._sanityChecks=me,this._document=Ye,this._hasDoneGlobalChecks=!1,A._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(A){return!(0,O.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[A])}}return se.\u0275fac=function(A){return new(A||se)(e.LFG(s.qm),e.LFG(le,8),e.LFG(b.K0))},se.\u0275mod=e.oAB({type:se}),se.\u0275inj=e.cJS({imports:[T.vT,T.vT]}),se})();function vt(se){return class extends se{get disabled(){return this._disabled}set disabled(z){this._disabled=(0,X.Ig)(z)}constructor(...z){super(...z),this._disabled=!1}}}function xe(se,z){return class extends se{get color(){return this._color}set color(A){const me=A||this.defaultColor;me!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),me&&this._elementRef.nativeElement.classList.add(`mat-${me}`),this._color=me)}constructor(...A){super(...A),this.defaultColor=z,this.color=z}}}function kt(se){return class extends se{get disableRipple(){return this._disableRipple}set disableRipple(z){this._disableRipple=(0,X.Ig)(z)}constructor(...z){super(...z),this._disableRipple=!1}}}function rt(se,z=0){return class extends se{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(A){this._tabIndex=null!=A?(0,X.su)(A):this.defaultTabIndex}constructor(...A){super(...A),this._tabIndex=z,this.defaultTabIndex=z}}}function Wt(se){return class extends se{updateErrorState(){const z=this.errorState,Ot=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);Ot!==z&&(this.errorState=Ot,this.stateChanges.next())}constructor(...z){super(...z),this.errorState=!1}}}function yi(se){return class extends se{constructor(...z){super(...z),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new q.y(A=>{this._isInitialized?this._notifySubscriber(A):this._pendingSubscribers.push(A)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(z){z.next(),z.complete()}}}const gi=new e.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function jt(){return(0,e.f3M)(e.soG)}});class ai{constructor(){this._localeChanges=new Ee.x,this.localeChanges=this._localeChanges}getValidDateOrNull(z){return this.isDateInstance(z)&&this.isValid(z)?z:null}deserialize(z){return null==z||this.isDateInstance(z)&&this.isValid(z)?z:this.invalid()}setLocale(z){this.locale=z,this._localeChanges.next()}compareDate(z,A){return this.getYear(z)-this.getYear(A)||this.getMonth(z)-this.getMonth(A)||this.getDate(z)-this.getDate(A)}sameDate(z,A){if(z&&A){let me=this.isValid(z),Ye=this.isValid(A);return me&&Ye?!this.compareDate(z,A):me==Ye}return z==A}clampDate(z,A,me){return A&&this.compareDate(z,A)<0?A:me&&this.compareDate(z,me)>0?me:z}}const ot=new e.OlP("mat-date-formats");let Fe=(()=>{class se{isErrorState(A,me){return!!(A&&A.invalid&&(A.touched||me&&me.submitted))}}return se.\u0275fac=function(A){return new(A||se)},se.\u0275prov=e.Yz7({token:se,factory:se.\u0275fac,providedIn:"root"}),se})();class zt{constructor(z,A,me,Ye=!1){this._renderer=z,this.element=A,this.config=me,this._animationForciblyDisabledThroughCss=Ye,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const ft=(0,O.i$)({passive:!0,capture:!0});class Pt{constructor(){this._events=new Map,this._delegateEventHandler=z=>{const A=(0,O.sA)(z);A&&this._events.get(z.type)?.forEach((me,Ye)=>{(Ye===A||Ye.contains(A))&&me.forEach(Ot=>Ot.handleEvent(z))})}}addHandler(z,A,me,Ye){const Ot=this._events.get(A);if(Ot){const ii=Ot.get(me);ii?ii.add(Ye):Ot.set(me,new Set([Ye]))}else this._events.set(A,new Map([[me,new Set([Ye])]])),z.runOutsideAngular(()=>{document.addEventListener(A,this._delegateEventHandler,ft)})}removeHandler(z,A,me){const Ye=this._events.get(z);if(!Ye)return;const Ot=Ye.get(A);Ot&&(Ot.delete(me),0===Ot.size&&Ye.delete(A),0===Ye.size&&(this._events.delete(z),document.removeEventListener(z,this._delegateEventHandler,ft)))}}const li={enterDuration:225,exitDuration:150},dt=(0,O.i$)({passive:!0,capture:!0}),yt=["mousedown","touchstart"],ve=["mouseup","mouseleave","touchend","touchcancel"];class N{constructor(z,A,me,Ye){this._target=z,this._ngZone=A,this._platform=Ye,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,Ye.isBrowser&&(this._containerElement=(0,X.fI)(me))}fadeInRipple(z,A,me={}){const Ye=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),Ot={...li,...me.animation};me.centered&&(z=Ye.left+Ye.width/2,A=Ye.top+Ye.height/2);const ii=me.radius||function re(se,z,A){const me=Math.max(Math.abs(se-A.left),Math.abs(se-A.right)),Ye=Math.max(Math.abs(z-A.top),Math.abs(z-A.bottom));return Math.sqrt(me*me+Ye*Ye)}(z,A,Ye),Ci=z-Ye.left,Si=A-Ye.top,Fi=Ot.enterDuration,vi=document.createElement("div");vi.classList.add("mat-ripple-element"),vi.style.left=Ci-ii+"px",vi.style.top=Si-ii+"px",vi.style.height=2*ii+"px",vi.style.width=2*ii+"px",null!=me.color&&(vi.style.backgroundColor=me.color),vi.style.transitionDuration=`${Fi}ms`,this._containerElement.appendChild(vi);const Lt=window.getComputedStyle(vi),et=Lt.transitionDuration,Ve="none"===Lt.transitionProperty||"0s"===et||"0s, 0s"===et||0===Ye.width&&0===Ye.height,bt=new zt(this,vi,me,Ve);vi.style.transform="scale3d(1, 1, 1)",bt.state=0,me.persistent||(this._mostRecentTransientRipple=bt);let fe=null;return!Ve&&(Fi||Ot.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Ze=()=>this._finishRippleTransition(bt),At=()=>this._destroyRipple(bt);vi.addEventListener("transitionend",Ze),vi.addEventListener("transitioncancel",At),fe={onTransitionEnd:Ze,onTransitionCancel:At}}),this._activeRipples.set(bt,fe),(Ve||!Fi)&&this._finishRippleTransition(bt),bt}fadeOutRipple(z){if(2===z.state||3===z.state)return;const A=z.element,me={...li,...z.config.animation};A.style.transitionDuration=`${me.exitDuration}ms`,A.style.opacity="0",z.state=2,(z._animationForciblyDisabledThroughCss||!me.exitDuration)&&this._finishRippleTransition(z)}fadeOutAll(){this._getActiveRipples().forEach(z=>z.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(z=>{z.config.persistent||z.fadeOut()})}setupTriggerEvents(z){const A=(0,X.fI)(z);!this._platform.isBrowser||!A||A===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=A,yt.forEach(me=>{N._eventManager.addHandler(this._ngZone,me,A,this)}))}handleEvent(z){"mousedown"===z.type?this._onMousedown(z):"touchstart"===z.type?this._onTouchStart(z):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{ve.forEach(A=>{this._triggerElement.addEventListener(A,this,dt)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(z){0===z.state?this._startFadeOutTransition(z):2===z.state&&this._destroyRipple(z)}_startFadeOutTransition(z){const A=z===this._mostRecentTransientRipple,{persistent:me}=z.config;z.state=1,!me&&(!A||!this._isPointerDown)&&z.fadeOut()}_destroyRipple(z){const A=this._activeRipples.get(z)??null;this._activeRipples.delete(z),this._activeRipples.size||(this._containerRect=null),z===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),z.state=3,null!==A&&(z.element.removeEventListener("transitionend",A.onTransitionEnd),z.element.removeEventListener("transitioncancel",A.onTransitionCancel)),z.element.remove()}_onMousedown(z){const A=(0,s.X6)(z),me=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!A&&!me&&(this._isPointerDown=!0,this.fadeInRipple(z.clientX,z.clientY,this._target.rippleConfig))}_onTouchStart(z){if(!this._target.rippleDisabled&&!(0,s.yG)(z)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const A=z.changedTouches;for(let me=0;me<A.length;me++)this.fadeInRipple(A[me].clientX,A[me].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(z=>{!z.config.persistent&&(1===z.state||z.config.terminateOnPointerUp&&0===z.state)&&z.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const z=this._triggerElement;z&&(yt.forEach(A=>N._eventManager.removeHandler(A,z,this)),this._pointerUpEventsRegistered&&ve.forEach(A=>z.removeEventListener(A,this,dt)))}}N._eventManager=new Pt;const We=new e.OlP("mat-ripple-global-options");let wt=(()=>{class se{get disabled(){return this._disabled}set disabled(A){A&&this.fadeOutAllNonPersistent(),this._disabled=A,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(A){this._trigger=A,this._setupTriggerEventsIfEnabled()}constructor(A,me,Ye,Ot,ii){this._elementRef=A,this._animationMode=ii,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=Ot||{},this._rippleRenderer=new N(this,me,A,Ye)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(A,me=0,Ye){return"number"==typeof A?this._rippleRenderer.fadeInRipple(A,me,{...this.rippleConfig,...Ye}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...A})}}return se.\u0275fac=function(A){return new(A||se)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(O.t4),e.Y36(We,8),e.Y36(e.QbO,8))},se.\u0275dir=e.lG2({type:se,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(A,me){2&A&&e.ekj("mat-ripple-unbounded",me.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),se})(),Yt=(()=>{class se{}return se.\u0275fac=function(A){return new(A||se)},se.\u0275mod=e.oAB({type:se}),se.\u0275inj=e.cJS({imports:[Se,Se]}),se})(),$t=(()=>{class se{constructor(A){this._animationMode=A,this.state="unchecked",this.disabled=!1,this.appearance="full"}}return se.\u0275fac=function(A){return new(A||se)(e.Y36(e.QbO,8))},se.\u0275cmp=e.Xpm({type:se,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(A,me){2&A&&e.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===me.state)("mat-pseudo-checkbox-checked","checked"===me.state)("mat-pseudo-checkbox-disabled",me.disabled)("mat-pseudo-checkbox-minimal","minimal"===me.appearance)("mat-pseudo-checkbox-full","full"===me.appearance)("_mat-animation-noopable","NoopAnimations"===me._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(A,me){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0}),se})(),ct=(()=>{class se{}return se.\u0275fac=function(A){return new(A||se)},se.\u0275mod=e.oAB({type:se}),se.\u0275inj=e.cJS({imports:[Se]}),se})();const Gt=new e.OlP("MAT_OPTION_PARENT_COMPONENT"),pe=new e.OlP("MatOptgroup");let Vt=0;class be{constructor(z,A=!1){this.source=z,this.isUserInput=A}}let st=(()=>{class se{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(A){this._disabled=(0,X.Ig)(A)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(A,me,Ye,Ot){this._element=A,this._changeDetectorRef=me,this._parent=Ye,this.group=Ot,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Vt++,this.onSelectionChange=new e.vpe,this._stateChanges=new Ee.x}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(A,me){const Ye=this._getHostElement();"function"==typeof Ye.focus&&Ye.focus(me)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(A){(A.keyCode===de.K5||A.keyCode===de.L_)&&!(0,de.Vb)(A)&&(this._selectViaInteraction(),A.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const A=this.viewValue;A!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=A)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(A=!1){this.onSelectionChange.emit(new be(this,A))}}return se.\u0275fac=function(A){e.$Z()},se.\u0275dir=e.lG2({type:se,viewQuery:function(A,me){if(1&A&&e.Gf(Le,7),2&A){let Ye;e.iGM(Ye=e.CRH())&&(me._text=Ye.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),se})(),Z=(()=>{class se extends st{constructor(A,me,Ye,Ot){super(A,me,Ye,Ot)}}return se.\u0275fac=function(A){return new(A||se)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(Gt,8),e.Y36(pe,8))},se.\u0275cmp=e.Xpm({type:se,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(A,me){1&A&&e.NdJ("click",function(){return me._selectViaInteraction()})("keydown",function(Ot){return me._handleKeydown(Ot)}),2&A&&(e.Ikx("id",me.id),e.uIk("aria-selected",me.selected)("aria-disabled",me.disabled.toString()),e.ekj("mdc-list-item--selected",me.selected)("mat-mdc-option-multiple",me.multiple)("mat-mdc-option-active",me.active)("mdc-list-item--disabled",me.disabled))},exportAs:["matOption"],features:[e.qOj],ngContentSelectors:ze,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","appearance","minimal",3,"disabled",4,"ngIf"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-mdc-option-pseudo-checkbox",3,"state","disabled"],["state","checked","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(A,me){1&A&&(e.F$t(Re),e.YNc(0,He,1,2,"mat-pseudo-checkbox",0),e.Hsn(1),e.TgZ(2,"span",1,2),e.Hsn(4,1),e.qZA(),e.YNc(5,Qe,1,1,"mat-pseudo-checkbox",3),e.YNc(6,pt,2,1,"span",4),e._UZ(7,"div",5)),2&A&&(e.Q6J("ngIf",me.multiple),e.xp6(5),e.Q6J("ngIf",!me.multiple&&me.selected&&!me.hideSingleSelectionIndicator),e.xp6(1),e.Q6J("ngIf",me.group&&me.group._inert),e.xp6(1),e.Q6J("matRippleTrigger",me._getHostElement())("matRippleDisabled",me.disabled||me.disableRipple))},dependencies:[wt,b.O5,$t],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{opacity:.38;cursor:default}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),se})();function ke(se,z,A){if(A.length){let me=z.toArray(),Ye=A.toArray(),Ot=0;for(let ii=0;ii<se+1;ii++)me[ii].group&&me[ii].group===Ye[Ot]&&Ot++;return Ot}return 0}function gt(se,z,A,me){return se<A?se:se+z>A+me?Math.max(0,se-me+z):A}let Rt=(()=>{class se{}return se.\u0275fac=function(A){return new(A||se)},se.\u0275mod=e.oAB({type:se}),se.\u0275inj=e.cJS({imports:[Yt,b.ez,Se,ct]}),se})()},9602:(ri,mt,p)=>{p.d(mt,{By:()=>gn,FA:()=>ao,_g:()=>Vn,nW:()=>Ze,wx:()=>Pn,zY:()=>xo});var e=p(2687),s=p(8184),T=p(4080),l=p(6895),b=p(4650),O=p(4859),X=p(7376),q=p(3238),Ee=p(7579),de=p(727),Be=p(6451),he=p(9646),Le=p(9521),He=p(445),Qe=p(3353),pt=p(5698),Re=p(8675),ze=p(9300),Me=p(1281),Pe=p(7340),_e=p(4006),ge=p(9549);p(4144);const Se=["mat-calendar-body",""];function je(at,xt){if(1&at&&(b.TgZ(0,"tr",3)(1,"td",4),b._uU(2),b.qZA()()),2&at){const w=b.oxw();b.xp6(1),b.Udp("padding-top",w._cellPadding)("padding-bottom",w._cellPadding),b.uIk("colspan",w.numCols),b.xp6(1),b.hij(" ",w.label," ")}}function Ke(at,xt){if(1&at&&(b.TgZ(0,"td",4),b._uU(1),b.qZA()),2&at){const w=b.oxw(2);b.Udp("padding-top",w._cellPadding)("padding-bottom",w._cellPadding),b.uIk("colspan",w._firstRowOffset),b.xp6(1),b.hij(" ",w._firstRowOffset>=w.labelMinRequiredCells?w.label:""," ")}}function Ge(at,xt){if(1&at){const w=b.EpF();b.TgZ(0,"td",8)(1,"button",9),b.NdJ("click",function(Ie){const ei=b.CHM(w).$implicit,Ei=b.oxw(2);return b.KtG(Ei._cellClicked(ei,Ie))})("focus",function(Ie){const ei=b.CHM(w).$implicit,Ei=b.oxw(2);return b.KtG(Ei._emitActiveDateChange(ei,Ie))}),b.TgZ(2,"span",10),b._uU(3),b.qZA(),b._UZ(4,"span",11),b.qZA()()}if(2&at){const w=xt.$implicit,J=xt.index,Ie=b.oxw().index,Xe=b.oxw();b.Udp("width",Xe._cellWidth)("padding-top",Xe._cellPadding)("padding-bottom",Xe._cellPadding),b.uIk("data-mat-row",Ie)("data-mat-col",J),b.xp6(1),b.ekj("mat-calendar-body-disabled",!w.enabled)("mat-calendar-body-active",Xe._isActiveCell(Ie,J))("mat-calendar-body-range-start",Xe._isRangeStart(w.compareValue))("mat-calendar-body-range-end",Xe._isRangeEnd(w.compareValue))("mat-calendar-body-in-range",Xe._isInRange(w.compareValue))("mat-calendar-body-comparison-bridge-start",Xe._isComparisonBridgeStart(w.compareValue,Ie,J))("mat-calendar-body-comparison-bridge-end",Xe._isComparisonBridgeEnd(w.compareValue,Ie,J))("mat-calendar-body-comparison-start",Xe._isComparisonStart(w.compareValue))("mat-calendar-body-comparison-end",Xe._isComparisonEnd(w.compareValue))("mat-calendar-body-in-comparison-range",Xe._isInComparisonRange(w.compareValue))("mat-calendar-body-preview-start",Xe._isPreviewStart(w.compareValue))("mat-calendar-body-preview-end",Xe._isPreviewEnd(w.compareValue))("mat-calendar-body-in-preview",Xe._isInPreview(w.compareValue)),b.Q6J("ngClass",w.cssClasses)("tabindex",Xe._isActiveCell(Ie,J)?0:-1),b.uIk("aria-label",w.ariaLabel)("aria-disabled",!w.enabled||null)("aria-pressed",Xe._isSelected(w.compareValue))("aria-current",Xe.todayValue===w.compareValue?"date":null)("aria-describedby",Xe._getDescribedby(w.compareValue)),b.xp6(1),b.ekj("mat-calendar-body-selected",Xe._isSelected(w.compareValue))("mat-calendar-body-comparison-identical",Xe._isComparisonIdentical(w.compareValue))("mat-calendar-body-today",Xe.todayValue===w.compareValue),b.xp6(1),b.hij(" ",w.displayValue," ")}}function vt(at,xt){if(1&at&&(b.TgZ(0,"tr",5),b.YNc(1,Ke,2,6,"td",6),b.YNc(2,Ge,5,48,"td",7),b.qZA()),2&at){const w=xt.$implicit,J=xt.index,Ie=b.oxw();b.xp6(1),b.Q6J("ngIf",0===J&&Ie._firstRowOffset),b.xp6(1),b.Q6J("ngForOf",w)}}function xe(at,xt){if(1&at&&(b.TgZ(0,"th",5)(1,"span",6),b._uU(2),b.qZA(),b.TgZ(3,"span",7),b._uU(4),b.qZA()()),2&at){const w=xt.$implicit;b.xp6(2),b.Oqu(w.long),b.xp6(2),b.Oqu(w.narrow)}}const kt=["*"];function rt(at,xt){}function Wt(at,xt){if(1&at){const w=b.EpF();b.TgZ(0,"mat-month-view",5),b.NdJ("activeDateChange",function(Ie){b.CHM(w);const Xe=b.oxw();return b.KtG(Xe.activeDate=Ie)})("_userSelection",function(Ie){b.CHM(w);const Xe=b.oxw();return b.KtG(Xe._dateSelected(Ie))})("dragStarted",function(Ie){b.CHM(w);const Xe=b.oxw();return b.KtG(Xe._dragStarted(Ie))})("dragEnded",function(Ie){b.CHM(w);const Xe=b.oxw();return b.KtG(Xe._dragEnded(Ie))}),b.qZA()}if(2&at){const w=b.oxw();b.Q6J("activeDate",w.activeDate)("selected",w.selected)("dateFilter",w.dateFilter)("maxDate",w.maxDate)("minDate",w.minDate)("dateClass",w.dateClass)("comparisonStart",w.comparisonStart)("comparisonEnd",w.comparisonEnd)("startDateAccessibleName",w.startDateAccessibleName)("endDateAccessibleName",w.endDateAccessibleName)("activeDrag",w._activeDrag)}}function yi(at,xt){if(1&at){const w=b.EpF();b.TgZ(0,"mat-year-view",6),b.NdJ("activeDateChange",function(Ie){b.CHM(w);const Xe=b.oxw();return b.KtG(Xe.activeDate=Ie)})("monthSelected",function(Ie){b.CHM(w);const Xe=b.oxw();return b.KtG(Xe._monthSelectedInYearView(Ie))})("selectedChange",function(Ie){b.CHM(w);const Xe=b.oxw();return b.KtG(Xe._goToDateInView(Ie,"month"))}),b.qZA()}if(2&at){const w=b.oxw();b.Q6J("activeDate",w.activeDate)("selected",w.selected)("dateFilter",w.dateFilter)("maxDate",w.maxDate)("minDate",w.minDate)("dateClass",w.dateClass)}}function gi(at,xt){if(1&at){const w=b.EpF();b.TgZ(0,"mat-multi-year-view",7),b.NdJ("activeDateChange",function(Ie){b.CHM(w);const Xe=b.oxw();return b.KtG(Xe.activeDate=Ie)})("yearSelected",function(Ie){b.CHM(w);const Xe=b.oxw();return b.KtG(Xe._yearSelectedInMultiYearView(Ie))})("selectedChange",function(Ie){b.CHM(w);const Xe=b.oxw();return b.KtG(Xe._goToDateInView(Ie,"year"))}),b.qZA()}if(2&at){const w=b.oxw();b.Q6J("activeDate",w.activeDate)("selected",w.selected)("dateFilter",w.dateFilter)("maxDate",w.maxDate)("minDate",w.minDate)("dateClass",w.dateClass)}}function jt(at,xt){}const ai=["button"];function ot(at,xt){1&at&&(b.O4$(),b.TgZ(0,"svg",3),b._UZ(1,"path",4),b.qZA())}const W=[[["","matDatepickerToggleIcon",""]]],j=["[matDatepickerToggleIcon]"],H=[[["input","matStartDate",""]],[["input","matEndDate",""]]],C=["input[matStartDate]","input[matEndDate]"];let we=(()=>{class at{constructor(){this.changes=new Ee.x,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year",this.startDateLabel="Start date",this.endDateLabel="End date"}formatYearRange(w,J){return`${w} \u2013 ${J}`}formatYearRangeLabel(w,J){return`${w} to ${J}`}}return at.\u0275fac=function(w){return new(w||at)},at.\u0275prov=b.Yz7({token:at,factory:at.\u0275fac,providedIn:"root"}),at})();class Fe{constructor(xt,w,J,Ie,Xe={},ei=xt,Ei){this.value=xt,this.displayValue=w,this.ariaLabel=J,this.enabled=Ie,this.cssClasses=Xe,this.compareValue=ei,this.rawValue=Ei}}let _t=1,it=(()=>{class at{ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}constructor(w,J){this._elementRef=w,this._ngZone=J,this._platform=(0,b.f3M)(Qe.t4),this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new b.vpe,this.previewChange=new b.vpe,this.activeDateChange=new b.vpe,this.dragStarted=new b.vpe,this.dragEnded=new b.vpe,this._didDragSinceMouseDown=!1,this._enterHandler=Ie=>{if(this._skipNextFocus&&"focus"===Ie.type)this._skipNextFocus=!1;else if(Ie.target&&this.isRange){const Xe=this._getCellFromElement(Ie.target);Xe&&this._ngZone.run(()=>this.previewChange.emit({value:Xe.enabled?Xe:null,event:Ie}))}},this._touchmoveHandler=Ie=>{if(!this.isRange)return;const Xe=li(Ie),ei=Xe?this._getCellFromElement(Xe):null;Xe!==Ie.target&&(this._didDragSinceMouseDown=!0),lt(Ie.target)&&Ie.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:ei?.enabled?ei:null,event:Ie}))},this._leaveHandler=Ie=>{null!==this.previewEnd&&this.isRange&&("blur"!==Ie.type&&(this._didDragSinceMouseDown=!0),Ie.target&&this._getCellFromElement(Ie.target)&&(!Ie.relatedTarget||!this._getCellFromElement(Ie.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:Ie})))},this._mousedownHandler=Ie=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;const Xe=Ie.target&&this._getCellFromElement(Ie.target);!Xe||!this._isInRange(Xe.rawValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:Xe.rawValue,event:Ie})})},this._mouseupHandler=Ie=>{if(!this.isRange)return;const Xe=lt(Ie.target);Xe?Xe.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{const ei=this._getCellFromElement(Xe);this.dragEnded.emit({value:ei?.rawValue??null,event:Ie})}):this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:Ie})})},this._touchendHandler=Ie=>{const Xe=li(Ie);Xe&&this._mouseupHandler({target:Xe})},this._id="mat-calendar-body-"+_t++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,J.runOutsideAngular(()=>{const Ie=w.nativeElement;Ie.addEventListener("mouseenter",this._enterHandler,!0),Ie.addEventListener("touchmove",this._touchmoveHandler,!0),Ie.addEventListener("focus",this._enterHandler,!0),Ie.addEventListener("mouseleave",this._leaveHandler,!0),Ie.addEventListener("blur",this._leaveHandler,!0),Ie.addEventListener("mousedown",this._mousedownHandler),Ie.addEventListener("touchstart",this._mousedownHandler),this._platform.isBrowser&&(window.addEventListener("mouseup",this._mouseupHandler),window.addEventListener("touchend",this._touchendHandler))})}_cellClicked(w,J){this._didDragSinceMouseDown||w.enabled&&this.selectedValueChange.emit({value:w.value,event:J})}_emitActiveDateChange(w,J){w.enabled&&this.activeDateChange.emit({value:w.value,event:J})}_isSelected(w){return this.startValue===w||this.endValue===w}ngOnChanges(w){const J=w.numCols,{rows:Ie,numCols:Xe}=this;(w.rows||J)&&(this._firstRowOffset=Ie&&Ie.length&&Ie[0].length?Xe-Ie[0].length:0),(w.cellAspectRatio||J||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/Xe+"%"),(J||!this._cellWidth)&&(this._cellWidth=100/Xe+"%")}ngOnDestroy(){const w=this._elementRef.nativeElement;w.removeEventListener("mouseenter",this._enterHandler,!0),w.removeEventListener("touchmove",this._touchmoveHandler,!0),w.removeEventListener("focus",this._enterHandler,!0),w.removeEventListener("mouseleave",this._leaveHandler,!0),w.removeEventListener("blur",this._leaveHandler,!0),w.removeEventListener("mousedown",this._mousedownHandler),w.removeEventListener("touchstart",this._mousedownHandler),this._platform.isBrowser&&(window.removeEventListener("mouseup",this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))}_isActiveCell(w,J){let Ie=w*this.numCols+J;return w&&(Ie-=this._firstRowOffset),Ie==this.activeCell}_focusActiveCell(w=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,pt.q)(1)).subscribe(()=>{setTimeout(()=>{const J=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");J&&(w||(this._skipNextFocus=!0),J.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(w){return zt(w,this.startValue,this.endValue)}_isRangeEnd(w){return ft(w,this.startValue,this.endValue)}_isInRange(w){return Pt(w,this.startValue,this.endValue,this.isRange)}_isComparisonStart(w){return zt(w,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(w,J,Ie){if(!this._isComparisonStart(w)||this._isRangeStart(w)||!this._isInRange(w))return!1;let Xe=this.rows[J][Ie-1];if(!Xe){const ei=this.rows[J-1];Xe=ei&&ei[ei.length-1]}return Xe&&!this._isRangeEnd(Xe.compareValue)}_isComparisonBridgeEnd(w,J,Ie){if(!this._isComparisonEnd(w)||this._isRangeEnd(w)||!this._isInRange(w))return!1;let Xe=this.rows[J][Ie+1];if(!Xe){const ei=this.rows[J+1];Xe=ei&&ei[0]}return Xe&&!this._isRangeStart(Xe.compareValue)}_isComparisonEnd(w){return ft(w,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(w){return Pt(w,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(w){return this.comparisonStart===this.comparisonEnd&&w===this.comparisonStart}_isPreviewStart(w){return zt(w,this.previewStart,this.previewEnd)}_isPreviewEnd(w){return ft(w,this.previewStart,this.previewEnd)}_isInPreview(w){return Pt(w,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(w){return this.isRange?this.startValue===w&&this.endValue===w?`${this._startDateLabelId} ${this._endDateLabelId}`:this.startValue===w?this._startDateLabelId:this.endValue===w?this._endDateLabelId:null:null}_getCellFromElement(w){const J=lt(w);if(J){const Ie=J.getAttribute("data-mat-row"),Xe=J.getAttribute("data-mat-col");if(Ie&&Xe)return this.rows[parseInt(Ie)][parseInt(Xe)]}return null}}return at.\u0275fac=function(w){return new(w||at)(b.Y36(b.SBq),b.Y36(b.R0b))},at.\u0275cmp=b.Xpm({type:at,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[b.TTD],attrs:Se,decls:6,vars:6,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],[1,"mat-calendar-body-hidden-label",3,"id"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom",4,"ngFor","ngForOf"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click","focus"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(w,J){1&w&&(b.YNc(0,je,3,6,"tr",0),b.YNc(1,vt,3,2,"tr",1),b.TgZ(2,"label",2),b._uU(3),b.qZA(),b.TgZ(4,"label",2),b._uU(5),b.qZA()),2&w&&(b.Q6J("ngIf",J._firstRowOffset<J.labelMinRequiredCells),b.xp6(1),b.Q6J("ngForOf",J.rows),b.xp6(1),b.Q6J("id",J._startDateLabelId),b.xp6(1),b.hij(" ",J.startDateAccessibleName,"\n"),b.xp6(1),b.Q6J("id",J._endDateLabelId),b.xp6(1),b.hij(" ",J.endDateAccessibleName,"\n"))},dependencies:[l.mk,l.sg,l.O5],styles:['.mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.7142857143%;padding-right:4.7142857143%}.mat-calendar-body-hidden-label{display:none}.mat-calendar-body-cell-container{position:relative;height:0;line-height:0}.mat-calendar-body-cell{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);position:absolute;top:0;left:0;width:100%;height:100%;background:none;text-align:center;outline:none;font-family:inherit;margin:0}.mat-calendar-body-cell::-moz-focus-inner{border:0}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:"";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;display:block;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview .mat-calendar-body-cell-preview{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:dashed 1px}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:dashed 1px}.mat-calendar-body-disabled{cursor:default}.cdk-high-contrast-active .mat-calendar-body-disabled{opacity:.5}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}[dir=rtl] .mat-calendar-body-label{text-align:right}'],encapsulation:2,changeDetection:0}),at})();function Nt(at){return"TD"===at?.nodeName}function lt(at){let xt;return Nt(at)?xt=at:Nt(at.parentNode)?xt=at.parentNode:Nt(at.parentNode?.parentNode)&&(xt=at.parentNode.parentNode),null!=xt?.getAttribute("data-mat-row")?xt:null}function zt(at,xt,w){return null!==w&&xt!==w&&at<w&&at===xt}function ft(at,xt,w){return null!==xt&&xt!==w&&at>=xt&&at===w}function Pt(at,xt,w,J){return J&&null!==xt&&null!==w&&xt!==w&&at>=xt&&at<=w}function li(at){const xt=at.changedTouches[0];return document.elementFromPoint(xt.clientX,xt.clientY)}class oi{constructor(xt,w){this.start=xt,this.end=w}}let dt=(()=>{class at{constructor(w,J){this.selection=w,this._adapter=J,this._selectionChanged=new Ee.x,this.selectionChanged=this._selectionChanged,this.selection=w}updateSelection(w,J){const Ie=this.selection;this.selection=w,this._selectionChanged.next({selection:w,source:J,oldValue:Ie})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(w){return this._adapter.isDateInstance(w)&&this._adapter.isValid(w)}}return at.\u0275fac=function(w){b.$Z()},at.\u0275prov=b.Yz7({token:at,factory:at.\u0275fac}),at})(),yt=(()=>{class at extends dt{constructor(w){super(null,w)}add(w){super.updateSelection(w,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const w=new at(this._adapter);return w.updateSelection(this.selection,this),w}}return at.\u0275fac=function(w){return new(w||at)(b.LFG(q._A))},at.\u0275prov=b.Yz7({token:at,factory:at.\u0275fac}),at})(),ve=(()=>{class at extends dt{constructor(w){super(new oi(null,null),w)}add(w){let{start:J,end:Ie}=this.selection;null==J?J=w:null==Ie?Ie=w:(J=w,Ie=null),super.updateSelection(new oi(J,Ie),this)}isValid(){const{start:w,end:J}=this.selection;return null==w&&null==J||(null!=w&&null!=J?this._isValidDateInstance(w)&&this._isValidDateInstance(J)&&this._adapter.compareDate(w,J)<=0:(null==w||this._isValidDateInstance(w))&&(null==J||this._isValidDateInstance(J)))}isComplete(){return null!=this.selection.start&&null!=this.selection.end}clone(){const w=new at(this._adapter);return w.updateSelection(this.selection,this),w}}return at.\u0275fac=function(w){return new(w||at)(b.LFG(q._A))},at.\u0275prov=b.Yz7({token:at,factory:at.\u0275fac}),at})();const re={provide:dt,deps:[[new b.FiY,new b.tp0,dt],q._A],useFactory:function N(at,xt){return at||new yt(xt)}},wt={provide:dt,deps:[[new b.FiY,new b.tp0,dt],q._A],useFactory:function We(at,xt){return at||new ve(xt)}},Yt=new b.OlP("MAT_DATE_RANGE_SELECTION_STRATEGY");let $t=(()=>{class at{constructor(w){this._dateAdapter=w}selectionFinished(w,J){let{start:Ie,end:Xe}=J;return null==Ie?Ie=w:null==Xe&&w&&this._dateAdapter.compareDate(w,Ie)>=0?Xe=w:(Ie=w,Xe=null),new oi(Ie,Xe)}createPreview(w,J){let Ie=null,Xe=null;return J.start&&!J.end&&w&&(Ie=J.start,Xe=w),new oi(Ie,Xe)}createDrag(w,J,Ie){let Xe=J.start,ei=J.end;if(!Xe||!ei)return null;const Ei=this._dateAdapter,Yi=0!==Ei.compareDate(Xe,ei),Mn=Ei.getYear(Ie)-Ei.getYear(w),Tn=Ei.getMonth(Ie)-Ei.getMonth(w),Li=Ei.getDate(Ie)-Ei.getDate(w);return Yi&&Ei.sameDate(w,J.start)?(Xe=Ie,Ei.compareDate(Ie,ei)>0&&(ei=Ei.addCalendarYears(ei,Mn),ei=Ei.addCalendarMonths(ei,Tn),ei=Ei.addCalendarDays(ei,Li))):Yi&&Ei.sameDate(w,J.end)?(ei=Ie,Ei.compareDate(Ie,Xe)<0&&(Xe=Ei.addCalendarYears(Xe,Mn),Xe=Ei.addCalendarMonths(Xe,Tn),Xe=Ei.addCalendarDays(Xe,Li))):(Xe=Ei.addCalendarYears(Xe,Mn),Xe=Ei.addCalendarMonths(Xe,Tn),Xe=Ei.addCalendarDays(Xe,Li),ei=Ei.addCalendarYears(ei,Mn),ei=Ei.addCalendarMonths(ei,Tn),ei=Ei.addCalendarDays(ei,Li)),new oi(Xe,ei)}}return at.\u0275fac=function(w){return new(w||at)(b.LFG(q._A))},at.\u0275prov=b.Yz7({token:at,factory:at.\u0275fac}),at})();const Gt={provide:Yt,deps:[[new b.FiY,new b.tp0,Yt],q._A],useFactory:function ct(at,xt){return at||new $t(xt)}};let Ae=(()=>{class at{get activeDate(){return this._activeDate}set activeDate(w){const J=this._activeDate,Ie=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(w))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Ie,this.minDate,this.maxDate),this._hasSameMonthAndYear(J,this._activeDate)||this._init()}get selected(){return this._selected}set selected(w){this._selected=w instanceof oi?w:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(w)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(w){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(w))}get maxDate(){return this._maxDate}set maxDate(w){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(w))}constructor(w,J,Ie,Xe,ei){this._changeDetectorRef=w,this._dateFormats=J,this._dateAdapter=Ie,this._dir=Xe,this._rangeStrategy=ei,this._rerenderSubscription=de.w0.EMPTY,this.activeDrag=null,this.selectedChange=new b.vpe,this._userSelection=new b.vpe,this.dragStarted=new b.vpe,this.dragEnded=new b.vpe,this.activeDateChange=new b.vpe,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,Re.O)(null)).subscribe(()=>this._init())}ngOnChanges(w){const J=w.comparisonStart||w.comparisonEnd;J&&!J.firstChange&&this._setRanges(this.selected),w.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(w){const J=w.value,Ie=this._getDateFromDayOfMonth(J);let Xe,ei;this._selected instanceof oi?(Xe=this._getDateInCurrentMonth(this._selected.start),ei=this._getDateInCurrentMonth(this._selected.end)):Xe=ei=this._getDateInCurrentMonth(this._selected),(Xe!==J||ei!==J)&&this.selectedChange.emit(Ie),this._userSelection.emit({value:Ie,event:w.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(w){const Ie=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(w.value),this._dateAdapter.compareDate(Ie,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(w){const J=this._activeDate,Ie=this._isRtl();switch(w.keyCode){case Le.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Ie?1:-1);break;case Le.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Ie?-1:1);break;case Le.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case Le.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case Le.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case Le.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case Le.Ku:this.activeDate=w.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case Le.VM:this.activeDate=w.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case Le.K5:case Le.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&w.preventDefault());case Le.hY:return void(null!=this._previewEnd&&!(0,Le.Vb)(w)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:w}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:w})),w.preventDefault(),w.stopPropagation()));default:return}this._dateAdapter.compareDate(J,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),w.preventDefault()}_handleCalendarBodyKeyup(w){(w.keyCode===Le.L_||w.keyCode===Le.K5)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:w}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let w=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(w)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(w){this._matCalendarBody._focusActiveCell(w)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:w,value:J}){if(this._rangeStrategy){const Ie=J?J.rawValue:null,Xe=this._rangeStrategy.createPreview(Ie,this.selected,w);if(this._previewStart=this._getCellCompareValue(Xe.start),this._previewEnd=this._getCellCompareValue(Xe.end),this.activeDrag&&Ie){const ei=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,Ie,w);ei&&(this._previewStart=this._getCellCompareValue(ei.start),this._previewEnd=this._getCellCompareValue(ei.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(w){if(this.activeDrag)if(w.value){const J=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,w.value,w.event);this.dragEnded.emit({value:J??null,event:w.event})}else this.dragEnded.emit({value:null,event:w.event})}_getDateFromDayOfMonth(w){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),w)}_initWeekdays(){const w=this._dateAdapter.getFirstDayOfWeek(),J=this._dateAdapter.getDayOfWeekNames("narrow");let Xe=this._dateAdapter.getDayOfWeekNames("long").map((ei,Ei)=>({long:ei,narrow:J[Ei]}));this._weekdays=Xe.slice(w).concat(Xe.slice(0,w))}_createWeekCells(){const w=this._dateAdapter.getNumDaysInMonth(this.activeDate),J=this._dateAdapter.getDateNames();this._weeks=[[]];for(let Ie=0,Xe=this._firstWeekOffset;Ie<w;Ie++,Xe++){7==Xe&&(this._weeks.push([]),Xe=0);const ei=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),Ie+1),Ei=this._shouldEnableDate(ei),Yi=this._dateAdapter.format(ei,this._dateFormats.display.dateA11yLabel),Mn=this.dateClass?this.dateClass(ei,"month"):void 0;this._weeks[this._weeks.length-1].push(new Fe(Ie+1,J[Ie],Yi,Ei,Mn,this._getCellCompareValue(ei),ei))}}_shouldEnableDate(w){return!!w&&(!this.minDate||this._dateAdapter.compareDate(w,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(w,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(w))}_getDateInCurrentMonth(w){return w&&this._hasSameMonthAndYear(w,this.activeDate)?this._dateAdapter.getDate(w):null}_hasSameMonthAndYear(w,J){return!(!w||!J||this._dateAdapter.getMonth(w)!=this._dateAdapter.getMonth(J)||this._dateAdapter.getYear(w)!=this._dateAdapter.getYear(J))}_getCellCompareValue(w){if(w){const J=this._dateAdapter.getYear(w),Ie=this._dateAdapter.getMonth(w),Xe=this._dateAdapter.getDate(w);return new Date(J,Ie,Xe).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(w){w instanceof oi?(this._rangeStart=this._getCellCompareValue(w.start),this._rangeEnd=this._getCellCompareValue(w.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(w),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(w){return!this.dateFilter||this.dateFilter(w)}_clearPreview(){this._previewStart=this._previewEnd=null}}return at.\u0275fac=function(w){return new(w||at)(b.Y36(b.sBO),b.Y36(q.sG,8),b.Y36(q._A,8),b.Y36(He.Is,8),b.Y36(Yt,8))},at.\u0275cmp=b.Xpm({type:at,selectors:[["mat-month-view"]],viewQuery:function(w,J){if(1&w&&b.Gf(it,5),2&w){let Ie;b.iGM(Ie=b.CRH())&&(J._matCalendarBody=Ie.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[b.TTD],decls:7,vars:15,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName","selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown"],["scope","col"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(w,J){1&w&&(b.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),b.YNc(3,xe,5,2,"th",2),b.qZA(),b.TgZ(4,"tr"),b._UZ(5,"th",3),b.qZA()(),b.TgZ(6,"tbody",4),b.NdJ("selectedValueChange",function(Xe){return J._dateSelected(Xe)})("activeDateChange",function(Xe){return J._updateActiveDate(Xe)})("previewChange",function(Xe){return J._previewChanged(Xe)})("dragStarted",function(Xe){return J.dragStarted.emit(Xe)})("dragEnded",function(Xe){return J._dragEnded(Xe)})("keyup",function(Xe){return J._handleCalendarBodyKeyup(Xe)})("keydown",function(Xe){return J._handleCalendarBodyKeydown(Xe)}),b.qZA()()),2&w&&(b.xp6(3),b.Q6J("ngForOf",J._weekdays),b.xp6(3),b.Q6J("label",J._monthLabel)("rows",J._weeks)("todayValue",J._todayDate)("startValue",J._rangeStart)("endValue",J._rangeEnd)("comparisonStart",J._comparisonRangeStart)("comparisonEnd",J._comparisonRangeEnd)("previewStart",J._previewStart)("previewEnd",J._previewEnd)("isRange",J._isRange)("labelMinRequiredCells",3)("activeCell",J._dateAdapter.getDate(J.activeDate)-1)("startDateAccessibleName",J.startDateAccessibleName)("endDateAccessibleName",J.endDateAccessibleName))},dependencies:[l.sg,it],encapsulation:2,changeDetection:0}),at})();const B=24;let Ut=(()=>{class at{get activeDate(){return this._activeDate}set activeDate(w){let J=this._activeDate;const Ie=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(w))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Ie,this.minDate,this.maxDate),Vt(this._dateAdapter,J,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(w){this._selected=w instanceof oi?w:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(w)),this._setSelectedYear(w)}get minDate(){return this._minDate}set minDate(w){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(w))}get maxDate(){return this._maxDate}set maxDate(w){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(w))}constructor(w,J,Ie){this._changeDetectorRef=w,this._dateAdapter=J,this._dir=Ie,this._rerenderSubscription=de.w0.EMPTY,this.selectedChange=new b.vpe,this.yearSelected=new b.vpe,this.activeDateChange=new b.vpe,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,Re.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const J=this._dateAdapter.getYear(this._activeDate)-be(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let Ie=0,Xe=[];Ie<B;Ie++)Xe.push(J+Ie),4==Xe.length&&(this._years.push(Xe.map(ei=>this._createCellForYear(ei))),Xe=[]);this._changeDetectorRef.markForCheck()}_yearSelected(w){const J=w.value,Ie=this._dateAdapter.createDate(J,0,1),Xe=this._getDateFromYear(J);this.yearSelected.emit(Ie),this.selectedChange.emit(Xe)}_updateActiveDate(w){const Ie=this._activeDate;this.activeDate=this._getDateFromYear(w.value),this._dateAdapter.compareDate(Ie,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(w){const J=this._activeDate,Ie=this._isRtl();switch(w.keyCode){case Le.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ie?1:-1);break;case Le.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ie?-1:1);break;case Le.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case Le.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case Le.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-be(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case Le.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,B-be(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case Le.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,w.altKey?10*-B:-B);break;case Le.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,w.altKey?10*B:B);break;case Le.K5:case Le.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(J,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),w.preventDefault()}_handleCalendarBodyKeyup(w){(w.keyCode===Le.L_||w.keyCode===Le.K5)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:w}),this._selectionKeyPressed=!1)}_getActiveCell(){return be(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(w){const J=this._dateAdapter.getMonth(this.activeDate),Ie=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(w,J,1));return this._dateAdapter.createDate(w,J,Math.min(this._dateAdapter.getDate(this.activeDate),Ie))}_createCellForYear(w){const J=this._dateAdapter.createDate(w,0,1),Ie=this._dateAdapter.getYearName(J),Xe=this.dateClass?this.dateClass(J,"multi-year"):void 0;return new Fe(w,Ie,Ie,this._shouldEnableYear(w),Xe)}_shouldEnableYear(w){if(null==w||this.maxDate&&w>this._dateAdapter.getYear(this.maxDate)||this.minDate&&w<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(let Ie=this._dateAdapter.createDate(w,0,1);this._dateAdapter.getYear(Ie)==w;Ie=this._dateAdapter.addCalendarDays(Ie,1))if(this.dateFilter(Ie))return!0;return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedYear(w){if(this._selectedYear=null,w instanceof oi){const J=w.start||w.end;J&&(this._selectedYear=this._dateAdapter.getYear(J))}else w&&(this._selectedYear=this._dateAdapter.getYear(w))}}return at.\u0275fac=function(w){return new(w||at)(b.Y36(b.sBO),b.Y36(q._A,8),b.Y36(He.Is,8))},at.\u0275cmp=b.Xpm({type:at,selectors:[["mat-multi-year-view"]],viewQuery:function(w,J){if(1&w&&b.Gf(it,5),2&w){let Ie;b.iGM(Ie=b.CRH())&&(J._matCalendarBody=Ie.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],decls:5,vars:7,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell","selectedValueChange","activeDateChange","keyup","keydown"]],template:function(w,J){1&w&&(b.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),b._UZ(3,"th",2),b.qZA()(),b.TgZ(4,"tbody",3),b.NdJ("selectedValueChange",function(Xe){return J._yearSelected(Xe)})("activeDateChange",function(Xe){return J._updateActiveDate(Xe)})("keyup",function(Xe){return J._handleCalendarBodyKeyup(Xe)})("keydown",function(Xe){return J._handleCalendarBodyKeydown(Xe)}),b.qZA()()),2&w&&(b.xp6(4),b.Q6J("rows",J._years)("todayValue",J._todayYear)("startValue",J._selectedYear)("endValue",J._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",J._getActiveCell()))},dependencies:[it],encapsulation:2,changeDetection:0}),at})();function Vt(at,xt,w,J,Ie){const Xe=at.getYear(xt),ei=at.getYear(w),Ei=st(at,J,Ie);return Math.floor((Xe-Ei)/B)===Math.floor((ei-Ei)/B)}function be(at,xt,w,J){return function Z(at,xt){return(at%xt+xt)%xt}(at.getYear(xt)-st(at,w,J),B)}function st(at,xt,w){let J=0;return w?J=at.getYear(w)-B+1:xt&&(J=at.getYear(xt)),J}let ke=(()=>{class at{get activeDate(){return this._activeDate}set activeDate(w){let J=this._activeDate;const Ie=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(w))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Ie,this.minDate,this.maxDate),this._dateAdapter.getYear(J)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(w){this._selected=w instanceof oi?w:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(w)),this._setSelectedMonth(w)}get minDate(){return this._minDate}set minDate(w){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(w))}get maxDate(){return this._maxDate}set maxDate(w){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(w))}constructor(w,J,Ie,Xe){this._changeDetectorRef=w,this._dateFormats=J,this._dateAdapter=Ie,this._dir=Xe,this._rerenderSubscription=de.w0.EMPTY,this.selectedChange=new b.vpe,this.monthSelected=new b.vpe,this.activeDateChange=new b.vpe,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,Re.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(w){const J=w.value,Ie=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),J,1);this.monthSelected.emit(Ie);const Xe=this._getDateFromMonth(J);this.selectedChange.emit(Xe)}_updateActiveDate(w){const Ie=this._activeDate;this.activeDate=this._getDateFromMonth(w.value),this._dateAdapter.compareDate(Ie,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(w){const J=this._activeDate,Ie=this._isRtl();switch(w.keyCode){case Le.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Ie?1:-1);break;case Le.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Ie?-1:1);break;case Le.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case Le.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case Le.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case Le.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case Le.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,w.altKey?-10:-1);break;case Le.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,w.altKey?10:1);break;case Le.K5:case Le.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(J,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),w.preventDefault()}_handleCalendarBodyKeyup(w){(w.keyCode===Le.L_||w.keyCode===Le.K5)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:w}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let w=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(J=>J.map(Ie=>this._createCellForMonth(Ie,w[Ie]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(w){return w&&this._dateAdapter.getYear(w)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(w):null}_getDateFromMonth(w){const J=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),w,1),Ie=this._dateAdapter.getNumDaysInMonth(J);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),w,Math.min(this._dateAdapter.getDate(this.activeDate),Ie))}_createCellForMonth(w,J){const Ie=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),w,1),Xe=this._dateAdapter.format(Ie,this._dateFormats.display.monthYearA11yLabel),ei=this.dateClass?this.dateClass(Ie,"year"):void 0;return new Fe(w,J.toLocaleUpperCase(),Xe,this._shouldEnableMonth(w),ei)}_shouldEnableMonth(w){const J=this._dateAdapter.getYear(this.activeDate);if(null==w||this._isYearAndMonthAfterMaxDate(J,w)||this._isYearAndMonthBeforeMinDate(J,w))return!1;if(!this.dateFilter)return!0;for(let Xe=this._dateAdapter.createDate(J,w,1);this._dateAdapter.getMonth(Xe)==w;Xe=this._dateAdapter.addCalendarDays(Xe,1))if(this.dateFilter(Xe))return!0;return!1}_isYearAndMonthAfterMaxDate(w,J){if(this.maxDate){const Ie=this._dateAdapter.getYear(this.maxDate),Xe=this._dateAdapter.getMonth(this.maxDate);return w>Ie||w===Ie&&J>Xe}return!1}_isYearAndMonthBeforeMinDate(w,J){if(this.minDate){const Ie=this._dateAdapter.getYear(this.minDate),Xe=this._dateAdapter.getMonth(this.minDate);return w<Ie||w===Ie&&J<Xe}return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedMonth(w){this._selectedMonth=w instanceof oi?this._getMonthInCurrentYear(w.start)||this._getMonthInCurrentYear(w.end):this._getMonthInCurrentYear(w)}}return at.\u0275fac=function(w){return new(w||at)(b.Y36(b.sBO),b.Y36(q.sG,8),b.Y36(q._A,8),b.Y36(He.Is,8))},at.\u0275cmp=b.Xpm({type:at,selectors:[["mat-year-view"]],viewQuery:function(w,J){if(1&w&&b.Gf(it,5),2&w){let Ie;b.iGM(Ie=b.CRH())&&(J._matCalendarBody=Ie.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],decls:5,vars:9,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell","selectedValueChange","activeDateChange","keyup","keydown"]],template:function(w,J){1&w&&(b.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),b._UZ(3,"th",2),b.qZA()(),b.TgZ(4,"tbody",3),b.NdJ("selectedValueChange",function(Xe){return J._monthSelected(Xe)})("activeDateChange",function(Xe){return J._updateActiveDate(Xe)})("keyup",function(Xe){return J._handleCalendarBodyKeyup(Xe)})("keydown",function(Xe){return J._handleCalendarBodyKeydown(Xe)}),b.qZA()()),2&w&&(b.xp6(4),b.Q6J("label",J._yearLabel)("rows",J._months)("todayValue",J._todayMonth)("startValue",J._selectedMonth)("endValue",J._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",J._dateAdapter.getMonth(J.activeDate)))},dependencies:[it],encapsulation:2,changeDetection:0}),at})(),gt=1,Rt=(()=>{class at{constructor(w,J,Ie,Xe,ei){this._intl=w,this.calendar=J,this._dateAdapter=Ie,this._dateFormats=Xe,this._id="mat-calendar-header-"+gt++,this._periodButtonLabelId=`${this._id}-period-label`,this.calendar.stateChanges.subscribe(()=>ei.markForCheck())}get periodButtonText(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRange(...this._formatMinAndMaxYearLabels())}get periodButtonDescription(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRangeLabel(...this._formatMinAndMaxYearLabels())}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-B)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:B)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(w,J){return"month"==this.calendar.currentView?this._dateAdapter.getYear(w)==this._dateAdapter.getYear(J)&&this._dateAdapter.getMonth(w)==this._dateAdapter.getMonth(J):"year"==this.calendar.currentView?this._dateAdapter.getYear(w)==this._dateAdapter.getYear(J):Vt(this._dateAdapter,w,J,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){const J=this._dateAdapter.getYear(this.calendar.activeDate)-be(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),Ie=J+B-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(J,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(Ie,0,1))]}}return at.\u0275fac=function(w){return new(w||at)(b.Y36(we),b.Y36((0,b.Gpc)(()=>se)),b.Y36(q._A,8),b.Y36(q.sG,8),b.Y36(b.sBO))},at.\u0275cmp=b.Xpm({type:at,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:kt,decls:13,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","aria-live","polite",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"],[1,"mat-calendar-hidden-label",3,"id"]],template:function(w,J){1&w&&(b.F$t(),b.TgZ(0,"div",0)(1,"div",1)(2,"button",2),b.NdJ("click",function(){return J.currentPeriodClicked()}),b.TgZ(3,"span",3),b._uU(4),b.qZA(),b.O4$(),b.TgZ(5,"svg",4),b._UZ(6,"polygon",5),b.qZA()(),b.kcU(),b._UZ(7,"div",6),b.Hsn(8),b.TgZ(9,"button",7),b.NdJ("click",function(){return J.previousClicked()}),b.qZA(),b.TgZ(10,"button",8),b.NdJ("click",function(){return J.nextClicked()}),b.qZA()()(),b.TgZ(11,"label",9),b._uU(12),b.qZA()),2&w&&(b.xp6(2),b.uIk("aria-label",J.periodButtonLabel)("aria-describedby",J._periodButtonLabelId),b.xp6(2),b.Oqu(J.periodButtonText),b.xp6(1),b.ekj("mat-calendar-invert","month"!==J.calendar.currentView),b.xp6(4),b.Q6J("disabled",!J.previousEnabled()),b.uIk("aria-label",J.prevButtonLabel),b.xp6(1),b.Q6J("disabled",!J.nextEnabled()),b.uIk("aria-label",J.nextButtonLabel),b.xp6(1),b.Q6J("id",J._periodButtonLabelId),b.xp6(1),b.Oqu(J.periodButtonDescription))},dependencies:[O.lW,O.RK],encapsulation:2,changeDetection:0}),at})(),se=(()=>{class at{get startAt(){return this._startAt}set startAt(w){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(w))}get selected(){return this._selected}set selected(w){this._selected=w instanceof oi?w:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(w))}get minDate(){return this._minDate}set minDate(w){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(w))}get maxDate(){return this._maxDate}set maxDate(w){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(w))}get activeDate(){return this._clampedActiveDate}set activeDate(w){this._clampedActiveDate=this._dateAdapter.clampDate(w,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(w){const J=this._currentView!==w?w:null;this._currentView=w,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),J&&this.viewChanged.emit(J)}constructor(w,J,Ie,Xe){this._dateAdapter=J,this._dateFormats=Ie,this._changeDetectorRef=Xe,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new b.vpe,this.yearSelected=new b.vpe,this.monthSelected=new b.vpe,this.viewChanged=new b.vpe(!0),this._userSelection=new b.vpe,this._userDragDrop=new b.vpe,this._activeDrag=null,this.stateChanges=new Ee.x,this._intlChanges=w.changes.subscribe(()=>{Xe.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new T.C5(this.headerComponent||Rt),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(w){const J=w.minDate&&!this._dateAdapter.sameDate(w.minDate.previousValue,w.minDate.currentValue)?w.minDate:void 0,Ie=w.maxDate&&!this._dateAdapter.sameDate(w.maxDate.previousValue,w.maxDate.currentValue)?w.maxDate:void 0,Xe=J||Ie||w.dateFilter;if(Xe&&!Xe.firstChange){const ei=this._getCurrentViewComponent();ei&&(this._changeDetectorRef.detectChanges(),ei._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(w){const J=w.value;(this.selected instanceof oi||J&&!this._dateAdapter.sameDate(J,this.selected))&&this.selectedChange.emit(J),this._userSelection.emit(w)}_yearSelectedInMultiYearView(w){this.yearSelected.emit(w)}_monthSelectedInYearView(w){this.monthSelected.emit(w)}_goToDateInView(w,J){this.activeDate=w,this.currentView=J}_dragStarted(w){this._activeDrag=w}_dragEnded(w){this._activeDrag&&(w.value&&this._userDragDrop.emit(w),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return at.\u0275fac=function(w){return new(w||at)(b.Y36(we),b.Y36(q._A,8),b.Y36(q.sG,8),b.Y36(b.sBO))},at.\u0275cmp=b.Xpm({type:at,selectors:[["mat-calendar"]],viewQuery:function(w,J){if(1&w&&(b.Gf(Ae,5),b.Gf(ke,5),b.Gf(Ut,5)),2&w){let Ie;b.iGM(Ie=b.CRH())&&(J.monthView=Ie.first),b.iGM(Ie=b.CRH())&&(J.yearView=Ie.first),b.iGM(Ie=b.CRH())&&(J.multiYearView=Ie.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],features:[b._Bn([re]),b.TTD],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(w,J){1&w&&(b.YNc(0,rt,0,0,"ng-template",0),b.TgZ(1,"div",1),b.YNc(2,Wt,1,11,"mat-month-view",2),b.YNc(3,yi,1,6,"mat-year-view",3),b.YNc(4,gi,1,6,"mat-multi-year-view",4),b.qZA()),2&w&&(b.Q6J("cdkPortalOutlet",J._calendarHeaderPortal),b.xp6(1),b.Q6J("ngSwitch",J.currentView),b.xp6(1),b.Q6J("ngSwitchCase","month"),b.xp6(1),b.Q6J("ngSwitchCase","year"),b.xp6(1),b.Q6J("ngSwitchCase","multi-year"))},dependencies:[l.RF,l.n9,e.kH,T.Pl,Ae,ke,Ut],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}.mat-calendar-hidden-label{display:none}'],encapsulation:2,changeDetection:0}),at})();const z={transformPanel:(0,Pe.X$)("transformPanel",[(0,Pe.eR)("void => enter-dropdown",(0,Pe.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,Pe.F4)([(0,Pe.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,Pe.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,Pe.eR)("void => enter-dialog",(0,Pe.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,Pe.F4)([(0,Pe.oB)({opacity:0,transform:"scale(0.7)"}),(0,Pe.oB)({transform:"none",opacity:1})]))),(0,Pe.eR)("* => void",(0,Pe.jt)("100ms linear",(0,Pe.oB)({opacity:0})))]),fadeInCalendar:(0,Pe.X$)("fadeInCalendar",[(0,Pe.SB)("void",(0,Pe.oB)({opacity:0})),(0,Pe.SB)("enter",(0,Pe.oB)({opacity:1})),(0,Pe.eR)("void => *",(0,Pe.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let A=0;const me=new b.OlP("mat-datepicker-scroll-strategy"),Ot={provide:me,deps:[s.aV],useFactory:function Ye(at){return()=>at.scrollStrategies.reposition()}},ii=(0,q.pj)(class{constructor(at){this._elementRef=at}});let Ci=(()=>{class at extends ii{constructor(w,J,Ie,Xe,ei,Ei){super(w),this._changeDetectorRef=J,this._globalModel=Ie,this._dateAdapter=Xe,this._rangeSelectionStrategy=ei,this._subscriptions=new de.w0,this._animationDone=new Ee.x,this._isAnimating=!1,this._actionsPortal=null,this._closeButtonText=Ei.closeCalendarLabel}ngOnInit(){this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(w){const J=this._model.selection,Ie=w.value,Xe=J instanceof oi;if(Xe&&this._rangeSelectionStrategy){const ei=this._rangeSelectionStrategy.selectionFinished(Ie,J,w.event);this._model.updateSelection(ei,this)}else Ie&&(Xe||!this._dateAdapter.sameDate(Ie,J))&&this._model.add(Ie);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(w){this._model.updateSelection(w.value,this)}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_handleAnimationEvent(w){this._isAnimating="start"===w.phaseName,this._isAnimating||this._animationDone.next()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(w,J){this._model=w?this._globalModel.clone():this._globalModel,this._actionsPortal=w,J&&this._changeDetectorRef.detectChanges()}}return at.\u0275fac=function(w){return new(w||at)(b.Y36(b.SBq),b.Y36(b.sBO),b.Y36(dt),b.Y36(q._A),b.Y36(Yt,8),b.Y36(we))},at.\u0275cmp=b.Xpm({type:at,selectors:[["mat-datepicker-content"]],viewQuery:function(w,J){if(1&w&&b.Gf(se,5),2&w){let Ie;b.iGM(Ie=b.CRH())&&(J._calendar=Ie.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(w,J){1&w&&b.WFA("@transformPanel.start",function(Xe){return J._handleAnimationEvent(Xe)})("@transformPanel.done",function(Xe){return J._handleAnimationEvent(Xe)}),2&w&&(b.d8E("@transformPanel",J._animationState),b.ekj("mat-datepicker-content-touch",J.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[b.qOj],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(w,J){if(1&w&&(b.TgZ(0,"div",0)(1,"mat-calendar",1),b.NdJ("yearSelected",function(Xe){return J.datepicker._selectYear(Xe)})("monthSelected",function(Xe){return J.datepicker._selectMonth(Xe)})("viewChanged",function(Xe){return J.datepicker._viewChanged(Xe)})("_userSelection",function(Xe){return J._handleUserSelection(Xe)})("_userDragDrop",function(Xe){return J._handleUserDragDrop(Xe)}),b.qZA(),b.YNc(2,jt,0,0,"ng-template",2),b.TgZ(3,"button",3),b.NdJ("focus",function(){return J._closeButtonFocused=!0})("blur",function(){return J._closeButtonFocused=!1})("click",function(){return J.datepicker.close()}),b._uU(4),b.qZA()()),2&w){let Ie;b.ekj("mat-datepicker-content-container-with-custom-header",J.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",J._actionsPortal),b.uIk("aria-modal",!0)("aria-labelledby",null!==(Ie=J._dialogLabelId)&&void 0!==Ie?Ie:void 0),b.xp6(1),b.Q6J("id",J.datepicker.id)("ngClass",J.datepicker.panelClass)("startAt",J.datepicker.startAt)("startView",J.datepicker.startView)("minDate",J.datepicker._getMinDate())("maxDate",J.datepicker._getMaxDate())("dateFilter",J.datepicker._getDateFilter())("headerComponent",J.datepicker.calendarHeaderComponent)("selected",J._getSelected())("dateClass",J.datepicker.dateClass)("comparisonStart",J.comparisonStart)("comparisonEnd",J.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",J.startDateAccessibleName)("endDateAccessibleName",J.endDateAccessibleName),b.xp6(1),b.Q6J("cdkPortalOutlet",J._actionsPortal),b.xp6(1),b.ekj("cdk-visually-hidden",!J._closeButtonFocused),b.Q6J("color",J.color||"primary"),b.xp6(1),b.Oqu(J._closeButtonText)}},dependencies:[l.mk,O.lW,e.mK,T.Pl,se],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}"],encapsulation:2,data:{animation:[z.transformPanel,z.fadeInCalendar]},changeDetection:0}),at})(),Si=(()=>{class at{get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(w){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(w))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(w){this._color=w}get touchUi(){return this._touchUi}set touchUi(w){this._touchUi=(0,Me.Ig)(w)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(w){const J=(0,Me.Ig)(w);J!==this._disabled&&(this._disabled=J,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(w){this._restoreFocus=(0,Me.Ig)(w)}get panelClass(){return this._panelClass}set panelClass(w){this._panelClass=(0,Me.du)(w)}get opened(){return this._opened}set opened(w){(0,Me.Ig)(w)?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}constructor(w,J,Ie,Xe,ei,Ei,Yi){this._overlay=w,this._ngZone=J,this._viewContainerRef=Ie,this._dateAdapter=ei,this._dir=Ei,this._model=Yi,this._inputStateChanges=de.w0.EMPTY,this._document=(0,b.f3M)(l.K0),this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new b.vpe,this.monthSelected=new b.vpe,this.viewChanged=new b.vpe(!0),this.openedStream=new b.vpe,this.closedStream=new b.vpe,this._opened=!1,this.id="mat-datepicker-"+A++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new Ee.x,this._scrollStrategy=Xe}ngOnChanges(w){const J=w.xPosition||w.yPosition;if(J&&!J.firstChange&&this._overlayRef){const Ie=this._overlayRef.getConfig().positionStrategy;Ie instanceof s._G&&(this._setConnectedPositions(Ie),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(w){this._model.add(w)}_selectYear(w){this.yearSelected.emit(w)}_selectMonth(w){this.monthSelected.emit(w)}_viewChanged(w){this.viewChanged.emit(w)}registerInput(w){return this._inputStateChanges.unsubscribe(),this.datepickerInput=w,this._inputStateChanges=w.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(w){this._actionsPortal=w,this._componentRef?.instance._assignActions(w,!0)}removeActions(w){w===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this._focusedElementBeforeOpen=(0,Qe.ht)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;const w=this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,J=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:Ie,location:Xe}=this._componentRef;Ie._startExitAnimation(),Ie._animationDone.pipe((0,pt.q)(1)).subscribe(()=>{const ei=this._document.activeElement;w&&(!ei||ei===this._document.activeElement||Xe.nativeElement.contains(ei))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}w?setTimeout(J):J()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(w){w.datepicker=this,w.color=this.color,w._dialogLabelId=this.datepickerInput.getOverlayLabelId(),w._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const w=this.touchUi,J=new T.C5(Ci,this._viewContainerRef),Ie=this._overlayRef=this._overlay.create(new s.X_({positionStrategy:w?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[w?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:w?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(w?"dialog":"popup")}));this._getCloseStream(Ie).subscribe(Xe=>{Xe&&Xe.preventDefault(),this.close()}),Ie.keydownEvents().subscribe(Xe=>{const ei=Xe.keyCode;(ei===Le.LH||ei===Le.JH||ei===Le.oh||ei===Le.SV||ei===Le.Ku||ei===Le.VM)&&Xe.preventDefault()}),this._componentRef=Ie.attach(J),this._forwardContentValues(this._componentRef.instance),w||this._ngZone.onStable.pipe((0,pt.q)(1)).subscribe(()=>Ie.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const w=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(w)}_setConnectedPositions(w){const J="end"===this.xPosition?"end":"start",Ie="start"===J?"end":"start",Xe="above"===this.yPosition?"bottom":"top",ei="top"===Xe?"bottom":"top";return w.withPositions([{originX:J,originY:ei,overlayX:J,overlayY:Xe},{originX:J,originY:Xe,overlayX:J,overlayY:ei},{originX:Ie,originY:ei,overlayX:Ie,overlayY:Xe},{originX:Ie,originY:Xe,overlayX:Ie,overlayY:ei}])}_getCloseStream(w){const J=["ctrlKey","shiftKey","metaKey"];return(0,Be.T)(w.backdropClick(),w.detachments(),w.keydownEvents().pipe((0,ze.h)(Ie=>Ie.keyCode===Le.hY&&!(0,Le.Vb)(Ie)||this.datepickerInput&&(0,Le.Vb)(Ie,"altKey")&&Ie.keyCode===Le.LH&&J.every(Xe=>!(0,Le.Vb)(Ie,Xe)))))}}return at.\u0275fac=function(w){return new(w||at)(b.Y36(s.aV),b.Y36(b.R0b),b.Y36(b.s_b),b.Y36(me),b.Y36(q._A,8),b.Y36(He.Is,8),b.Y36(dt))},at.\u0275dir=b.lG2({type:at,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:"touchUi",disabled:"disabled",xPosition:"xPosition",yPosition:"yPosition",restoreFocus:"restoreFocus",dateClass:"dateClass",panelClass:"panelClass",opened:"opened"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[b.TTD]}),at})();class vi{constructor(xt,w){this.target=xt,this.targetElement=w,this.value=this.target.value}}let Lt=(()=>{class at{get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(w){this._assignValueProgrammatically(w)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(w){const J=(0,Me.Ig)(w),Ie=this._elementRef.nativeElement;this._disabled!==J&&(this._disabled=J,this.stateChanges.next(void 0)),J&&this._isInitialized&&Ie.blur&&Ie.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(w){this._model=w,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(J=>{if(this._shouldHandleChangeEvent(J)){const Ie=this._getValueFromModel(J.selection);this._lastValueValid=this._isValidValue(Ie),this._cvaOnChange(Ie),this._onTouched(),this._formatValue(Ie),this.dateInput.emit(new vi(this,this._elementRef.nativeElement)),this.dateChange.emit(new vi(this,this._elementRef.nativeElement))}})}constructor(w,J,Ie){this._elementRef=w,this._dateAdapter=J,this._dateFormats=Ie,this.dateChange=new b.vpe,this.dateInput=new b.vpe,this.stateChanges=new Ee.x,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=de.w0.EMPTY,this._localeSubscription=de.w0.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=Xe=>{const ei=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Xe.value));return!ei||this._matchesFilter(ei)?null:{matDatepickerFilter:!0}},this._minValidator=Xe=>{const ei=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Xe.value)),Ei=this._getMinDate();return!Ei||!ei||this._dateAdapter.compareDate(Ei,ei)<=0?null:{matDatepickerMin:{min:Ei,actual:ei}}},this._maxValidator=Xe=>{const ei=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Xe.value)),Ei=this._getMaxDate();return!Ei||!ei||this._dateAdapter.compareDate(Ei,ei)>=0?null:{matDatepickerMax:{max:Ei,actual:ei}}},this._lastValueValid=!1,this._localeSubscription=J.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(w){Et(w,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(w){this._validatorOnChange=w}validate(w){return this._validator?this._validator(w):null}writeValue(w){this._assignValueProgrammatically(w)}registerOnChange(w){this._cvaOnChange=w}registerOnTouched(w){this._onTouched=w}setDisabledState(w){this.disabled=w}_onKeydown(w){(0,Le.Vb)(w,"altKey")&&w.keyCode===Le.JH&&["ctrlKey","shiftKey","metaKey"].every(Xe=>!(0,Le.Vb)(w,Xe))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),w.preventDefault())}_onInput(w){const J=this._lastValueValid;let Ie=this._dateAdapter.parse(w,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(Ie),Ie=this._dateAdapter.getValidDateOrNull(Ie);const Xe=!this._dateAdapter.sameDate(Ie,this.value);!Ie||Xe?this._cvaOnChange(Ie):(w&&!this.value&&this._cvaOnChange(Ie),J!==this._lastValueValid&&this._validatorOnChange()),Xe&&(this._assignValue(Ie),this.dateInput.emit(new vi(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new vi(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(w){this._elementRef.nativeElement.value=null!=w?this._dateAdapter.format(w,this._dateFormats.display.dateInput):""}_assignValue(w){this._model?(this._assignValueToModel(w),this._pendingValue=null):this._pendingValue=w}_isValidValue(w){return!w||this._dateAdapter.isValid(w)}_parentDisabled(){return!1}_assignValueProgrammatically(w){w=this._dateAdapter.deserialize(w),this._lastValueValid=this._isValidValue(w),w=this._dateAdapter.getValidDateOrNull(w),this._assignValue(w),this._formatValue(w)}_matchesFilter(w){const J=this._getDateFilter();return!J||J(w)}}return at.\u0275fac=function(w){return new(w||at)(b.Y36(b.SBq),b.Y36(q._A,8),b.Y36(q.sG,8))},at.\u0275dir=b.lG2({type:at,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[b.TTD]}),at})();function Et(at,xt){const w=Object.keys(at);for(let J of w){const{previousValue:Ie,currentValue:Xe}=at[J];if(!xt.isDateInstance(Ie)||!xt.isDateInstance(Xe))return!0;if(!xt.sameDate(Ie,Xe))return!0}return!1}let fe=(()=>{class at{}return at.\u0275fac=function(w){return new(w||at)},at.\u0275dir=b.lG2({type:at,selectors:[["","matDatepickerToggleIcon",""]]}),at})(),Ze=(()=>{class at{get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(w){this._disabled=(0,Me.Ig)(w)}constructor(w,J,Ie){this._intl=w,this._changeDetectorRef=J,this._stateChanges=de.w0.EMPTY;const Xe=Number(Ie);this.tabIndex=Xe||0===Xe?Xe:null}ngOnChanges(w){w.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(w){this.datepicker&&!this.disabled&&(this.datepicker.open(),w.stopPropagation())}_watchStateChanges(){const w=this.datepicker?this.datepicker.stateChanges:(0,he.of)(),J=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,he.of)(),Ie=this.datepicker?(0,Be.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,he.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,Be.T)(this._intl.changes,w,J,Ie).subscribe(()=>this._changeDetectorRef.markForCheck())}}return at.\u0275fac=function(w){return new(w||at)(b.Y36(we),b.Y36(b.sBO),b.$8M("tabindex"))},at.\u0275cmp=b.Xpm({type:at,selectors:[["mat-datepicker-toggle"]],contentQueries:function(w,J,Ie){if(1&w&&b.Suo(Ie,fe,5),2&w){let Xe;b.iGM(Xe=b.CRH())&&(J._customIcon=Xe.first)}},viewQuery:function(w,J){if(1&w&&b.Gf(ai,5),2&w){let Ie;b.iGM(Ie=b.CRH())&&(J._button=Ie.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(w,J){1&w&&b.NdJ("click",function(Xe){return J._open(Xe)}),2&w&&(b.uIk("tabindex",null)("data-mat-calendar",J.datepicker?J.datepicker.id:null),b.ekj("mat-datepicker-toggle-active",J.datepicker&&J.datepicker.opened)("mat-accent",J.datepicker&&"accent"===J.datepicker.color)("mat-warn",J.datepicker&&"warn"===J.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[b.TTD],ngContentSelectors:j,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(w,J){1&w&&(b.F$t(W),b.TgZ(0,"button",0,1),b.YNc(2,ot,2,0,"svg",2),b.Hsn(3),b.qZA()),2&w&&(b.Q6J("disabled",J.disabled)("disableRipple",J.disableRipple),b.uIk("aria-haspopup",J.datepicker?"dialog":null)("aria-label",J.ariaLabel||J._intl.openCalendarLabel)("tabindex",J.disabled?-1:J.tabIndex),b.xp6(2),b.Q6J("ngIf",!J._customIcon))},dependencies:[l.O5,O.RK],styles:[".mat-datepicker-toggle{pointer-events:auto}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}"],encapsulation:2,changeDetection:0}),at})();function At(at){return Wi(at,!0)}function si(at){return at.nodeType===Node.ELEMENT_NODE}function Wi(at,xt){if(si(at)&&xt){const J=(at.getAttribute?.("aria-labelledby")?.split(/\s+/g)||[]).reduce((Ie,Xe)=>{const ei=document.getElementById(Xe);return ei&&Ie.push(ei),Ie},[]);if(J.length)return J.map(Ie=>Wi(Ie,!1)).join(" ")}if(si(at)){const w=at.getAttribute("aria-label")?.trim();if(w)return w}if(function Gi(at){return"INPUT"===at.nodeName}(at)||function nn(at){return"TEXTAREA"===at.nodeName}(at)){if(at.labels?.length)return Array.from(at.labels).map(Ie=>Wi(Ie,!1)).join(" ");const w=at.getAttribute("placeholder")?.trim();if(w)return w;const J=at.getAttribute("title")?.trim();if(J)return J}return(at.textContent||"").replace(/\s+/g," ").trim()}const Un=new b.OlP("MAT_DATE_RANGE_INPUT_PARENT"),Bn=(0,q.FD)((()=>{class at extends Lt{constructor(w,J,Ie,Xe,ei,Ei,Yi,Mn){super(J,Yi,Mn),this._rangeInput=w,this._elementRef=J,this._defaultErrorStateMatcher=Ie,this._injector=Xe,this._parentForm=ei,this._parentFormGroup=Ei,this._dir=(0,b.f3M)(He.Is,{optional:!0})}ngOnInit(){const w=this._injector.get(_e.a5,null,{optional:!0,self:!0});w&&(this.ngControl=w)}ngDoCheck(){this.ngControl&&this.updateErrorState()}isEmpty(){return 0===this._elementRef.nativeElement.value.length}_getPlaceholder(){return this._elementRef.nativeElement.placeholder}focus(){this._elementRef.nativeElement.focus()}getMirrorValue(){const w=this._elementRef.nativeElement,J=w.value;return J.length>0?J:w.placeholder}_onInput(w){super._onInput(w),this._rangeInput._handleChildValueChange()}_openPopup(){this._rangeInput._openDatepicker()}_getMinDate(){return this._rangeInput.min}_getMaxDate(){return this._rangeInput.max}_getDateFilter(){return this._rangeInput.dateFilter}_parentDisabled(){return this._rangeInput._groupDisabled}_shouldHandleChangeEvent({source:w}){return w!==this._rangeInput._startInput&&w!==this._rangeInput._endInput}_assignValueProgrammatically(w){super._assignValueProgrammatically(w),(this===this._rangeInput._startInput?this._rangeInput._endInput:this._rangeInput._startInput)?._validatorOnChange()}_getAccessibleName(){return At(this._elementRef.nativeElement)}}return at.\u0275fac=function(w){return new(w||at)(b.Y36(Un),b.Y36(b.SBq),b.Y36(q.rD),b.Y36(b.zs3),b.Y36(_e.F,8),b.Y36(_e.sg,8),b.Y36(q._A,8),b.Y36(q.sG,8))},at.\u0275dir=b.lG2({type:at,features:[b.qOj]}),at})());let xo=(()=>{class at extends Bn{constructor(w,J,Ie,Xe,ei,Ei,Yi,Mn){super(w,J,Ie,Xe,ei,Ei,Yi,Mn),this._startValidator=Tn=>{const Li=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Tn.value)),Xn=this._model?this._model.selection.end:null;return!Li||!Xn||this._dateAdapter.compareDate(Li,Xn)<=0?null:{matStartDateInvalid:{end:Xn,actual:Li}}},this._validator=_e.kI.compose([...super._getValidators(),this._startValidator])}_getValueFromModel(w){return w.start}_shouldHandleChangeEvent(w){return!(!super._shouldHandleChangeEvent(w)||(w.oldValue?.start?w.selection.start&&!this._dateAdapter.compareDate(w.oldValue.start,w.selection.start):!w.selection.start))}_assignValueToModel(w){if(this._model){const J=new oi(w,this._model.selection.end);this._model.updateSelection(J,this)}}_formatValue(w){super._formatValue(w),this._rangeInput._handleChildValueChange()}_onKeydown(w){const J=this._rangeInput._endInput,Ie=this._elementRef.nativeElement,Xe="rtl"!==this._dir?.value;(w.keyCode===Le.SV&&Xe||w.keyCode===Le.oh&&!Xe)&&Ie.selectionStart===Ie.value.length&&Ie.selectionEnd===Ie.value.length?(w.preventDefault(),J._elementRef.nativeElement.setSelectionRange(0,0),J.focus()):super._onKeydown(w)}}return at.\u0275fac=function(w){return new(w||at)(b.Y36(Un),b.Y36(b.SBq),b.Y36(q.rD),b.Y36(b.zs3),b.Y36(_e.F,8),b.Y36(_e.sg,8),b.Y36(q._A,8),b.Y36(q.sG,8))},at.\u0275dir=b.lG2({type:at,selectors:[["input","matStartDate",""]],hostAttrs:["type","text",1,"mat-start-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(w,J){1&w&&b.NdJ("input",function(Xe){return J._onInput(Xe.target.value)})("change",function(){return J._onChange()})("keydown",function(Xe){return J._onKeydown(Xe)})("blur",function(){return J._onBlur()}),2&w&&(b.Ikx("disabled",J.disabled),b.uIk("aria-haspopup",J._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==J._rangeInput.rangePicker?null:J._rangeInput.rangePicker.opened)&&J._rangeInput.rangePicker.id||null)("min",J._getMinDate()?J._dateAdapter.toIso8601(J._getMinDate()):null)("max",J._getMaxDate()?J._dateAdapter.toIso8601(J._getMaxDate()):null))},inputs:{errorStateMatcher:"errorStateMatcher"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[b._Bn([{provide:_e.JU,useExisting:at,multi:!0},{provide:_e.Cf,useExisting:at,multi:!0}]),b.qOj]}),at})(),gn=(()=>{class at extends Bn{constructor(w,J,Ie,Xe,ei,Ei,Yi,Mn){super(w,J,Ie,Xe,ei,Ei,Yi,Mn),this._endValidator=Tn=>{const Li=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Tn.value)),Xn=this._model?this._model.selection.start:null;return!Li||!Xn||this._dateAdapter.compareDate(Li,Xn)>=0?null:{matEndDateInvalid:{start:Xn,actual:Li}}},this._validator=_e.kI.compose([...super._getValidators(),this._endValidator])}_getValueFromModel(w){return w.end}_shouldHandleChangeEvent(w){return!(!super._shouldHandleChangeEvent(w)||(w.oldValue?.end?w.selection.end&&!this._dateAdapter.compareDate(w.oldValue.end,w.selection.end):!w.selection.end))}_assignValueToModel(w){if(this._model){const J=new oi(this._model.selection.start,w);this._model.updateSelection(J,this)}}_onKeydown(w){const J=this._rangeInput._startInput,Ie=this._elementRef.nativeElement,Xe="rtl"!==this._dir?.value;if(w.keyCode!==Le.ZH||Ie.value)if((w.keyCode===Le.oh&&Xe||w.keyCode===Le.SV&&!Xe)&&0===Ie.selectionStart&&0===Ie.selectionEnd){w.preventDefault();const ei=J._elementRef.nativeElement.value.length;J._elementRef.nativeElement.setSelectionRange(ei,ei),J.focus()}else super._onKeydown(w);else J.focus()}}return at.\u0275fac=function(w){return new(w||at)(b.Y36(Un),b.Y36(b.SBq),b.Y36(q.rD),b.Y36(b.zs3),b.Y36(_e.F,8),b.Y36(_e.sg,8),b.Y36(q._A,8),b.Y36(q.sG,8))},at.\u0275dir=b.lG2({type:at,selectors:[["input","matEndDate",""]],hostAttrs:["type","text",1,"mat-end-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(w,J){1&w&&b.NdJ("input",function(Xe){return J._onInput(Xe.target.value)})("change",function(){return J._onChange()})("keydown",function(Xe){return J._onKeydown(Xe)})("blur",function(){return J._onBlur()}),2&w&&(b.Ikx("disabled",J.disabled),b.uIk("aria-haspopup",J._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==J._rangeInput.rangePicker?null:J._rangeInput.rangePicker.opened)&&J._rangeInput.rangePicker.id||null)("min",J._getMinDate()?J._dateAdapter.toIso8601(J._getMinDate()):null)("max",J._getMaxDate()?J._dateAdapter.toIso8601(J._getMaxDate()):null))},inputs:{errorStateMatcher:"errorStateMatcher"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[b._Bn([{provide:_e.JU,useExisting:at,multi:!0},{provide:_e.Cf,useExisting:at,multi:!0}]),b.qOj]}),at})(),Yn=0,Pn=(()=>{class at{get value(){return this._model?this._model.selection:null}get shouldLabelFloat(){return this.focused||!this.empty}get placeholder(){const w=this._startInput?._getPlaceholder()||"",J=this._endInput?._getPlaceholder()||"";return w||J?`${w} ${this.separator} ${J}`:""}get rangePicker(){return this._rangePicker}set rangePicker(w){w&&(this._model=w.registerInput(this),this._rangePicker=w,this._closedSubscription.unsubscribe(),this._closedSubscription=w.closedStream.subscribe(()=>{this._startInput?._onTouched(),this._endInput?._onTouched()}),this._registerModel(this._model))}get required(){return this._required??(this._isTargetRequired(this)||this._isTargetRequired(this._startInput)||this._isTargetRequired(this._endInput))??!1}set required(w){this._required=(0,Me.Ig)(w)}get dateFilter(){return this._dateFilter}set dateFilter(w){const J=this._startInput,Ie=this._endInput,Xe=J&&J._matchesFilter(J.value),ei=Ie&&Ie._matchesFilter(J.value);this._dateFilter=w,J&&J._matchesFilter(J.value)!==Xe&&J._validatorOnChange(),Ie&&Ie._matchesFilter(Ie.value)!==ei&&Ie._validatorOnChange()}get min(){return this._min}set min(w){const J=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(w));this._dateAdapter.sameDate(J,this._min)||(this._min=J,this._revalidate())}get max(){return this._max}set max(w){const J=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(w));this._dateAdapter.sameDate(J,this._max)||(this._max=J,this._revalidate())}get disabled(){return this._startInput&&this._endInput?this._startInput.disabled&&this._endInput.disabled:this._groupDisabled}set disabled(w){const J=(0,Me.Ig)(w);J!==this._groupDisabled&&(this._groupDisabled=J,this.stateChanges.next(void 0))}get errorState(){return!(!this._startInput||!this._endInput)&&(this._startInput.errorState||this._endInput.errorState)}get empty(){const w=!!this._startInput&&this._startInput.isEmpty(),J=!!this._endInput&&this._endInput.isEmpty();return w&&J}constructor(w,J,Ie,Xe,ei){this._changeDetectorRef=w,this._elementRef=J,this._dateAdapter=Xe,this._formField=ei,this._closedSubscription=de.w0.EMPTY,this.id="mat-date-range-input-"+Yn++,this.focused=!1,this.controlType="mat-date-range-input",this._groupDisabled=!1,this._ariaDescribedBy=null,this.separator="\u2013",this.comparisonStart=null,this.comparisonEnd=null,this.stateChanges=new Ee.x,ei?._elementRef.nativeElement.classList.contains("mat-mdc-form-field")&&J.nativeElement.classList.add("mat-mdc-input-element","mat-mdc-form-field-input-control","mdc-text-field__input"),this.ngControl=Ie}setDescribedByIds(w){this._ariaDescribedBy=w.length?w.join(" "):null}onContainerClick(){!this.focused&&!this.disabled&&(this._model&&this._model.selection.start?this._endInput.focus():this._startInput.focus())}ngAfterContentInit(){this._model&&this._registerModel(this._model),(0,Be.T)(this._startInput.stateChanges,this._endInput.stateChanges).subscribe(()=>{this.stateChanges.next(void 0)})}ngOnChanges(w){Et(w,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._closedSubscription.unsubscribe(),this.stateChanges.complete()}getStartValue(){return this.value?this.value.start:null}getThemePalette(){return this._formField?this._formField.color:void 0}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():null}_getInputMirrorValue(w){const J="start"===w?this._startInput:this._endInput;return J?J.getMirrorValue():""}_shouldHidePlaceholders(){return!!this._startInput&&!this._startInput.isEmpty()}_handleChildValueChange(){this.stateChanges.next(void 0),this._changeDetectorRef.markForCheck()}_openDatepicker(){this._rangePicker&&this._rangePicker.open()}_shouldHideSeparator(){return(!this._formField||this._formField.getLabelId()&&!this._formField._shouldLabelFloat())&&this.empty}_getAriaLabelledby(){const w=this._formField;return w&&w._hasFloatingLabel()?w._labelId:null}_getStartDateAccessibleName(){return this._startInput._getAccessibleName()}_getEndDateAccessibleName(){return this._endInput._getAccessibleName()}_updateFocus(w){this.focused=null!==w,this.stateChanges.next()}_revalidate(){this._startInput&&this._startInput._validatorOnChange(),this._endInput&&this._endInput._validatorOnChange()}_registerModel(w){this._startInput&&this._startInput._registerModel(w),this._endInput&&this._endInput._registerModel(w)}_isTargetRequired(w){return w?.ngControl?.control?.hasValidator(_e.kI.required)}}return at.\u0275fac=function(w){return new(w||at)(b.Y36(b.sBO),b.Y36(b.SBq),b.Y36(_e.gN,10),b.Y36(q._A,8),b.Y36(ge.G_,8))},at.\u0275cmp=b.Xpm({type:at,selectors:[["mat-date-range-input"]],contentQueries:function(w,J,Ie){if(1&w&&(b.Suo(Ie,xo,5),b.Suo(Ie,gn,5)),2&w){let Xe;b.iGM(Xe=b.CRH())&&(J._startInput=Xe.first),b.iGM(Xe=b.CRH())&&(J._endInput=Xe.first)}},hostAttrs:["role","group",1,"mat-date-range-input"],hostVars:8,hostBindings:function(w,J){2&w&&(b.uIk("id",J.id)("aria-labelledby",J._getAriaLabelledby())("aria-describedby",J._ariaDescribedBy)("data-mat-calendar",J.rangePicker?J.rangePicker.id:null),b.ekj("mat-date-range-input-hide-placeholders",J._shouldHidePlaceholders())("mat-date-range-input-required",J.required))},inputs:{rangePicker:"rangePicker",required:"required",dateFilter:"dateFilter",min:"min",max:"max",disabled:"disabled",separator:"separator",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},exportAs:["matDateRangeInput"],features:[b._Bn([{provide:ge.Eo,useExisting:at},{provide:Un,useExisting:at}]),b.TTD],ngContentSelectors:C,decls:11,vars:5,consts:[["cdkMonitorSubtreeFocus","",1,"mat-date-range-input-container",3,"cdkFocusChange"],[1,"mat-date-range-input-wrapper"],["aria-hidden","true",1,"mat-date-range-input-mirror"],[1,"mat-date-range-input-separator"],[1,"mat-date-range-input-wrapper","mat-date-range-input-end-wrapper"]],template:function(w,J){1&w&&(b.F$t(H),b.TgZ(0,"div",0),b.NdJ("cdkFocusChange",function(Xe){return J._updateFocus(Xe)}),b.TgZ(1,"div",1),b.Hsn(2),b.TgZ(3,"span",2),b._uU(4),b.qZA()(),b.TgZ(5,"span",3),b._uU(6),b.qZA(),b.TgZ(7,"div",4),b.Hsn(8,1),b.TgZ(9,"span",2),b._uU(10),b.qZA()()()),2&w&&(b.xp6(4),b.Oqu(J._getInputMirrorValue("start")),b.xp6(1),b.ekj("mat-date-range-input-separator-hidden",J._shouldHideSeparator()),b.xp6(1),b.Oqu(J.separator),b.xp6(4),b.Oqu(J._getInputMirrorValue("end")))},dependencies:[e.kH],styles:[".mat-date-range-input{display:block;width:100%}.mat-date-range-input-container{display:flex;align-items:center}.mat-date-range-input-separator{transition:opacity 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);margin:0 4px}._mat-animation-noopable .mat-date-range-input-separator{transition:none}.mat-date-range-input-separator-hidden{-webkit-user-select:none;user-select:none;opacity:0;transition:none}.mat-date-range-input-wrapper{position:relative;overflow:hidden;max-width:calc(50% - 4px)}.mat-date-range-input-end-wrapper{flex-grow:1}.mat-date-range-input-inner{position:absolute;top:0;left:0;font:inherit;background:rgba(0,0,0,0);color:currentColor;border:none;outline:none;padding:0;margin:0;vertical-align:bottom;text-align:inherit;-webkit-appearance:none;width:100%;height:100%}.mat-date-range-input-inner:-moz-ui-invalid{box-shadow:none}.mat-date-range-input-inner::placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-moz-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-webkit-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner:-ms-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{-webkit-user-select:none;user-select:none;color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{opacity:0}._mat-animation-noopable .mat-date-range-input-inner::placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner::-moz-placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-date-range-input-inner:-ms-input-placeholder{transition:none}.mat-date-range-input-mirror{-webkit-user-select:none;user-select:none;visibility:hidden;white-space:nowrap;display:inline-block;min-width:2px}.mat-mdc-form-field-type-mat-date-range-input .mat-mdc-form-field-infix{width:200px}"],encapsulation:2,changeDetection:0}),at})(),Vn=(()=>{class at extends Si{_forwardContentValues(w){super._forwardContentValues(w);const J=this.datepickerInput;J&&(w.comparisonStart=J.comparisonStart,w.comparisonEnd=J.comparisonEnd,w.startDateAccessibleName=J._getStartDateAccessibleName(),w.endDateAccessibleName=J._getEndDateAccessibleName())}}return at.\u0275fac=function(){let xt;return function(J){return(xt||(xt=b.n5z(at)))(J||at)}}(),at.\u0275cmp=b.Xpm({type:at,selectors:[["mat-date-range-picker"]],exportAs:["matDateRangePicker"],features:[b._Bn([wt,Gt,{provide:Si,useExisting:at}]),b.qOj],decls:0,vars:0,template:function(w,J){},encapsulation:2,changeDetection:0}),at})(),ao=(()=>{class at{}return at.\u0275fac=function(w){return new(w||at)},at.\u0275mod=b.oAB({type:at}),at.\u0275inj=b.cJS({providers:[we,Ot],imports:[l.ez,O.ot,s.U8,e.rt,T.eL,q.BQ,X.ZD]}),at})()},5412:(ri,mt,p)=>{p.d(mt,{WI:()=>_t,Bq:()=>it,uw:()=>oi,H8:()=>re,ZT:()=>yt,vA:()=>gi,xY:()=>N,Is:()=>wt,so:()=>we,uh:()=>ve});var e=p(8184),s=p(6895),T=p(4650),l=p(2687),b=p(3353),O=p(4080),X=p(9521),q=p(7579),Ee=p(9770),de=p(9646),Be=p(445),he=p(8675);function Le(ct,Gt){}class He{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}}let pt=(()=>{class ct extends O.en{constructor(te,Ae,B,pe,Ut,Vt,be,st){super(),this._elementRef=te,this._focusTrapFactory=Ae,this._config=pe,this._interactivityChecker=Ut,this._ngZone=Vt,this._overlayRef=be,this._focusMonitor=st,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=Z=>{this._portalOutlet.hasAttached();const ke=this._portalOutlet.attachDomPortal(Z);return this._contentAttached(),ke},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=B}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(te){this._portalOutlet.hasAttached();const Ae=this._portalOutlet.attachComponentPortal(te);return this._contentAttached(),Ae}attachTemplatePortal(te){this._portalOutlet.hasAttached();const Ae=this._portalOutlet.attachTemplatePortal(te);return this._contentAttached(),Ae}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(te,Ae){this._interactivityChecker.isFocusable(te)||(te.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const B=()=>{te.removeEventListener("blur",B),te.removeEventListener("mousedown",B),te.removeAttribute("tabindex")};te.addEventListener("blur",B),te.addEventListener("mousedown",B)})),te.focus(Ae)}_focusByCssSelector(te,Ae){let B=this._elementRef.nativeElement.querySelector(te);B&&this._forceFocus(B,Ae)}_trapFocus(){const te=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||te.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(Ae=>{Ae||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const te=this._config.restoreFocus;let Ae=null;if("string"==typeof te?Ae=this._document.querySelector(te):"boolean"==typeof te?Ae=te?this._elementFocusedBeforeDialogWasOpened:null:te&&(Ae=te),this._config.restoreFocus&&Ae&&"function"==typeof Ae.focus){const B=(0,b.ht)(),pe=this._elementRef.nativeElement;(!B||B===this._document.body||B===pe||pe.contains(B))&&(this._focusMonitor?(this._focusMonitor.focusVia(Ae,this._closeInteractionType),this._closeInteractionType=null):Ae.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const te=this._elementRef.nativeElement,Ae=(0,b.ht)();return te===Ae||te.contains(Ae)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,b.ht)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return ct.\u0275fac=function(te){return new(te||ct)(T.Y36(T.SBq),T.Y36(l.qV),T.Y36(s.K0,8),T.Y36(He),T.Y36(l.ic),T.Y36(T.R0b),T.Y36(e.Iu),T.Y36(l.tE))},ct.\u0275cmp=T.Xpm({type:ct,selectors:[["cdk-dialog-container"]],viewQuery:function(te,Ae){if(1&te&&T.Gf(O.Pl,7),2&te){let B;T.iGM(B=T.CRH())&&(Ae._portalOutlet=B.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(te,Ae){2&te&&T.uIk("id",Ae._config.id||null)("role",Ae._config.role)("aria-modal",Ae._config.ariaModal)("aria-labelledby",Ae._config.ariaLabel?null:Ae._ariaLabelledBy)("aria-label",Ae._config.ariaLabel)("aria-describedby",Ae._config.ariaDescribedBy||null)},features:[T.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(te,Ae){1&te&&T.YNc(0,Le,0,0,"ng-template",0)},dependencies:[O.Pl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),ct})();class Re{constructor(Gt,te){this.overlayRef=Gt,this.config=te,this.closed=new q.x,this.disableClose=te.disableClose,this.backdropClick=Gt.backdropClick(),this.keydownEvents=Gt.keydownEvents(),this.outsidePointerEvents=Gt.outsidePointerEvents(),this.id=te.id,this.keydownEvents.subscribe(Ae=>{Ae.keyCode===X.hY&&!this.disableClose&&!(0,X.Vb)(Ae)&&(Ae.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=Gt.detachments().subscribe(()=>{!1!==te.closeOnOverlayDetachments&&this.close()})}close(Gt,te){if(this.containerInstance){const Ae=this.closed;this.containerInstance._closeInteractionType=te?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),Ae.next(Gt),Ae.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(Gt="",te=""){return this.overlayRef.updateSize({width:Gt,height:te}),this}addPanelClass(Gt){return this.overlayRef.addPanelClass(Gt),this}removePanelClass(Gt){return this.overlayRef.removePanelClass(Gt),this}}const ze=new T.OlP("DialogScrollStrategy"),Me=new T.OlP("DialogData"),Pe=new T.OlP("DefaultDialogConfig"),ge={provide:ze,deps:[e.aV],useFactory:function _e(ct){return()=>ct.scrollStrategies.block()}};let le=0,Se=(()=>{class ct{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(te,Ae,B,pe,Ut,Vt){this._overlay=te,this._injector=Ae,this._defaultOptions=B,this._parentDialog=pe,this._overlayContainer=Ut,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new q.x,this._afterOpenedAtThisLevel=new q.x,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,Ee.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,he.O)(void 0))),this._scrollStrategy=Vt}open(te,Ae){(Ae={...this._defaultOptions||new He,...Ae}).id=Ae.id||"cdk-dialog-"+le++,Ae.id&&this.getDialogById(Ae.id);const pe=this._getOverlayConfig(Ae),Ut=this._overlay.create(pe),Vt=new Re(Ut,Ae),be=this._attachContainer(Ut,Vt,Ae);return Vt.containerInstance=be,this._attachDialogContent(te,Vt,be,Ae),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(Vt),Vt.closed.subscribe(()=>this._removeOpenDialog(Vt,!0)),this.afterOpened.next(Vt),Vt}closeAll(){je(this.openDialogs,te=>te.close())}getDialogById(te){return this.openDialogs.find(Ae=>Ae.id===te)}ngOnDestroy(){je(this._openDialogsAtThisLevel,te=>{!1===te.config.closeOnDestroy&&this._removeOpenDialog(te,!1)}),je(this._openDialogsAtThisLevel,te=>te.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(te){const Ae=new e.X_({positionStrategy:te.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:te.scrollStrategy||this._scrollStrategy(),panelClass:te.panelClass,hasBackdrop:te.hasBackdrop,direction:te.direction,minWidth:te.minWidth,minHeight:te.minHeight,maxWidth:te.maxWidth,maxHeight:te.maxHeight,width:te.width,height:te.height,disposeOnNavigation:te.closeOnNavigation});return te.backdropClass&&(Ae.backdropClass=te.backdropClass),Ae}_attachContainer(te,Ae,B){const pe=B.injector||B.viewContainerRef?.injector,Ut=[{provide:He,useValue:B},{provide:Re,useValue:Ae},{provide:e.Iu,useValue:te}];let Vt;B.container?"function"==typeof B.container?Vt=B.container:(Vt=B.container.type,Ut.push(...B.container.providers(B))):Vt=pt;const be=new O.C5(Vt,B.viewContainerRef,T.zs3.create({parent:pe||this._injector,providers:Ut}),B.componentFactoryResolver);return te.attach(be).instance}_attachDialogContent(te,Ae,B,pe){if(te instanceof T.Rgc){const Ut=this._createInjector(pe,Ae,B,void 0);let Vt={$implicit:pe.data,dialogRef:Ae};pe.templateContext&&(Vt={...Vt,..."function"==typeof pe.templateContext?pe.templateContext():pe.templateContext}),B.attachTemplatePortal(new O.UE(te,null,Vt,Ut))}else{const Ut=this._createInjector(pe,Ae,B,this._injector),Vt=B.attachComponentPortal(new O.C5(te,pe.viewContainerRef,Ut,pe.componentFactoryResolver));Ae.componentInstance=Vt.instance}}_createInjector(te,Ae,B,pe){const Ut=te.injector||te.viewContainerRef?.injector,Vt=[{provide:Me,useValue:te.data},{provide:Re,useValue:Ae}];return te.providers&&("function"==typeof te.providers?Vt.push(...te.providers(Ae,te,B)):Vt.push(...te.providers)),te.direction&&(!Ut||!Ut.get(Be.Is,null,{optional:!0}))&&Vt.push({provide:Be.Is,useValue:{value:te.direction,change:(0,de.of)()}}),T.zs3.create({parent:Ut||pe,providers:Vt})}_removeOpenDialog(te,Ae){const B=this.openDialogs.indexOf(te);B>-1&&(this.openDialogs.splice(B,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((pe,Ut)=>{pe?Ut.setAttribute("aria-hidden",pe):Ut.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),Ae&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const te=this._overlayContainer.getContainerElement();if(te.parentElement){const Ae=te.parentElement.children;for(let B=Ae.length-1;B>-1;B--){const pe=Ae[B];pe!==te&&"SCRIPT"!==pe.nodeName&&"STYLE"!==pe.nodeName&&!pe.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(pe,pe.getAttribute("aria-hidden")),pe.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const te=this._parentDialog;return te?te._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return ct.\u0275fac=function(te){return new(te||ct)(T.LFG(e.aV),T.LFG(T.zs3),T.LFG(Pe,8),T.LFG(ct,12),T.LFG(e.Xj),T.LFG(ze))},ct.\u0275prov=T.Yz7({token:ct,factory:ct.\u0275fac}),ct})();function je(ct,Gt){let te=ct.length;for(;te--;)Gt(ct[te])}let Ke=(()=>{class ct{}return ct.\u0275fac=function(te){return new(te||ct)},ct.\u0275mod=T.oAB({type:ct}),ct.\u0275inj=T.cJS({providers:[Se,ge],imports:[e.U8,O.eL,l.rt,O.eL]}),ct})();var Ge=p(1281),vt=p(6451),xe=p(9300),kt=p(5698),rt=p(3238);function yi(ct,Gt){}p(7340);class gi{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const jt="mdc-dialog--open",ai="mdc-dialog--opening",ot="mdc-dialog--closing";let H=(()=>{class ct extends pt{constructor(te,Ae,B,pe,Ut,Vt,be,st){super(te,Ae,B,pe,Ut,Vt,be,st),this._animationStateChanged=new T.vpe}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(te){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:te})}}return ct.\u0275fac=function(te){return new(te||ct)(T.Y36(T.SBq),T.Y36(l.qV),T.Y36(s.K0,8),T.Y36(gi),T.Y36(l.ic),T.Y36(T.R0b),T.Y36(e.Iu),T.Y36(l.tE))},ct.\u0275cmp=T.Xpm({type:ct,selectors:[["ng-component"]],features:[T.qOj],decls:0,vars:0,template:function(te,Ae){},encapsulation:2}),ct})();const C="--mat-dialog-transition-duration";function Y(ct){return null==ct?null:"number"==typeof ct?ct:ct.endsWith("ms")?(0,Ge.su)(ct.substring(0,ct.length-2)):ct.endsWith("s")?1e3*(0,Ge.su)(ct.substring(0,ct.length-1)):"0"===ct?0:null}let $=(()=>{class ct extends H{constructor(te,Ae,B,pe,Ut,Vt,be,st,Z){super(te,Ae,B,pe,Ut,Vt,be,Z),this._animationMode=st,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._openAnimationDuration=this._animationsEnabled?Y(this._config.enterAnimationDuration)??150:0,this._closeAnimationDuration=this._animationsEnabled?Y(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._openAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._closeAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._openAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(C,`${this._openAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(ai,jt)),this._waitForAnimationToComplete(this._openAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(jt),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._closeAnimationDuration}),this._hostElement.classList.remove(jt),this._animationsEnabled?(this._hostElement.style.setProperty(C,`${this._openAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(ot)),this._waitForAnimationToComplete(this._closeAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(ai,ot)}_waitForAnimationToComplete(te,Ae){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(Ae,te)}_requestAnimationFrame(te){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(te):te()})}}return ct.\u0275fac=function(te){return new(te||ct)(T.Y36(T.SBq),T.Y36(l.qV),T.Y36(s.K0,8),T.Y36(gi),T.Y36(l.ic),T.Y36(T.R0b),T.Y36(e.Iu),T.Y36(T.QbO,8),T.Y36(l.tE))},ct.\u0275cmp=T.Xpm({type:ct,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(te,Ae){2&te&&(T.Ikx("id",Ae._config.id),T.uIk("aria-modal",Ae._config.ariaModal)("role",Ae._config.role)("aria-labelledby",Ae._config.ariaLabel?null:Ae._ariaLabelledBy)("aria-label",Ae._config.ariaLabel)("aria-describedby",Ae._config.ariaDescribedBy||null),T.ekj("_mat-animation-noopable",!Ae._animationsEnabled))},features:[T.qOj],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(te,Ae){1&te&&(T.TgZ(0,"div",0)(1,"div",1),T.YNc(2,yi,0,0,"ng-template",2),T.qZA()())},dependencies:[O.Pl],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{display:block;width:100%;height:100%}.mat-mdc-dialog-container{outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, var(--mdc-shape-medium, 4px))}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title,.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__actions,.mat-mdc-dialog-container.mdc-dialog--scrollable.mdc-dialog-scroll-divider-footer .mdc-dialog__actions{border-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title{border-bottom-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, "Arial");line-height:var(--mdc-dialog-subhead-line-height, 14px);font-size:var(--mdc-dialog-subhead-size, 14px);font-weight:var(--mdc-dialog-subhead-weight, 500);letter-spacing:var(--mdc-dialog-subhead-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, black)}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, "Arial");line-height:var(--mdc-dialog-supporting-text-line-height, 14px);font-size:var(--mdc-dialog-supporting-text-size, 14px);font-weight:var(--mdc-dialog-supporting-text-weight, 500);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, black)}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2}),ct})();class we{constructor(Gt,te,Ae){this._ref=Gt,this._containerInstance=Ae,this._afterOpened=new q.x,this._beforeClosed=new q.x,this._state=0,this.disableClose=te.disableClose,this.id=Gt.id,Ae._animationStateChanged.pipe((0,xe.h)(B=>"opened"===B.state),(0,kt.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),Ae._animationStateChanged.pipe((0,xe.h)(B=>"closed"===B.state),(0,kt.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),Gt.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,vt.T)(this.backdropClick(),this.keydownEvents().pipe((0,xe.h)(B=>B.keyCode===X.hY&&!this.disableClose&&!(0,X.Vb)(B)))).subscribe(B=>{this.disableClose||(B.preventDefault(),Fe(this,"keydown"===B.type?"keyboard":"mouse"))})}close(Gt){this._result=Gt,this._containerInstance._animationStateChanged.pipe((0,xe.h)(te=>"closing"===te.state),(0,kt.q)(1)).subscribe(te=>{this._beforeClosed.next(Gt),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),te.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(Gt){let te=this._ref.config.positionStrategy;return Gt&&(Gt.left||Gt.right)?Gt.left?te.left(Gt.left):te.right(Gt.right):te.centerHorizontally(),Gt&&(Gt.top||Gt.bottom)?Gt.top?te.top(Gt.top):te.bottom(Gt.bottom):te.centerVertically(),this._ref.updatePosition(),this}updateSize(Gt="",te=""){return this._ref.updateSize(Gt,te),this}addPanelClass(Gt){return this._ref.addPanelClass(Gt),this}removePanelClass(Gt){return this._ref.removePanelClass(Gt),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function Fe(ct,Gt,te){return ct._closeInteractionType=Gt,ct.close(te)}const _t=new T.OlP("MatMdcDialogData"),it=new T.OlP("mat-mdc-dialog-default-options"),Nt=new T.OlP("mat-mdc-dialog-scroll-strategy"),zt={provide:Nt,deps:[e.aV],useFactory:function lt(ct){return()=>ct.scrollStrategies.block()}};let Pt=0,li=(()=>{class ct{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const te=this._parentDialog;return te?te._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(te,Ae,B,pe,Ut,Vt,be,st,Z,ke){this._overlay=te,this._defaultOptions=B,this._parentDialog=pe,this._dialogRefConstructor=be,this._dialogContainerType=st,this._dialogDataToken=Z,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new q.x,this._afterOpenedAtThisLevel=new q.x,this._idPrefix="mat-dialog-",this.dialogConfigClass=gi,this.afterAllClosed=(0,Ee.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,he.O)(void 0))),this._scrollStrategy=Vt,this._dialog=Ae.get(Se)}open(te,Ae){let B;(Ae={...this._defaultOptions||new gi,...Ae}).id=Ae.id||`${this._idPrefix}${Pt++}`,Ae.scrollStrategy=Ae.scrollStrategy||this._scrollStrategy();const pe=this._dialog.open(te,{...Ae,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:Ae},{provide:He,useValue:Ae}]},templateContext:()=>({dialogRef:B}),providers:(Ut,Vt,be)=>(B=new this._dialogRefConstructor(Ut,Ae,be),B.updatePosition(Ae?.position),[{provide:this._dialogContainerType,useValue:be},{provide:this._dialogDataToken,useValue:Vt.data},{provide:this._dialogRefConstructor,useValue:B}])});return B.componentInstance=pe.componentInstance,this.openDialogs.push(B),this.afterOpened.next(B),B.afterClosed().subscribe(()=>{const Ut=this.openDialogs.indexOf(B);Ut>-1&&(this.openDialogs.splice(Ut,1),this.openDialogs.length||this._getAfterAllClosed().next())}),B}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(te){return this.openDialogs.find(Ae=>Ae.id===te)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(te){let Ae=te.length;for(;Ae--;)te[Ae].close()}}return ct.\u0275fac=function(te){T.$Z()},ct.\u0275prov=T.Yz7({token:ct,factory:ct.\u0275fac}),ct})(),oi=(()=>{class ct extends li{constructor(te,Ae,B,pe,Ut,Vt,be,st){super(te,Ae,pe,Vt,be,Ut,we,$,_t,st),this._idPrefix="mat-mdc-dialog-"}}return ct.\u0275fac=function(te){return new(te||ct)(T.LFG(e.aV),T.LFG(T.zs3),T.LFG(s.Ye,8),T.LFG(it,8),T.LFG(Nt),T.LFG(ct,12),T.LFG(e.Xj),T.LFG(T.QbO,8))},ct.\u0275prov=T.Yz7({token:ct,factory:ct.\u0275fac}),ct})(),dt=0,yt=(()=>{class ct{constructor(te,Ae,B){this.dialogRef=te,this._elementRef=Ae,this._dialog=B,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=We(this._elementRef,this._dialog.openDialogs))}ngOnChanges(te){const Ae=te._matDialogClose||te._matDialogCloseResult;Ae&&(this.dialogResult=Ae.currentValue)}_onButtonClick(te){Fe(this.dialogRef,0===te.screenX&&0===te.screenY?"keyboard":"mouse",this.dialogResult)}}return ct.\u0275fac=function(te){return new(te||ct)(T.Y36(we,8),T.Y36(T.SBq),T.Y36(oi))},ct.\u0275dir=T.lG2({type:ct,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(te,Ae){1&te&&T.NdJ("click",function(pe){return Ae._onButtonClick(pe)}),2&te&&T.uIk("aria-label",Ae.ariaLabel||null)("type",Ae.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[T.TTD]}),ct})(),ve=(()=>{class ct{constructor(te,Ae,B){this._dialogRef=te,this._elementRef=Ae,this._dialog=B,this.id="mat-mdc-dialog-title-"+dt++}ngOnInit(){this._dialogRef||(this._dialogRef=We(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const te=this._dialogRef._containerInstance;te&&!te._ariaLabelledBy&&(te._ariaLabelledBy=this.id)})}}return ct.\u0275fac=function(te){return new(te||ct)(T.Y36(we,8),T.Y36(T.SBq),T.Y36(oi))},ct.\u0275dir=T.lG2({type:ct,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(te,Ae){2&te&&T.Ikx("id",Ae.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),ct})(),N=(()=>{class ct{}return ct.\u0275fac=function(te){return new(te||ct)},ct.\u0275dir=T.lG2({type:ct,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"]}),ct})(),re=(()=>{class ct{constructor(){this.align="start"}}return ct.\u0275fac=function(te){return new(te||ct)},ct.\u0275dir=T.lG2({type:ct,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:4,hostBindings:function(te,Ae){2&te&&T.ekj("mat-mdc-dialog-actions-align-center","center"===Ae.align)("mat-mdc-dialog-actions-align-end","end"===Ae.align)},inputs:{align:"align"}}),ct})();function We(ct,Gt){let te=ct.nativeElement.parentElement;for(;te&&!te.classList.contains("mat-mdc-dialog-container");)te=te.parentElement;return te?Gt.find(Ae=>Ae.id===te.id):null}let wt=(()=>{class ct{}return ct.\u0275fac=function(te){return new(te||ct)},ct.\u0275mod=T.oAB({type:ct}),ct.\u0275inj=T.cJS({providers:[oi,zt],imports:[Ke,e.U8,O.eL,rt.BQ,rt.BQ]}),ct})()},4850:(ri,mt,p)=>{p.d(mt,{d:()=>l,t:()=>b});var e=p(4650),s=p(1281),T=p(3238);let l=(()=>{class O{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(q){this._vertical=(0,s.Ig)(q)}get inset(){return this._inset}set inset(q){this._inset=(0,s.Ig)(q)}}return O.\u0275fac=function(q){return new(q||O)},O.\u0275cmp=e.Xpm({type:O,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(q,Ee){2&q&&(e.uIk("aria-orientation",Ee.vertical?"vertical":"horizontal"),e.ekj("mat-divider-vertical",Ee.vertical)("mat-divider-horizontal",!Ee.vertical)("mat-divider-inset",Ee.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(q,Ee){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0}),O})(),b=(()=>{class O{}return O.\u0275fac=function(q){return new(q||O)},O.\u0275mod=e.oAB({type:O}),O.\u0275inj=e.cJS({imports:[T.BQ,T.BQ]}),O})()},7084:(ri,mt,p)=>{p.d(mt,{pp:()=>Fe,To:()=>_t,ib:()=>W,yz:()=>Y,yK:()=>we});var e=p(4650),s=p(5017),T=p(1281),l=p(7579),b=p(727);let O=0;const X=new e.OlP("CdkAccordion");let q=(()=>{class it{constructor(){this._stateChanges=new l.x,this._openCloseAllActions=new l.x,this.id="cdk-accordion-"+O++,this._multi=!1}get multi(){return this._multi}set multi(lt){this._multi=(0,T.Ig)(lt)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(lt){this._stateChanges.next(lt)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return it.\u0275fac=function(lt){return new(lt||it)},it.\u0275dir=e.lG2({type:it,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[e._Bn([{provide:X,useExisting:it}]),e.TTD]}),it})(),Ee=0,de=(()=>{class it{get expanded(){return this._expanded}set expanded(lt){lt=(0,T.Ig)(lt),this._expanded!==lt&&(this._expanded=lt,this.expandedChange.emit(lt),lt?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(lt){this._disabled=(0,T.Ig)(lt)}constructor(lt,zt,ft){this.accordion=lt,this._changeDetectorRef=zt,this._expansionDispatcher=ft,this._openCloseAllSubscription=b.w0.EMPTY,this.closed=new e.vpe,this.opened=new e.vpe,this.destroyed=new e.vpe,this.expandedChange=new e.vpe,this.id="cdk-accordion-child-"+Ee++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=ft.listen((Pt,li)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===li&&this.id!==Pt&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(lt=>{this.disabled||(this.expanded=lt)})}}return it.\u0275fac=function(lt){return new(lt||it)(e.Y36(X,12),e.Y36(e.sBO),e.Y36(s.A8))},it.\u0275dir=e.lG2({type:it,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[e._Bn([{provide:X,useValue:void 0}])]}),it})(),Be=(()=>{class it{}return it.\u0275fac=function(lt){return new(lt||it)},it.\u0275mod=e.oAB({type:it}),it.\u0275inj=e.cJS({}),it})();var he=p(4080),Le=p(6895),He=p(3238),Qe=p(2687),pt=p(1884),Re=p(8675),ze=p(9300),Me=p(5698),Pe=p(9521),_e=p(515),ge=p(6451),le=p(7340);const Se=["body"];function je(it,Nt){}const Ke=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],Ge=["mat-expansion-panel-header","*","mat-action-row"];function vt(it,Nt){if(1&it&&e._UZ(0,"span",2),2&it){const lt=e.oxw();e.Q6J("@indicatorRotate",lt._getExpandedState())}}const xe=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],kt=["mat-panel-title","mat-panel-description","*"],rt=new e.OlP("MAT_ACCORDION"),Wt="225ms cubic-bezier(0.4,0.0,0.2,1)",yi={indicatorRotate:(0,le.X$)("indicatorRotate",[(0,le.SB)("collapsed, void",(0,le.oB)({transform:"rotate(0deg)"})),(0,le.SB)("expanded",(0,le.oB)({transform:"rotate(180deg)"})),(0,le.eR)("expanded <=> collapsed, void => collapsed",(0,le.jt)(Wt))]),bodyExpansion:(0,le.X$)("bodyExpansion",[(0,le.SB)("collapsed, void",(0,le.oB)({height:"0px",visibility:"hidden"})),(0,le.SB)("expanded",(0,le.oB)({height:"*",visibility:"visible"})),(0,le.eR)("expanded <=> collapsed, void => collapsed",(0,le.jt)(Wt))])},gi=new e.OlP("MAT_EXPANSION_PANEL");let jt=(()=>{class it{constructor(lt,zt){this._template=lt,this._expansionPanel=zt}}return it.\u0275fac=function(lt){return new(lt||it)(e.Y36(e.Rgc),e.Y36(gi,8))},it.\u0275dir=e.lG2({type:it,selectors:[["ng-template","matExpansionPanelContent",""]]}),it})(),ai=0;const ot=new e.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let W=(()=>{class it extends de{get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(lt){this._hideToggle=(0,T.Ig)(lt)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(lt){this._togglePosition=lt}constructor(lt,zt,ft,Pt,li,oi,dt){super(lt,zt,ft),this._viewContainerRef=Pt,this._animationMode=oi,this._hideToggle=!1,this.afterExpand=new e.vpe,this.afterCollapse=new e.vpe,this._inputChanges=new l.x,this._headerId="mat-expansion-panel-header-"+ai++,this._bodyAnimationDone=new l.x,this.accordion=lt,this._document=li,this._bodyAnimationDone.pipe((0,pt.x)((yt,ve)=>yt.fromState===ve.fromState&&yt.toState===ve.toState)).subscribe(yt=>{"void"!==yt.fromState&&("expanded"===yt.toState?this.afterExpand.emit():"collapsed"===yt.toState&&this.afterCollapse.emit())}),dt&&(this.hideToggle=dt.hideToggle)}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe((0,Re.O)(null),(0,ze.h)(()=>this.expanded&&!this._portal),(0,Me.q)(1)).subscribe(()=>{this._portal=new he.UE(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(lt){this._inputChanges.next(lt)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const lt=this._document.activeElement,zt=this._body.nativeElement;return lt===zt||zt.contains(lt)}return!1}}return it.\u0275fac=function(lt){return new(lt||it)(e.Y36(rt,12),e.Y36(e.sBO),e.Y36(s.A8),e.Y36(e.s_b),e.Y36(Le.K0),e.Y36(e.QbO,8),e.Y36(ot,8))},it.\u0275cmp=e.Xpm({type:it,selectors:[["mat-expansion-panel"]],contentQueries:function(lt,zt,ft){if(1&lt&&e.Suo(ft,jt,5),2&lt){let Pt;e.iGM(Pt=e.CRH())&&(zt._lazyContent=Pt.first)}},viewQuery:function(lt,zt){if(1&lt&&e.Gf(Se,5),2&lt){let ft;e.iGM(ft=e.CRH())&&(zt._body=ft.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(lt,zt){2&lt&&e.ekj("mat-expanded",zt.expanded)("_mat-animation-noopable","NoopAnimations"===zt._animationMode)("mat-expansion-panel-spacing",zt._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[e._Bn([{provide:rt,useValue:void 0},{provide:gi,useExisting:it}]),e.qOj,e.TTD],ngContentSelectors:Ge,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(lt,zt){1&lt&&(e.F$t(Ke),e.Hsn(0),e.TgZ(1,"div",0,1),e.NdJ("@bodyExpansion.done",function(Pt){return zt._bodyAnimationDone.next(Pt)}),e.TgZ(3,"div",2),e.Hsn(4,1),e.YNc(5,je,0,0,"ng-template",3),e.qZA(),e.Hsn(6,2),e.qZA()),2&lt&&(e.xp6(1),e.Q6J("@bodyExpansion",zt._getExpandedState())("id",zt.id),e.uIk("aria-labelledby",zt._headerId),e.xp6(4),e.Q6J("cdkPortalOutlet",zt._portal))},dependencies:[he.Pl],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[yi.bodyExpansion]},changeDetection:0}),it})();class H{}const C=(0,He.sb)(H);let Y=(()=>{class it extends C{constructor(lt,zt,ft,Pt,li,oi,dt){super(),this.panel=lt,this._element=zt,this._focusMonitor=ft,this._changeDetectorRef=Pt,this._animationMode=oi,this._parentChangeSubscription=b.w0.EMPTY;const yt=lt.accordion?lt.accordion._stateChanges.pipe((0,ze.h)(ve=>!(!ve.hideToggle&&!ve.togglePosition))):_e.E;this.tabIndex=parseInt(dt||"")||0,this._parentChangeSubscription=(0,ge.T)(lt.opened,lt.closed,yt,lt._inputChanges.pipe((0,ze.h)(ve=>!!(ve.hideToggle||ve.disabled||ve.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),lt.closed.pipe((0,ze.h)(()=>lt._containsFocus())).subscribe(()=>ft.focusVia(zt,"program")),li&&(this.expandedHeight=li.expandedHeight,this.collapsedHeight=li.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const lt=this._isExpanded();return lt&&this.expandedHeight?this.expandedHeight:!lt&&this.collapsedHeight?this.collapsedHeight:null}_keydown(lt){switch(lt.keyCode){case Pe.L_:case Pe.K5:(0,Pe.Vb)(lt)||(lt.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(lt))}}focus(lt,zt){lt?this._focusMonitor.focusVia(this._element,lt,zt):this._element.nativeElement.focus(zt)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(lt=>{lt&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return it.\u0275fac=function(lt){return new(lt||it)(e.Y36(W,1),e.Y36(e.SBq),e.Y36(Qe.tE),e.Y36(e.sBO),e.Y36(ot,8),e.Y36(e.QbO,8),e.$8M("tabindex"))},it.\u0275cmp=e.Xpm({type:it,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(lt,zt){1&lt&&e.NdJ("click",function(){return zt._toggle()})("keydown",function(Pt){return zt._keydown(Pt)}),2&lt&&(e.uIk("id",zt.panel._headerId)("tabindex",zt.tabIndex)("aria-controls",zt._getPanelId())("aria-expanded",zt._isExpanded())("aria-disabled",zt.panel.disabled),e.Udp("height",zt._getHeaderHeight()),e.ekj("mat-expanded",zt._isExpanded())("mat-expansion-toggle-indicator-after","after"===zt._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===zt._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===zt._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[e.qOj],ngContentSelectors:kt,decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(lt,zt){1&lt&&(e.F$t(xe),e.TgZ(0,"span",0),e.Hsn(1),e.Hsn(2,1),e.Hsn(3,2),e.qZA(),e.YNc(4,vt,1,1,"span",1)),2&lt&&(e.ekj("mat-content-hide-toggle",!zt._showToggle()),e.xp6(4),e.Q6J("ngIf",zt._showToggle()))},dependencies:[Le.O5],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[yi.indicatorRotate]},changeDetection:0}),it})(),we=(()=>{class it{}return it.\u0275fac=function(lt){return new(lt||it)},it.\u0275dir=e.lG2({type:it,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),it})(),Fe=(()=>{class it extends q{constructor(){super(...arguments),this._ownHeaders=new e.n_E,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(lt){this._hideToggle=(0,T.Ig)(lt)}ngAfterContentInit(){this._headers.changes.pipe((0,Re.O)(this._headers)).subscribe(lt=>{this._ownHeaders.reset(lt.filter(zt=>zt.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new Qe.Em(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(lt){this._keyManager.onKeydown(lt)}_handleHeaderFocus(lt){this._keyManager.updateActiveItem(lt)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}}return it.\u0275fac=function(){let Nt;return function(zt){return(Nt||(Nt=e.n5z(it)))(zt||it)}}(),it.\u0275dir=e.lG2({type:it,selectors:[["mat-accordion"]],contentQueries:function(lt,zt,ft){if(1&lt&&e.Suo(ft,Y,5),2&lt){let Pt;e.iGM(Pt=e.CRH())&&(zt._headers=Pt)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(lt,zt){2&lt&&e.ekj("mat-accordion-multi",zt.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[e._Bn([{provide:rt,useExisting:it}]),e.qOj]}),it})(),_t=(()=>{class it{}return it.\u0275fac=function(lt){return new(lt||it)},it.\u0275mod=e.oAB({type:it}),it.\u0275inj=e.cJS({imports:[Le.ez,He.BQ,Be,he.eL]}),it})()},9549:(ri,mt,p)=>{p.d(mt,{Eo:()=>li,G_:()=>ve,KE:()=>ct,R9:()=>Fe,TO:()=>j,bx:()=>C,hX:()=>ai,lN:()=>Gt,o2:()=>N,qo:()=>$});var e=p(4650),s=p(445),T=p(3353),l=p(7579),b=p(6451),O=p(2722),X=p(6895),q=p(1281),Ee=p(7340),de=p(9643),Be=p(3238);const he=["matFormFieldNotchedOutline",""],Le=["*"],He=["textField"],Qe=["iconPrefixContainer"],pt=["textPrefixContainer"];function Re(te,Ae){1&te&&e._UZ(0,"span",19)}function ze(te,Ae){if(1&te){const B=e.EpF();e.TgZ(0,"label",17),e.NdJ("cdkObserveContent",function(){e.CHM(B);const Ut=e.oxw(2);return e.KtG(Ut._refreshOutlineNotchWidth())}),e.Hsn(1,1),e.YNc(2,Re,1,0,"span",18),e.qZA()}if(2&te){const B=e.oxw(2);e.Q6J("floating",B._shouldLabelFloat())("cdkObserveContentDisabled",!B._hasOutline())("id",B._labelId),e.uIk("for",B._control.id)("aria-owns",B._control.id),e.xp6(2),e.Q6J("ngIf",!B.hideRequiredMarker&&B._control.required)}}function Me(te,Ae){if(1&te&&e.YNc(0,ze,3,6,"label",16),2&te){const B=e.oxw();e.Q6J("ngIf",B._hasFloatingLabel())}}function Pe(te,Ae){1&te&&e._UZ(0,"div",20)}function _e(te,Ae){}function ge(te,Ae){if(1&te&&e.YNc(0,_e,0,0,"ng-template",22),2&te){e.oxw(2);const B=e.MAs(1);e.Q6J("ngTemplateOutlet",B)}}function le(te,Ae){if(1&te&&(e.TgZ(0,"div",21),e.YNc(1,ge,1,1,"ng-template",9),e.qZA()),2&te){const B=e.oxw();e.Q6J("matFormFieldNotchedOutlineOpen",B._shouldLabelFloat())("matFormFieldNotchedOutlineLabelWidth",B._labelWidth),e.xp6(1),e.Q6J("ngIf",!B._forceDisplayInfixLabel())}}function Se(te,Ae){1&te&&(e.TgZ(0,"div",23,24),e.Hsn(2,2),e.qZA())}function je(te,Ae){1&te&&(e.TgZ(0,"div",25,26),e.Hsn(2,3),e.qZA())}function Ke(te,Ae){}function Ge(te,Ae){if(1&te&&e.YNc(0,Ke,0,0,"ng-template",22),2&te){e.oxw();const B=e.MAs(1);e.Q6J("ngTemplateOutlet",B)}}function vt(te,Ae){1&te&&(e.TgZ(0,"div",27),e.Hsn(1,4),e.qZA())}function xe(te,Ae){1&te&&(e.TgZ(0,"div",28),e.Hsn(1,5),e.qZA())}function kt(te,Ae){1&te&&e._UZ(0,"div",29)}function rt(te,Ae){if(1&te&&(e.TgZ(0,"div",30),e.Hsn(1,6),e.qZA()),2&te){const B=e.oxw();e.Q6J("@transitionMessages",B._subscriptAnimationState)}}function Wt(te,Ae){if(1&te&&(e.TgZ(0,"mat-hint",34),e._uU(1),e.qZA()),2&te){const B=e.oxw(2);e.Q6J("id",B._hintLabelId),e.xp6(1),e.Oqu(B.hintLabel)}}function yi(te,Ae){if(1&te&&(e.TgZ(0,"div",31),e.YNc(1,Wt,2,2,"mat-hint",32),e.Hsn(2,7),e._UZ(3,"div",33),e.Hsn(4,8),e.qZA()),2&te){const B=e.oxw();e.Q6J("@transitionMessages",B._subscriptAnimationState),e.xp6(1),e.Q6J("ngIf",B.hintLabel)}}const gi=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],jt=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let ai=(()=>{class te{}return te.\u0275fac=function(B){return new(B||te)},te.\u0275dir=e.lG2({type:te,selectors:[["mat-label"]]}),te})(),ot=0;const W=new e.OlP("MatError");let j=(()=>{class te{constructor(B,pe){this.id="mat-mdc-error-"+ot++,B||pe.nativeElement.setAttribute("aria-live","polite")}}return te.\u0275fac=function(B){return new(B||te)(e.$8M("aria-live"),e.Y36(e.SBq))},te.\u0275dir=e.lG2({type:te,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(B,pe){2&B&&e.Ikx("id",pe.id)},inputs:{id:"id"},features:[e._Bn([{provide:W,useExisting:te}])]}),te})(),H=0,C=(()=>{class te{constructor(){this.align="start",this.id="mat-mdc-hint-"+H++}}return te.\u0275fac=function(B){return new(B||te)},te.\u0275dir=e.lG2({type:te,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(B,pe){2&B&&(e.Ikx("id",pe.id),e.uIk("align",null),e.ekj("mat-mdc-form-field-hint-end","end"===pe.align))},inputs:{align:"align",id:"id"}}),te})();const Y=new e.OlP("MatPrefix");let $=(()=>{class te{constructor(){this._isText=!1}set _isTextSelector(B){this._isText=!0}}return te.\u0275fac=function(B){return new(B||te)},te.\u0275dir=e.lG2({type:te,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:["matTextPrefix","_isTextSelector"]},features:[e._Bn([{provide:Y,useExisting:te}])]}),te})();const we=new e.OlP("MatSuffix");let Fe=(()=>{class te{constructor(){this._isText=!1}set _isTextSelector(B){this._isText=!0}}return te.\u0275fac=function(B){return new(B||te)},te.\u0275dir=e.lG2({type:te,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[e._Bn([{provide:we,useExisting:te}])]}),te})(),_t=(()=>{class te{constructor(B){this._elementRef=B,this.floating=!1}getWidth(){return function it(te){if(null!==te.offsetParent)return te.scrollWidth;const B=te.cloneNode(!0);B.style.setProperty("position","absolute"),B.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(B);const pe=B.scrollWidth;return B.remove(),pe}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}}return te.\u0275fac=function(B){return new(B||te)(e.Y36(e.SBq))},te.\u0275dir=e.lG2({type:te,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(B,pe){2&B&&e.ekj("mdc-floating-label--float-above",pe.floating)},inputs:{floating:"floating"}}),te})();const Nt="mdc-line-ripple--active",lt="mdc-line-ripple--deactivating";let zt=(()=>{class te{constructor(B,pe){this._elementRef=B,this._handleTransitionEnd=Ut=>{const Vt=this._elementRef.nativeElement.classList,be=Vt.contains(lt);"opacity"===Ut.propertyName&&be&&Vt.remove(Nt,lt)},pe.runOutsideAngular(()=>{B.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const B=this._elementRef.nativeElement.classList;B.remove(lt),B.add(Nt)}deactivate(){this._elementRef.nativeElement.classList.add(lt)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}return te.\u0275fac=function(B){return new(B||te)(e.Y36(e.SBq),e.Y36(e.R0b))},te.\u0275dir=e.lG2({type:te,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}),te})(),ft=(()=>{class te{constructor(B,pe){this._elementRef=B,this._ngZone=pe,this.labelWidth=0,this.open=!1}ngAfterViewInit(){const B=this._elementRef.nativeElement.querySelector(".mdc-floating-label");B?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(B.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>B.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_getNotchWidth(){return this.open?this.labelWidth>0?`calc(${this.labelWidth}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:"0px":null}}return te.\u0275fac=function(B){return new(B||te)(e.Y36(e.SBq),e.Y36(e.R0b))},te.\u0275cmp=e.Xpm({type:te,selectors:[["div","matFormFieldNotchedOutline",""]],hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(B,pe){2&B&&e.ekj("mdc-notched-outline--notched",pe.open)},inputs:{labelWidth:["matFormFieldNotchedOutlineLabelWidth","labelWidth"],open:["matFormFieldNotchedOutlineOpen","open"]},attrs:he,ngContentSelectors:Le,decls:4,vars:2,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(B,pe){1&B&&(e.F$t(),e._UZ(0,"div",0),e.TgZ(1,"div",1),e.Hsn(2),e.qZA(),e._UZ(3,"div",2)),2&B&&(e.xp6(1),e.Udp("width",pe._getNotchWidth()))},encapsulation:2,changeDetection:0}),te})();const Pt={transitionMessages:(0,Ee.X$)("transitionMessages",[(0,Ee.SB)("enter",(0,Ee.oB)({opacity:1,transform:"translateY(0%)"})),(0,Ee.eR)("void => enter",[(0,Ee.oB)({opacity:0,transform:"translateY(-5px)"}),(0,Ee.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let li=(()=>{class te{}return te.\u0275fac=function(B){return new(B||te)},te.\u0275dir=e.lG2({type:te}),te})();const ve=new e.OlP("MatFormField"),N=new e.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS");let re=0,ct=(()=>{class te{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(B){this._hideRequiredMarker=(0,q.Ig)(B)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(B){B!==this._floatLabel&&(this._floatLabel=B,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(B){const pe=this._appearance;this._appearance=B||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==pe&&(this._refreshOutlineNotchWidth(),this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(B){this._subscriptSizing=B||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(B){this._hintLabel=B,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(B){this._explicitFormFieldControl=B}constructor(B,pe,Ut,Vt,be,st,Z,ke){this._elementRef=B,this._changeDetectorRef=pe,this._ngZone=Ut,this._dir=Vt,this._platform=be,this._defaults=st,this._animationMode=Z,this._document=ke,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+re++,this._hintLabelId="mat-mdc-hint-"+re++,this._subscriptAnimationState="",this._labelWidth=0,this._destroyed=new l.x,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,st&&(st.appearance&&(this.appearance=st.appearance),this._hideRequiredMarker=Boolean(st?.hideRequiredMarker),st.color&&(this.color=st.color))}ngAfterViewInit(){this._updateFocusState(),this._refreshOutlineNotchWidth(),this._document?.fonts?.ready?this._document.fonts.ready.then(()=>{this._refreshOutlineNotchWidth(),this._changeDetectorRef.markForCheck()}):setTimeout(()=>this._refreshOutlineNotchWidth(),100),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const B=this._control;B.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${B.controlType}`),B.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),B.ngControl&&B.ngControl.valueChanges&&B.ngControl.valueChanges.pipe((0,O.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(B=>!B._isText),this._hasTextPrefix=!!this._prefixChildren.find(B=>B._isText),this._hasIconSuffix=!!this._suffixChildren.find(B=>!B._isText),this._hasTextSuffix=!!this._suffixChildren.find(B=>B._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,b.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,O.R)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,O.R)(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(B){const pe=this._control?this._control.ngControl:null;return pe&&pe[B]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||(this._labelWidth=this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let B=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&B.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const pe=this._hintChildren?this._hintChildren.find(Vt=>"start"===Vt.align):null,Ut=this._hintChildren?this._hintChildren.find(Vt=>"end"===Vt.align):null;pe?B.push(pe.id):this._hintLabel&&B.push(this._hintLabelId),Ut&&B.push(Ut.id)}else this._errorChildren&&B.push(...this._errorChildren.map(pe=>pe.id));this._control.setDescribedByIds(B)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const B=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(B.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const pe=this._iconPrefixContainer?.nativeElement,Ut=this._textPrefixContainer?.nativeElement,Vt=pe?.getBoundingClientRect().width??0,be=Ut?.getBoundingClientRect().width??0;B.style.transform=`var(\n        --mat-mdc-form-field-label-transform,\n        translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${Vt+be}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n    )`}_isAttachedToDom(){const B=this._elementRef.nativeElement;if(B.getRootNode){const pe=B.getRootNode();return pe&&pe!==B}return document.documentElement.contains(B)}}return te.\u0275fac=function(B){return new(B||te)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(e.R0b),e.Y36(s.Is),e.Y36(T.t4),e.Y36(N,8),e.Y36(e.QbO,8),e.Y36(X.K0))},te.\u0275cmp=e.Xpm({type:te,selectors:[["mat-form-field"]],contentQueries:function(B,pe,Ut){if(1&B&&(e.Suo(Ut,ai,5),e.Suo(Ut,ai,7),e.Suo(Ut,li,5),e.Suo(Ut,Y,5),e.Suo(Ut,we,5),e.Suo(Ut,W,5),e.Suo(Ut,C,5)),2&B){let Vt;e.iGM(Vt=e.CRH())&&(pe._labelChildNonStatic=Vt.first),e.iGM(Vt=e.CRH())&&(pe._labelChildStatic=Vt.first),e.iGM(Vt=e.CRH())&&(pe._formFieldControl=Vt.first),e.iGM(Vt=e.CRH())&&(pe._prefixChildren=Vt),e.iGM(Vt=e.CRH())&&(pe._suffixChildren=Vt),e.iGM(Vt=e.CRH())&&(pe._errorChildren=Vt),e.iGM(Vt=e.CRH())&&(pe._hintChildren=Vt)}},viewQuery:function(B,pe){if(1&B&&(e.Gf(He,5),e.Gf(Qe,5),e.Gf(pt,5),e.Gf(_t,5),e.Gf(ft,5),e.Gf(zt,5)),2&B){let Ut;e.iGM(Ut=e.CRH())&&(pe._textField=Ut.first),e.iGM(Ut=e.CRH())&&(pe._iconPrefixContainer=Ut.first),e.iGM(Ut=e.CRH())&&(pe._textPrefixContainer=Ut.first),e.iGM(Ut=e.CRH())&&(pe._floatingLabel=Ut.first),e.iGM(Ut=e.CRH())&&(pe._notchedOutline=Ut.first),e.iGM(Ut=e.CRH())&&(pe._lineRipple=Ut.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(B,pe){2&B&&e.ekj("mat-mdc-form-field-label-always-float",pe._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",pe._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",pe._hasIconSuffix)("mat-form-field-invalid",pe._control.errorState)("mat-form-field-disabled",pe._control.disabled)("mat-form-field-autofilled",pe._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===pe._animationMode)("mat-form-field-appearance-fill","fill"==pe.appearance)("mat-form-field-appearance-outline","outline"==pe.appearance)("mat-form-field-hide-placeholder",pe._hasFloatingLabel()&&!pe._shouldLabelFloat())("mat-focused",pe._control.focused)("mat-primary","accent"!==pe.color&&"warn"!==pe.color)("mat-accent","accent"===pe.color)("mat-warn","warn"===pe.color)("ng-untouched",pe._shouldForward("untouched"))("ng-touched",pe._shouldForward("touched"))("ng-pristine",pe._shouldForward("pristine"))("ng-dirty",pe._shouldForward("dirty"))("ng-valid",pe._shouldForward("valid"))("ng-invalid",pe._shouldForward("invalid"))("ng-pending",pe._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[e._Bn([{provide:ve,useExisting:te}])],ngContentSelectors:jt,decls:18,vars:23,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay",4,"ngIf"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth",4,"ngIf"],["class","mat-mdc-form-field-icon-prefix",4,"ngIf"],["class","mat-mdc-form-field-text-prefix",4,"ngIf"],[1,"mat-mdc-form-field-infix"],[3,"ngIf"],["class","mat-mdc-form-field-text-suffix",4,"ngIf"],["class","mat-mdc-form-field-icon-suffix",4,"ngIf"],["matFormFieldLineRipple","",4,"ngIf"],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align",3,"ngSwitch"],["class","mat-mdc-form-field-error-wrapper",4,"ngSwitchCase"],["class","mat-mdc-form-field-hint-wrapper",4,"ngSwitchCase"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required",4,"ngIf"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id",4,"ngIf"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(B,pe){1&B&&(e.F$t(gi),e.YNc(0,Me,1,1,"ng-template",null,0,e.W1O),e.TgZ(2,"div",1,2),e.NdJ("click",function(Vt){return pe._control.onContainerClick&&pe._control.onContainerClick(Vt)}),e.YNc(4,Pe,1,0,"div",3),e.TgZ(5,"div",4),e.YNc(6,le,2,3,"div",5),e.YNc(7,Se,3,0,"div",6),e.YNc(8,je,3,0,"div",7),e.TgZ(9,"div",8),e.YNc(10,Ge,1,1,"ng-template",9),e.Hsn(11),e.qZA(),e.YNc(12,vt,2,0,"div",10),e.YNc(13,xe,2,0,"div",11),e.qZA(),e.YNc(14,kt,1,0,"div",12),e.qZA(),e.TgZ(15,"div",13),e.YNc(16,rt,2,1,"div",14),e.YNc(17,yi,5,2,"div",15),e.qZA()),2&B&&(e.xp6(2),e.ekj("mdc-text-field--filled",!pe._hasOutline())("mdc-text-field--outlined",pe._hasOutline())("mdc-text-field--no-label",!pe._hasFloatingLabel())("mdc-text-field--disabled",pe._control.disabled)("mdc-text-field--invalid",pe._control.errorState),e.xp6(2),e.Q6J("ngIf",!pe._hasOutline()&&!pe._control.disabled),e.xp6(2),e.Q6J("ngIf",pe._hasOutline()),e.xp6(1),e.Q6J("ngIf",pe._hasIconPrefix),e.xp6(1),e.Q6J("ngIf",pe._hasTextPrefix),e.xp6(2),e.Q6J("ngIf",!pe._hasOutline()||pe._forceDisplayInfixLabel()),e.xp6(2),e.Q6J("ngIf",pe._hasTextSuffix),e.xp6(1),e.Q6J("ngIf",pe._hasIconSuffix),e.xp6(1),e.Q6J("ngIf",!pe._hasOutline()),e.xp6(1),e.ekj("mat-mdc-form-field-subscript-dynamic-size","dynamic"===pe.subscriptSizing),e.Q6J("ngSwitch",pe._getDisplayedMessages()),e.xp6(1),e.Q6J("ngSwitchCase","error"),e.xp6(1),e.Q6J("ngSwitchCase","hint"))},dependencies:[X.O5,X.tP,X.RF,X.n9,de.wD,C,_t,ft,zt],styles:['.mdc-text-field{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;border-top:1px solid;border-bottom:1px solid;pointer-events:none}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{line-height:normal;pointer-events:all}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-10.25px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-10.25px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-24.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-24.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-106%) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}'],encapsulation:2,data:{animation:[Pt.transitionMessages]},changeDetection:0}),te})(),Gt=(()=>{class te{}return te.\u0275fac=function(B){return new(B||te)},te.\u0275mod=e.oAB({type:te}),te.\u0275inj=e.cJS({imports:[Be.BQ,X.ez,de.Q8,Be.BQ]}),te})()},7392:(ri,mt,p)=>{p.d(mt,{Hw:()=>j,Ps:()=>H,jv:()=>Ke});var e=p(4650),s=p(3238),T=p(1281),l=p(6895),b=p(9646),O=p(2843),X=p(4128),q=p(727),Ee=p(8505),de=p(4004),Be=p(262),he=p(8746),Le=p(3099),He=p(5698),Qe=p(529),pt=p(1481);const Re=["*"];let ze;function Pe(C){return function Me(){if(void 0===ze&&(ze=null,typeof window<"u")){const C=window;void 0!==C.trustedTypes&&(ze=C.trustedTypes.createPolicy("angular#components",{createHTML:Y=>Y}))}return ze}()?.createHTML(C)||C}function _e(C){return Error(`Unable to find icon with the name "${C}"`)}function le(C){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${C}".`)}function Se(C){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${C}".`)}class je{constructor(Y,$,we){this.url=Y,this.svgText=$,this.options=we}}let Ke=(()=>{class C{constructor($,we,Fe,_t){this._httpClient=$,this._sanitizer=we,this._errorHandler=_t,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=Fe}addSvgIcon($,we,Fe){return this.addSvgIconInNamespace("",$,we,Fe)}addSvgIconLiteral($,we,Fe){return this.addSvgIconLiteralInNamespace("",$,we,Fe)}addSvgIconInNamespace($,we,Fe,_t){return this._addSvgIconConfig($,we,new je(Fe,null,_t))}addSvgIconResolver($){return this._resolvers.push($),this}addSvgIconLiteralInNamespace($,we,Fe,_t){const it=this._sanitizer.sanitize(e.q3G.HTML,Fe);if(!it)throw Se(Fe);const Nt=Pe(it);return this._addSvgIconConfig($,we,new je("",Nt,_t))}addSvgIconSet($,we){return this.addSvgIconSetInNamespace("",$,we)}addSvgIconSetLiteral($,we){return this.addSvgIconSetLiteralInNamespace("",$,we)}addSvgIconSetInNamespace($,we,Fe){return this._addSvgIconSetConfig($,new je(we,null,Fe))}addSvgIconSetLiteralInNamespace($,we,Fe){const _t=this._sanitizer.sanitize(e.q3G.HTML,we);if(!_t)throw Se(we);const it=Pe(_t);return this._addSvgIconSetConfig($,new je("",it,Fe))}registerFontClassAlias($,we=$){return this._fontCssClassesByAlias.set($,we),this}classNameForFontAlias($){return this._fontCssClassesByAlias.get($)||$}setDefaultFontSetClass(...$){return this._defaultFontSetClass=$,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl($){const we=this._sanitizer.sanitize(e.q3G.RESOURCE_URL,$);if(!we)throw le($);const Fe=this._cachedIconsByUrl.get(we);return Fe?(0,b.of)(xe(Fe)):this._loadSvgIconFromConfig(new je($,null)).pipe((0,Ee.b)(_t=>this._cachedIconsByUrl.set(we,_t)),(0,de.U)(_t=>xe(_t)))}getNamedSvgIcon($,we=""){const Fe=kt(we,$);let _t=this._svgIconConfigs.get(Fe);if(_t)return this._getSvgFromConfig(_t);if(_t=this._getIconConfigFromResolvers(we,$),_t)return this._svgIconConfigs.set(Fe,_t),this._getSvgFromConfig(_t);const it=this._iconSetConfigs.get(we);return it?this._getSvgFromIconSetConfigs($,it):(0,O._)(_e(Fe))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig($){return $.svgText?(0,b.of)(xe(this._svgElementFromConfig($))):this._loadSvgIconFromConfig($).pipe((0,de.U)(we=>xe(we)))}_getSvgFromIconSetConfigs($,we){const Fe=this._extractIconWithNameFromAnySet($,we);if(Fe)return(0,b.of)(Fe);const _t=we.filter(it=>!it.svgText).map(it=>this._loadSvgIconSetFromConfig(it).pipe((0,Be.K)(Nt=>{const zt=`Loading icon set URL: ${this._sanitizer.sanitize(e.q3G.RESOURCE_URL,it.url)} failed: ${Nt.message}`;return this._errorHandler.handleError(new Error(zt)),(0,b.of)(null)})));return(0,X.D)(_t).pipe((0,de.U)(()=>{const it=this._extractIconWithNameFromAnySet($,we);if(!it)throw _e($);return it}))}_extractIconWithNameFromAnySet($,we){for(let Fe=we.length-1;Fe>=0;Fe--){const _t=we[Fe];if(_t.svgText&&_t.svgText.toString().indexOf($)>-1){const it=this._svgElementFromConfig(_t),Nt=this._extractSvgIconFromSet(it,$,_t.options);if(Nt)return Nt}}return null}_loadSvgIconFromConfig($){return this._fetchIcon($).pipe((0,Ee.b)(we=>$.svgText=we),(0,de.U)(()=>this._svgElementFromConfig($)))}_loadSvgIconSetFromConfig($){return $.svgText?(0,b.of)(null):this._fetchIcon($).pipe((0,Ee.b)(we=>$.svgText=we))}_extractSvgIconFromSet($,we,Fe){const _t=$.querySelector(`[id="${we}"]`);if(!_t)return null;const it=_t.cloneNode(!0);if(it.removeAttribute("id"),"svg"===it.nodeName.toLowerCase())return this._setSvgAttributes(it,Fe);if("symbol"===it.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(it),Fe);const Nt=this._svgElementFromString(Pe("<svg></svg>"));return Nt.appendChild(it),this._setSvgAttributes(Nt,Fe)}_svgElementFromString($){const we=this._document.createElement("DIV");we.innerHTML=$;const Fe=we.querySelector("svg");if(!Fe)throw Error("<svg> tag not found");return Fe}_toSvgElement($){const we=this._svgElementFromString(Pe("<svg></svg>")),Fe=$.attributes;for(let _t=0;_t<Fe.length;_t++){const{name:it,value:Nt}=Fe[_t];"id"!==it&&we.setAttribute(it,Nt)}for(let _t=0;_t<$.childNodes.length;_t++)$.childNodes[_t].nodeType===this._document.ELEMENT_NODE&&we.appendChild($.childNodes[_t].cloneNode(!0));return we}_setSvgAttributes($,we){return $.setAttribute("fit",""),$.setAttribute("height","100%"),$.setAttribute("width","100%"),$.setAttribute("preserveAspectRatio","xMidYMid meet"),$.setAttribute("focusable","false"),we&&we.viewBox&&$.setAttribute("viewBox",we.viewBox),$}_fetchIcon($){const{url:we,options:Fe}=$,_t=Fe?.withCredentials??!1;if(!this._httpClient)throw function ge(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}();if(null==we)throw Error(`Cannot fetch icon from URL "${we}".`);const it=this._sanitizer.sanitize(e.q3G.RESOURCE_URL,we);if(!it)throw le(we);const Nt=this._inProgressUrlFetches.get(it);if(Nt)return Nt;const lt=this._httpClient.get(it,{responseType:"text",withCredentials:_t}).pipe((0,de.U)(zt=>Pe(zt)),(0,he.x)(()=>this._inProgressUrlFetches.delete(it)),(0,Le.B)());return this._inProgressUrlFetches.set(it,lt),lt}_addSvgIconConfig($,we,Fe){return this._svgIconConfigs.set(kt($,we),Fe),this}_addSvgIconSetConfig($,we){const Fe=this._iconSetConfigs.get($);return Fe?Fe.push(we):this._iconSetConfigs.set($,[we]),this}_svgElementFromConfig($){if(!$.svgElement){const we=this._svgElementFromString($.svgText);this._setSvgAttributes(we,$.options),$.svgElement=we}return $.svgElement}_getIconConfigFromResolvers($,we){for(let Fe=0;Fe<this._resolvers.length;Fe++){const _t=this._resolvers[Fe](we,$);if(_t)return rt(_t)?new je(_t.url,null,_t.options):new je(_t,null)}}}return C.\u0275fac=function($){return new($||C)(e.LFG(Qe.eN,8),e.LFG(pt.H7),e.LFG(l.K0,8),e.LFG(e.qLn))},C.\u0275prov=e.Yz7({token:C,factory:C.\u0275fac,providedIn:"root"}),C})();function xe(C){return C.cloneNode(!0)}function kt(C,Y){return C+":"+Y}function rt(C){return!(!C.url||!C.options)}const Wt=(0,s.pj)(class{constructor(C){this._elementRef=C}}),yi=new e.OlP("MAT_ICON_DEFAULT_OPTIONS"),gi=new e.OlP("mat-icon-location",{providedIn:"root",factory:function jt(){const C=(0,e.f3M)(l.K0),Y=C?C.location:null;return{getPathname:()=>Y?Y.pathname+Y.search:""}}}),ai=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],ot=ai.map(C=>`[${C}]`).join(", "),W=/^url\(['"]?#(.*?)['"]?\)$/;let j=(()=>{class C extends Wt{get inline(){return this._inline}set inline($){this._inline=(0,T.Ig)($)}get svgIcon(){return this._svgIcon}set svgIcon($){$!==this._svgIcon&&($?this._updateSvgIcon($):this._svgIcon&&this._clearSvgElement(),this._svgIcon=$)}get fontSet(){return this._fontSet}set fontSet($){const we=this._cleanupFontValue($);we!==this._fontSet&&(this._fontSet=we,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon($){const we=this._cleanupFontValue($);we!==this._fontIcon&&(this._fontIcon=we,this._updateFontIconClasses())}constructor($,we,Fe,_t,it,Nt){super($),this._iconRegistry=we,this._location=_t,this._errorHandler=it,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=q.w0.EMPTY,Nt&&(Nt.color&&(this.color=this.defaultColor=Nt.color),Nt.fontSet&&(this.fontSet=Nt.fontSet)),Fe||$.nativeElement.setAttribute("aria-hidden","true")}_splitIconName($){if(!$)return["",""];const we=$.split(":");switch(we.length){case 1:return["",we[0]];case 2:return we;default:throw Error(`Invalid icon name: "${$}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const $=this._elementsWithExternalReferences;if($&&$.size){const we=this._location.getPathname();we!==this._previousPath&&(this._previousPath=we,this._prependPathToReferences(we))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement($){this._clearSvgElement();const we=this._location.getPathname();this._previousPath=we,this._cacheChildrenWithExternalReferences($),this._prependPathToReferences(we),this._elementRef.nativeElement.appendChild($)}_clearSvgElement(){const $=this._elementRef.nativeElement;let we=$.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();we--;){const Fe=$.childNodes[we];(1!==Fe.nodeType||"svg"===Fe.nodeName.toLowerCase())&&Fe.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const $=this._elementRef.nativeElement,we=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(Fe=>Fe.length>0);this._previousFontSetClass.forEach(Fe=>$.classList.remove(Fe)),we.forEach(Fe=>$.classList.add(Fe)),this._previousFontSetClass=we,this.fontIcon!==this._previousFontIconClass&&!we.includes("mat-ligature-font")&&(this._previousFontIconClass&&$.classList.remove(this._previousFontIconClass),this.fontIcon&&$.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue($){return"string"==typeof $?$.trim().split(" ")[0]:$}_prependPathToReferences($){const we=this._elementsWithExternalReferences;we&&we.forEach((Fe,_t)=>{Fe.forEach(it=>{_t.setAttribute(it.name,`url('${$}#${it.value}')`)})})}_cacheChildrenWithExternalReferences($){const we=$.querySelectorAll(ot),Fe=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let _t=0;_t<we.length;_t++)ai.forEach(it=>{const Nt=we[_t],lt=Nt.getAttribute(it),zt=lt?lt.match(W):null;if(zt){let ft=Fe.get(Nt);ft||(ft=[],Fe.set(Nt,ft)),ft.push({name:it,value:zt[1]})}})}_updateSvgIcon($){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),$){const[we,Fe]=this._splitIconName($);we&&(this._svgNamespace=we),Fe&&(this._svgName=Fe),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Fe,we).pipe((0,He.q)(1)).subscribe(_t=>this._setSvgElement(_t),_t=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${we}:${Fe}! ${_t.message}`))})}}}return C.\u0275fac=function($){return new($||C)(e.Y36(e.SBq),e.Y36(Ke),e.$8M("aria-hidden"),e.Y36(gi),e.Y36(e.qLn),e.Y36(yi,8))},C.\u0275cmp=e.Xpm({type:C,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function($,we){2&$&&(e.uIk("data-mat-icon-type",we._usingFontIcon()?"font":"svg")("data-mat-icon-name",we._svgName||we.fontIcon)("data-mat-icon-namespace",we._svgNamespace||we.fontSet)("fontIcon",we._usingFontIcon()?we.fontIcon:null),e.ekj("mat-icon-inline",we.inline)("mat-icon-no-color","primary"!==we.color&&"accent"!==we.color&&"warn"!==we.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[e.qOj],ngContentSelectors:Re,decls:1,vars:0,template:function($,we){1&$&&(e.F$t(),e.Hsn(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0}),C})(),H=(()=>{class C{}return C.\u0275fac=function($){return new($||C)},C.\u0275mod=e.oAB({type:C}),C.\u0275inj=e.cJS({imports:[s.BQ,s.BQ]}),C})()},4144:(ri,mt,p)=>{p.d(mt,{Jk:()=>Qe,Nt:()=>Me,c:()=>Pe});var e=p(1281),s=p(3353),T=p(4650),l=p(515),b=p(7579);const O=(0,s.i$)({passive:!0});let X=(()=>{class _e{constructor(le,Se){this._platform=le,this._ngZone=Se,this._monitoredElements=new Map}monitor(le){if(!this._platform.isBrowser)return l.E;const Se=(0,e.fI)(le),je=this._monitoredElements.get(Se);if(je)return je.subject;const Ke=new b.x,Ge="cdk-text-field-autofilled",vt=xe=>{"cdk-text-field-autofill-start"!==xe.animationName||Se.classList.contains(Ge)?"cdk-text-field-autofill-end"===xe.animationName&&Se.classList.contains(Ge)&&(Se.classList.remove(Ge),this._ngZone.run(()=>Ke.next({target:xe.target,isAutofilled:!1}))):(Se.classList.add(Ge),this._ngZone.run(()=>Ke.next({target:xe.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{Se.addEventListener("animationstart",vt,O),Se.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(Se,{subject:Ke,unlisten:()=>{Se.removeEventListener("animationstart",vt,O)}}),Ke}stopMonitoring(le){const Se=(0,e.fI)(le),je=this._monitoredElements.get(Se);je&&(je.unlisten(),je.subject.complete(),Se.classList.remove("cdk-text-field-autofill-monitored"),Se.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(Se))}ngOnDestroy(){this._monitoredElements.forEach((le,Se)=>this.stopMonitoring(Se))}}return _e.\u0275fac=function(le){return new(le||_e)(T.LFG(s.t4),T.LFG(T.R0b))},_e.\u0275prov=T.Yz7({token:_e,factory:_e.\u0275fac,providedIn:"root"}),_e})(),de=(()=>{class _e{}return _e.\u0275fac=function(le){return new(le||_e)},_e.\u0275mod=T.oAB({type:_e}),_e.\u0275inj=T.cJS({}),_e})();var Be=p(4006),he=p(3238),Le=p(9549);const Qe=new T.OlP("MAT_INPUT_VALUE_ACCESSOR"),pt=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let Re=0;const ze=(0,he.FD)(class{constructor(_e,ge,le,Se){this._defaultErrorStateMatcher=_e,this._parentForm=ge,this._parentFormGroup=le,this.ngControl=Se,this.stateChanges=new b.x}});let Me=(()=>{class _e extends ze{get disabled(){return this._disabled}set disabled(le){this._disabled=(0,e.Ig)(le),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(le){this._id=le||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(Be.kI.required)??!1}set required(le){this._required=(0,e.Ig)(le)}get type(){return this._type}set type(le){this._type=le||"text",this._validateType(),!this._isTextarea&&(0,s.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(le){le!==this.value&&(this._inputValueAccessor.value=le,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(le){this._readonly=(0,e.Ig)(le)}constructor(le,Se,je,Ke,Ge,vt,xe,kt,rt,Wt){super(vt,Ke,Ge,je),this._elementRef=le,this._platform=Se,this._autofillMonitor=kt,this._formField=Wt,this._uid="mat-input-"+Re++,this.focused=!1,this.stateChanges=new b.x,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(jt=>(0,s.qK)().has(jt)),this._iOSKeyupListener=jt=>{const ai=jt.target;!ai.value&&0===ai.selectionStart&&0===ai.selectionEnd&&(ai.setSelectionRange(1,1),ai.setSelectionRange(0,0))};const yi=this._elementRef.nativeElement,gi=yi.nodeName.toLowerCase();this._inputValueAccessor=xe||yi,this._previousNativeValue=this.value,this.id=this.id,Se.IOS&&rt.runOutsideAngular(()=>{le.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===gi,this._isTextarea="textarea"===gi,this._isInFormField=!!Wt,this._isNativeSelect&&(this.controlType=yi.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(le=>{this.autofilled=le.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(le){this._elementRef.nativeElement.focus(le)}_focusChanged(le){le!==this.focused&&(this.focused=le,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const le=this._elementRef.nativeElement.value;this._previousNativeValue!==le&&(this._previousNativeValue=le,this.stateChanges.next())}_dirtyCheckPlaceholder(){const le=this._getPlaceholder();if(le!==this._previousPlaceholder){const Se=this._elementRef.nativeElement;this._previousPlaceholder=le,le?Se.setAttribute("placeholder",le):Se.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){pt.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let le=this._elementRef.nativeElement.validity;return le&&le.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const le=this._elementRef.nativeElement,Se=le.options[0];return this.focused||le.multiple||!this.empty||!!(le.selectedIndex>-1&&Se&&Se.label)}return this.focused||!this.empty}setDescribedByIds(le){le.length?this._elementRef.nativeElement.setAttribute("aria-describedby",le.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const le=this._elementRef.nativeElement;return this._isNativeSelect&&(le.multiple||le.size>1)}}return _e.\u0275fac=function(le){return new(le||_e)(T.Y36(T.SBq),T.Y36(s.t4),T.Y36(Be.a5,10),T.Y36(Be.F,8),T.Y36(Be.sg,8),T.Y36(he.rD),T.Y36(Qe,10),T.Y36(X),T.Y36(T.R0b),T.Y36(Le.G_,8))},_e.\u0275dir=T.lG2({type:_e,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(le,Se){1&le&&T.NdJ("focus",function(){return Se._focusChanged(!0)})("blur",function(){return Se._focusChanged(!1)})("input",function(){return Se._onInput()}),2&le&&(T.Ikx("id",Se.id)("disabled",Se.disabled)("required",Se.required),T.uIk("name",Se.name||null)("readonly",Se.readonly&&!Se._isNativeSelect||null)("aria-invalid",Se.empty&&Se.required?null:Se.errorState)("aria-required",Se.required)("id",Se.id),T.ekj("mat-input-server",Se._isServer)("mat-mdc-form-field-textarea-control",Se._isInFormField&&Se._isTextarea)("mat-mdc-form-field-input-control",Se._isInFormField)("mdc-text-field__input",Se._isInFormField)("mat-mdc-native-select-inline",Se._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[T._Bn([{provide:Le.Eo,useExisting:_e}]),T.qOj,T.TTD]}),_e})(),Pe=(()=>{class _e{}return _e.\u0275fac=function(le){return new(le||_e)},_e.\u0275mod=T.oAB({type:_e}),_e.\u0275inj=T.cJS({imports:[he.BQ,Le.lN,Le.lN,de,he.BQ]}),_e})()},8255:(ri,mt,p)=>{p.d(mt,{OP:()=>Wt,Tx:()=>oi,VK:()=>_t,p6:()=>li});var e=p(4650),s=p(2687),T=p(1281),l=p(9521),b=p(7579),O=p(6451),X=p(727),q=p(9646),Ee=p(3101),de=p(8675),Be=p(3900),he=p(5698),Le=p(2722),He=p(9300),Qe=p(1005),pt=p(3238),Re=p(6895),ze=p(4080),Me=p(7340),Pe=p(445),_e=p(8184),ge=p(3353),le=p(7376);const Se=["mat-menu-item",""];function je(dt,yt){1&dt&&(e.O4$(),e.TgZ(0,"svg",3),e._UZ(1,"polygon",4),e.qZA())}const Ke=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],Ge=["mat-icon, [matMenuItemIcon]","*"];function vt(dt,yt){if(1&dt){const ve=e.EpF();e.TgZ(0,"div",0),e.NdJ("keydown",function(re){e.CHM(ve);const We=e.oxw();return e.KtG(We._handleKeydown(re))})("click",function(){e.CHM(ve);const re=e.oxw();return e.KtG(re.closed.emit("click"))})("@transformMenu.start",function(re){e.CHM(ve);const We=e.oxw();return e.KtG(We._onAnimationStart(re))})("@transformMenu.done",function(re){e.CHM(ve);const We=e.oxw();return e.KtG(We._onAnimationDone(re))}),e.TgZ(1,"div",1),e.Hsn(2),e.qZA()()}if(2&dt){const ve=e.oxw();e.Q6J("id",ve.panelId)("ngClass",ve._classList)("@transformMenu",ve._panelAnimationState),e.uIk("aria-label",ve.ariaLabel||null)("aria-labelledby",ve.ariaLabelledby||null)("aria-describedby",ve.ariaDescribedby||null)}}const xe=["*"],kt=new e.OlP("MAT_MENU_PANEL"),rt=(0,pt.Kr)((0,pt.Id)(class{}));let Wt=(()=>{class dt extends rt{constructor(ve,N,re,We,wt){super(),this._elementRef=ve,this._document=N,this._focusMonitor=re,this._parentMenu=We,this._changeDetectorRef=wt,this.role="menuitem",this._hovered=new b.x,this._focused=new b.x,this._highlighted=!1,this._triggersSubmenu=!1,We?.addItem?.(this)}focus(ve,N){this._focusMonitor&&ve?this._focusMonitor.focusVia(this._getHostElement(),ve,N):this._getHostElement().focus(N),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(ve){this.disabled&&(ve.preventDefault(),ve.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const ve=this._elementRef.nativeElement.cloneNode(!0),N=ve.querySelectorAll("mat-icon, .material-icons");for(let re=0;re<N.length;re++)N[re].remove();return ve.textContent?.trim()||""}_setHighlighted(ve){this._highlighted=ve,this._changeDetectorRef?.markForCheck()}_setTriggersSubmenu(ve){this._triggersSubmenu=ve,this._changeDetectorRef?.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}}return dt.\u0275fac=function(ve){return new(ve||dt)(e.Y36(e.SBq),e.Y36(Re.K0),e.Y36(s.tE),e.Y36(kt,8),e.Y36(e.sBO))},dt.\u0275cmp=e.Xpm({type:dt,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-mdc-focus-indicator","mdc-list-item"],hostVars:8,hostBindings:function(ve,N){1&ve&&e.NdJ("click",function(We){return N._checkDisabled(We)})("mouseenter",function(){return N._handleMouseEnter()}),2&ve&&(e.uIk("role",N.role)("tabindex",N._getTabIndex())("aria-disabled",N.disabled)("disabled",N.disabled||null),e.ekj("mat-mdc-menu-item-highlighted",N._highlighted)("mat-mdc-menu-item-submenu-trigger",N._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[e.qOj],attrs:Se,ngContentSelectors:Ge,decls:5,vars:3,consts:[[1,"mdc-list-item__primary-text"],["matRipple","",1,"mat-mdc-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-mdc-menu-submenu-icon","viewBox","0 0 5 10","focusable","false",4,"ngIf"],["viewBox","0 0 5 10","focusable","false",1,"mat-mdc-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(ve,N){1&ve&&(e.F$t(Ke),e.Hsn(0),e.TgZ(1,"span",0),e.Hsn(2,1),e.qZA(),e._UZ(3,"div",1),e.YNc(4,je,2,0,"svg",2)),2&ve&&(e.xp6(3),e.Q6J("matRippleDisabled",N.disableRipple||N.disabled)("matRippleTrigger",N._getHostElement()),e.xp6(1),e.Q6J("ngIf",N._triggersSubmenu))},dependencies:[Re.O5,pt.wG],encapsulation:2,changeDetection:0}),dt})();const ai=new e.OlP("MatMenuContent"),j={transformMenu:(0,Me.X$)("transformMenu",[(0,Me.SB)("void",(0,Me.oB)({opacity:0,transform:"scale(0.8)"})),(0,Me.eR)("void => enter",(0,Me.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,Me.oB)({opacity:1,transform:"scale(1)"}))),(0,Me.eR)("* => void",(0,Me.jt)("100ms 25ms linear",(0,Me.oB)({opacity:0})))]),fadeInItems:(0,Me.X$)("fadeInItems",[(0,Me.SB)("showing",(0,Me.oB)({opacity:1})),(0,Me.eR)("void => *",[(0,Me.oB)({opacity:0}),(0,Me.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Y=0;const $=new e.OlP("mat-menu-default-options",{providedIn:"root",factory:function we(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let Fe=(()=>{class dt{get xPosition(){return this._xPosition}set xPosition(ve){this._xPosition=ve,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(ve){this._yPosition=ve,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(ve){this._overlapTrigger=(0,T.Ig)(ve)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(ve){this._hasBackdrop=(0,T.Ig)(ve)}set panelClass(ve){const N=this._previousPanelClass;N&&N.length&&N.split(" ").forEach(re=>{this._classList[re]=!1}),this._previousPanelClass=ve,ve&&ve.length&&(ve.split(" ").forEach(re=>{this._classList[re]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(ve){this.panelClass=ve}constructor(ve,N,re,We){this._elementRef=ve,this._ngZone=N,this._defaultOptions=re,this._changeDetectorRef=We,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new e.n_E,this._classList={},this._panelAnimationState="void",this._animationDone=new b.x,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new e.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+Y++}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new s.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,de.O)(this._directDescendantItems),(0,Be.w)(ve=>(0,O.T)(...ve.map(N=>N._focused)))).subscribe(ve=>this._keyManager.updateActiveItem(ve)),this._directDescendantItems.changes.subscribe(ve=>{const N=this._keyManager;if("enter"===this._panelAnimationState&&N.activeItem?._hasFocus()){const re=ve.toArray(),We=Math.max(0,Math.min(re.length-1,N.activeItemIndex||0));re[We]&&!re[We].disabled?N.setActiveItem(We):N.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe((0,de.O)(this._directDescendantItems),(0,Be.w)(N=>(0,O.T)(...N.map(re=>re._hovered))))}addItem(ve){}removeItem(ve){}_handleKeydown(ve){const N=ve.keyCode,re=this._keyManager;switch(N){case l.hY:(0,l.Vb)(ve)||(ve.preventDefault(),this.closed.emit("keydown"));break;case l.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case l.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(N===l.LH||N===l.JH)&&re.setFocusOrigin("keyboard"),void re.onKeydown(ve)}ve.stopPropagation()}focusFirstItem(ve="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,he.q)(1)).subscribe(()=>{let N=null;if(this._directDescendantItems.length&&(N=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!N||!N.contains(document.activeElement)){const re=this._keyManager;re.setFocusOrigin(ve).setFirstItemActive(),!re.activeItem&&N&&N.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(ve){const N=Math.min(this._baseElevation+ve,24),re=`${this._elevationPrefix}${N}`,We=Object.keys(this._classList).find(wt=>wt.startsWith(this._elevationPrefix));(!We||We===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[re]=!0,this._previousElevation=re)}setPositionClasses(ve=this.xPosition,N=this.yPosition){const re=this._classList;re["mat-menu-before"]="before"===ve,re["mat-menu-after"]="after"===ve,re["mat-menu-above"]="above"===N,re["mat-menu-below"]="below"===N,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(ve){this._animationDone.next(ve),this._isAnimating=!1}_onAnimationStart(ve){this._isAnimating=!0,"enter"===ve.toState&&0===this._keyManager.activeItemIndex&&(ve.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,de.O)(this._allItems)).subscribe(ve=>{this._directDescendantItems.reset(ve.filter(N=>N._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return dt.\u0275fac=function(ve){return new(ve||dt)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36($),e.Y36(e.sBO))},dt.\u0275dir=e.lG2({type:dt,contentQueries:function(ve,N,re){if(1&ve&&(e.Suo(re,ai,5),e.Suo(re,Wt,5),e.Suo(re,Wt,4)),2&ve){let We;e.iGM(We=e.CRH())&&(N.lazyContent=We.first),e.iGM(We=e.CRH())&&(N._allItems=We),e.iGM(We=e.CRH())&&(N.items=We)}},viewQuery:function(ve,N){if(1&ve&&e.Gf(e.Rgc,5),2&ve){let re;e.iGM(re=e.CRH())&&(N.templateRef=re.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),dt})(),_t=(()=>{class dt extends Fe{constructor(ve,N,re,We){super(ve,N,re,We),this._elevationPrefix="mat-elevation-z",this._baseElevation=8}}return dt.\u0275fac=function(ve){return new(ve||dt)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36($),e.Y36(e.sBO))},dt.\u0275cmp=e.Xpm({type:dt,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(ve,N){2&ve&&e.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[e._Bn([{provide:kt,useExisting:dt}]),e.qOj],ngContentSelectors:xe,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mdc-menu-surface","mdc-menu-surface--open","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content","mdc-list"]],template:function(ve,N){1&ve&&(e.F$t(),e.YNc(0,vt,3,6,"ng-template"))},dependencies:[Re.mk],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;position:relative}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item.mdc-list-item{align-items:center}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item .mdc-list-item__primary-text{white-space:normal}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[j.transformMenu,j.fadeInItems]},changeDetection:0}),dt})();const it=new e.OlP("mat-menu-scroll-strategy"),lt={provide:it,deps:[_e.aV],useFactory:function Nt(dt){return()=>dt.scrollStrategies.reposition()}},zt=(0,ge.i$)({passive:!0});let Pt=(()=>{class dt{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(ve){this.menu=ve}get menu(){return this._menu}set menu(ve){ve!==this._menu&&(this._menu=ve,this._menuCloseSubscription.unsubscribe(),ve&&(this._menuCloseSubscription=ve.close.subscribe(N=>{this._destroyMenu(N),("click"===N||"tab"===N)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(N)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(ve,N,re,We,wt,Yt,$t,ct,Gt){this._overlay=ve,this._element=N,this._viewContainerRef=re,this._menuItemInstance=Yt,this._dir=$t,this._focusMonitor=ct,this._ngZone=Gt,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=X.w0.EMPTY,this._hoverSubscription=X.w0.EMPTY,this._menuCloseSubscription=X.w0.EMPTY,this._changeDetectorRef=(0,e.f3M)(e.sBO),this._handleTouchStart=te=>{(0,s.yG)(te)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new e.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new e.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=We,this._parentMaterialMenu=wt instanceof Fe?wt:void 0,N.nativeElement.addEventListener("touchstart",this._handleTouchStart,zt)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,zt),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const ve=this.menu;if(this._menuOpen||!ve)return;const N=this._createOverlay(ve),re=N.getConfig(),We=re.positionStrategy;this._setPosition(ve,We),re.hasBackdrop=null==ve.hasBackdrop?!this.triggersSubmenu():ve.hasBackdrop,N.attach(this._getPortal(ve)),ve.lazyContent&&ve.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(ve),ve instanceof Fe&&(ve._startAnimation(),ve._directDescendantItems.changes.pipe((0,Le.R)(ve.close)).subscribe(()=>{We.withLockedPosition(!1).reapplyLastPosition(),We.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(ve,N){this._focusMonitor&&ve?this._focusMonitor.focusVia(this._element,ve,N):this._element.nativeElement.focus(N)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(ve){if(!this._overlayRef||!this.menuOpen)return;const N=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===ve||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,N instanceof Fe?(N._resetAnimation(),N.lazyContent?N._animationDone.pipe((0,He.h)(re=>"void"===re.toState),(0,he.q)(1),(0,Le.R)(N.lazyContent._attached)).subscribe({next:()=>N.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),N?.lazyContent?.detach())}_initMenu(ve){ve.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,ve.direction=this.dir,this._setMenuElevation(ve),ve.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(ve){if(ve.setElevation){let N=0,re=ve.parentMenu;for(;re;)N++,re=re.parentMenu;ve.setElevation(N)}}_setIsMenuOpen(ve){ve!==this._menuOpen&&(this._menuOpen=ve,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(ve),this._changeDetectorRef.markForCheck())}_createOverlay(ve){if(!this._overlayRef){const N=this._getOverlayConfig(ve);this._subscribeToPositions(ve,N.positionStrategy),this._overlayRef=this._overlay.create(N),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(ve){return new _e.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:ve.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:ve.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(ve,N){ve.setPositionClasses&&N.positionChanges.subscribe(re=>{const We="start"===re.connectionPair.overlayX?"after":"before",wt="top"===re.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>ve.setPositionClasses(We,wt)):ve.setPositionClasses(We,wt)})}_setPosition(ve,N){let[re,We]="before"===ve.xPosition?["end","start"]:["start","end"],[wt,Yt]="above"===ve.yPosition?["bottom","top"]:["top","bottom"],[$t,ct]=[wt,Yt],[Gt,te]=[re,We],Ae=0;if(this.triggersSubmenu()){if(te=re="before"===ve.xPosition?"start":"end",We=Gt="end"===re?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const B=this._parentMaterialMenu.items.first;this._parentInnerPadding=B?B._getHostElement().offsetTop:0}Ae="bottom"===wt?this._parentInnerPadding:-this._parentInnerPadding}}else ve.overlapTrigger||($t="top"===wt?"bottom":"top",ct="top"===Yt?"bottom":"top");N.withPositions([{originX:re,originY:$t,overlayX:Gt,overlayY:wt,offsetY:Ae},{originX:We,originY:$t,overlayX:te,overlayY:wt,offsetY:Ae},{originX:re,originY:ct,overlayX:Gt,overlayY:Yt,offsetY:-Ae},{originX:We,originY:ct,overlayX:te,overlayY:Yt,offsetY:-Ae}])}_menuClosingActions(){const ve=this._overlayRef.backdropClick(),N=this._overlayRef.detachments(),re=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,q.of)(),We=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,He.h)(wt=>wt!==this._menuItemInstance),(0,He.h)(()=>this._menuOpen)):(0,q.of)();return(0,O.T)(ve,re,We,N)}_handleMousedown(ve){(0,s.X6)(ve)||(this._openedBy=0===ve.button?"mouse":void 0,this.triggersSubmenu()&&ve.preventDefault())}_handleKeydown(ve){const N=ve.keyCode;(N===l.K5||N===l.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(N===l.SV&&"ltr"===this.dir||N===l.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(ve){this.triggersSubmenu()?(ve.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,He.h)(ve=>ve===this._menuItemInstance&&!ve.disabled),(0,Qe.g)(0,Ee.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Fe&&this.menu._isAnimating?this.menu._animationDone.pipe((0,he.q)(1),(0,Qe.g)(0,Ee.E),(0,Le.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(ve){return(!this._portal||this._portal.templateRef!==ve.templateRef)&&(this._portal=new ze.UE(ve.templateRef,this._viewContainerRef)),this._portal}}return dt.\u0275fac=function(ve){return new(ve||dt)(e.Y36(_e.aV),e.Y36(e.SBq),e.Y36(e.s_b),e.Y36(it),e.Y36(kt,8),e.Y36(Wt,10),e.Y36(Pe.Is,8),e.Y36(s.tE),e.Y36(e.R0b))},dt.\u0275dir=e.lG2({type:dt,hostVars:3,hostBindings:function(ve,N){1&ve&&e.NdJ("click",function(We){return N._handleClick(We)})("mousedown",function(We){return N._handleMousedown(We)})("keydown",function(We){return N._handleKeydown(We)}),2&ve&&e.uIk("aria-haspopup",N.menu?"menu":null)("aria-expanded",N.menuOpen)("aria-controls",N.menuOpen?N.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),dt})(),li=(()=>{class dt extends Pt{}return dt.\u0275fac=function(){let yt;return function(N){return(yt||(yt=e.n5z(dt)))(N||dt)}}(),dt.\u0275dir=e.lG2({type:dt,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[e.qOj]}),dt})(),oi=(()=>{class dt{}return dt.\u0275fac=function(ve){return new(ve||dt)},dt.\u0275mod=e.oAB({type:dt}),dt.\u0275inj=e.cJS({providers:[lt],imports:[Re.ez,pt.si,pt.BQ,_e.U8,le.ZD,pt.BQ]}),dt})()},8739:(ri,mt,p)=>{p.d(mt,{NW:()=>je,TU:()=>Ke,ye:()=>pt});var e=p(6895),s=p(4650),T=p(7579),l=p(4859),b=p(4385),O=p(266),X=p(3238),q=p(1281),Ee=p(9549);function de(Ge,vt){if(1&Ge&&(s.TgZ(0,"mat-option",19),s._uU(1),s.qZA()),2&Ge){const xe=vt.$implicit;s.Q6J("value",xe),s.xp6(1),s.hij(" ",xe," ")}}function Be(Ge,vt){if(1&Ge){const xe=s.EpF();s.TgZ(0,"mat-form-field",16)(1,"mat-select",17),s.NdJ("selectionChange",function(rt){s.CHM(xe);const Wt=s.oxw(2);return s.KtG(Wt._changePageSize(rt.value))}),s.YNc(2,de,2,2,"mat-option",18),s.qZA()()}if(2&Ge){const xe=s.oxw(2);s.Q6J("appearance",xe._formFieldAppearance)("color",xe.color),s.xp6(1),s.Q6J("value",xe.pageSize)("disabled",xe.disabled)("aria-labelledby",xe._pageSizeLabelId)("panelClass",xe.selectConfig.panelClass||"")("disableOptionCentering",xe.selectConfig.disableOptionCentering),s.xp6(1),s.Q6J("ngForOf",xe._displayedPageSizeOptions)}}function he(Ge,vt){if(1&Ge&&(s.TgZ(0,"div",20),s._uU(1),s.qZA()),2&Ge){const xe=s.oxw(2);s.xp6(1),s.Oqu(xe.pageSize)}}function Le(Ge,vt){if(1&Ge&&(s.TgZ(0,"div",12)(1,"div",13),s._uU(2),s.qZA(),s.YNc(3,Be,3,8,"mat-form-field",14),s.YNc(4,he,2,1,"div",15),s.qZA()),2&Ge){const xe=s.oxw();s.xp6(1),s.s9C("id",xe._pageSizeLabelId),s.xp6(1),s.hij(" ",xe._intl.itemsPerPageLabel," "),s.xp6(1),s.Q6J("ngIf",xe._displayedPageSizeOptions.length>1),s.xp6(1),s.Q6J("ngIf",xe._displayedPageSizeOptions.length<=1)}}function He(Ge,vt){if(1&Ge){const xe=s.EpF();s.TgZ(0,"button",21),s.NdJ("click",function(){s.CHM(xe);const rt=s.oxw();return s.KtG(rt.firstPage())}),s.O4$(),s.TgZ(1,"svg",7),s._UZ(2,"path",22),s.qZA()()}if(2&Ge){const xe=s.oxw();s.Q6J("matTooltip",xe._intl.firstPageLabel)("matTooltipDisabled",xe._previousButtonsDisabled())("matTooltipPosition","above")("disabled",xe._previousButtonsDisabled()),s.uIk("aria-label",xe._intl.firstPageLabel)}}function Qe(Ge,vt){if(1&Ge){const xe=s.EpF();s.O4$(),s.kcU(),s.TgZ(0,"button",23),s.NdJ("click",function(){s.CHM(xe);const rt=s.oxw();return s.KtG(rt.lastPage())}),s.O4$(),s.TgZ(1,"svg",7),s._UZ(2,"path",24),s.qZA()()}if(2&Ge){const xe=s.oxw();s.Q6J("matTooltip",xe._intl.lastPageLabel)("matTooltipDisabled",xe._nextButtonsDisabled())("matTooltipPosition","above")("disabled",xe._nextButtonsDisabled()),s.uIk("aria-label",xe._intl.lastPageLabel)}}let pt=(()=>{class Ge{constructor(){this.changes=new T.x,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(xe,kt,rt)=>{if(0==rt||0==kt)return`0 of ${rt}`;const Wt=xe*kt;return`${Wt+1} \u2013 ${Wt<(rt=Math.max(rt,0))?Math.min(Wt+kt,rt):Wt+kt} of ${rt}`}}}return Ge.\u0275fac=function(xe){return new(xe||Ge)},Ge.\u0275prov=s.Yz7({token:Ge,factory:Ge.\u0275fac,providedIn:"root"}),Ge})();const ze={provide:pt,deps:[[new s.FiY,new s.tp0,pt]],useFactory:function Re(Ge){return Ge||new pt}},_e=new s.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS"),ge=(0,X.Id)((0,X.dB)(class{}));let le=(()=>{class Ge extends ge{get pageIndex(){return this._pageIndex}set pageIndex(xe){this._pageIndex=Math.max((0,q.su)(xe),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(xe){this._length=(0,q.su)(xe),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(xe){this._pageSize=Math.max((0,q.su)(xe),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(xe){this._pageSizeOptions=(xe||[]).map(kt=>(0,q.su)(kt)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(xe){this._hidePageSize=(0,q.Ig)(xe)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(xe){this._showFirstLastButtons=(0,q.Ig)(xe)}constructor(xe,kt,rt){if(super(),this._intl=xe,this._changeDetectorRef=kt,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.selectConfig={},this.page=new s.vpe,this._intlChanges=xe.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),rt){const{pageSize:Wt,pageSizeOptions:yi,hidePageSize:gi,showFirstLastButtons:jt}=rt;null!=Wt&&(this._pageSize=Wt),null!=yi&&(this._pageSizeOptions=yi),null!=gi&&(this._hidePageSize=gi),null!=jt&&(this._showFirstLastButtons=jt)}}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const xe=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(xe)}previousPage(){if(!this.hasPreviousPage())return;const xe=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(xe)}firstPage(){if(!this.hasPreviousPage())return;const xe=this.pageIndex;this.pageIndex=0,this._emitPageEvent(xe)}lastPage(){if(!this.hasNextPage())return;const xe=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(xe)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const xe=this.getNumberOfPages()-1;return this.pageIndex<xe&&0!=this.pageSize}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(xe){const rt=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/xe)||0,this.pageSize=xe,this._emitPageEvent(rt)}_nextButtonsDisabled(){return this.disabled||!this.hasNextPage()}_previousButtonsDisabled(){return this.disabled||!this.hasPreviousPage()}_updateDisplayedPageSizeOptions(){this._initialized&&(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort((xe,kt)=>xe-kt),this._changeDetectorRef.markForCheck())}_emitPageEvent(xe){this.page.emit({previousPageIndex:xe,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return Ge.\u0275fac=function(xe){s.$Z()},Ge.\u0275dir=s.lG2({type:Ge,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},features:[s.qOj]}),Ge})(),Se=0,je=(()=>{class Ge extends le{constructor(xe,kt,rt){super(xe,kt,rt),this._pageSizeLabelId="mat-paginator-page-size-label-"+Se++,this._formFieldAppearance=rt?.formFieldAppearance||"outline"}}return Ge.\u0275fac=function(xe){return new(xe||Ge)(s.Y36(pt),s.Y36(s.sBO),s.Y36(_e,8))},Ge.\u0275cmp=s.Xpm({type:Ge,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[s.qOj],decls:14,vars:14,consts:[[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],["class","mat-mdc-paginator-page-size",4,"ngIf"],[1,"mat-mdc-paginator-range-actions"],["aria-live","polite",1,"mat-mdc-paginator-range-label"],["mat-icon-button","","type","button","class","mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-mdc-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-page-size-label",3,"id"],["class","mat-mdc-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-mdc-paginator-page-size-value",4,"ngIf"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],["hideSingleSelectionIndicator","",3,"value","disabled","aria-labelledby","panelClass","disableOptionCentering","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-mdc-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(xe,kt){1&xe&&(s.TgZ(0,"div",0)(1,"div",1),s.YNc(2,Le,5,4,"div",2),s.TgZ(3,"div",3)(4,"div",4),s._uU(5),s.qZA(),s.YNc(6,He,3,5,"button",5),s.TgZ(7,"button",6),s.NdJ("click",function(){return kt.previousPage()}),s.O4$(),s.TgZ(8,"svg",7),s._UZ(9,"path",8),s.qZA()(),s.kcU(),s.TgZ(10,"button",9),s.NdJ("click",function(){return kt.nextPage()}),s.O4$(),s.TgZ(11,"svg",7),s._UZ(12,"path",10),s.qZA()(),s.YNc(13,Qe,3,5,"button",11),s.qZA()()()),2&xe&&(s.xp6(2),s.Q6J("ngIf",!kt.hidePageSize),s.xp6(3),s.hij(" ",kt._intl.getRangeLabel(kt.pageIndex,kt.pageSize,kt.length)," "),s.xp6(1),s.Q6J("ngIf",kt.showFirstLastButtons),s.xp6(1),s.Q6J("matTooltip",kt._intl.previousPageLabel)("matTooltipDisabled",kt._previousButtonsDisabled())("matTooltipPosition","above")("disabled",kt._previousButtonsDisabled()),s.uIk("aria-label",kt._intl.previousPageLabel),s.xp6(3),s.Q6J("matTooltip",kt._intl.nextPageLabel)("matTooltipDisabled",kt._nextButtonsDisabled())("matTooltipPosition","above")("disabled",kt._nextButtonsDisabled()),s.uIk("aria-label",kt._intl.nextPageLabel),s.xp6(3),s.Q6J("ngIf",kt.showFirstLastButtons))},dependencies:[e.sg,e.O5,l.RK,Ee.KE,b.gD,X.ey,O.gM],styles:[".mat-mdc-paginator{display:block}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:84px}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon,.cdk-high-contrast-active .mat-mdc-paginator-icon{fill:currentColor;fill:CanvasText}.cdk-high-contrast-active .mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0}),Ge})(),Ke=(()=>{class Ge{}return Ge.\u0275fac=function(xe){return new(xe||Ge)},Ge.\u0275mod=s.oAB({type:Ge}),Ge.\u0275inj=s.cJS({providers:[ze],imports:[e.ez,l.ot,b.LD,O.AV]}),Ge})()},3162:(ri,mt,p)=>{p.d(mt,{Cv:()=>Be,pW:()=>Ee});var e=p(4650),T=(p(6895),p(3238)),l=p(1281);const b=new e.OlP("MAT_PROGRESS_BAR_DEFAULT_OPTIONS"),q=(0,T.pj)(class{constructor(he){this._elementRef=he}},"primary");let Ee=(()=>{class he extends q{constructor(He,Qe,pt,Re,ze){super(He),this._ngZone=Qe,this._changeDetectorRef=pt,this._animationMode=Re,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new e.vpe,this._mode="determinate",this._transitionendHandler=Me=>{0===this.animationEnd.observers.length||!Me.target||!Me.target.classList.contains("mdc-linear-progress__primary-bar")||("determinate"===this.mode||"buffer"===this.mode)&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))},this._isNoopAnimation="NoopAnimations"===Re,ze&&(ze.color&&(this.color=this.defaultColor=ze.color),this.mode=ze.mode||this.mode)}get value(){return this._value}set value(He){this._value=de((0,l.su)(He)),this._changeDetectorRef.markForCheck()}get bufferValue(){return this._bufferValue||0}set bufferValue(He){this._bufferValue=de((0,l.su)(He)),this._changeDetectorRef.markForCheck()}get mode(){return this._mode}set mode(He){this._mode=He,this._changeDetectorRef.markForCheck()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._transitionendHandler)})}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._transitionendHandler)}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`}_getBufferBarFlexBasis(){return`${"buffer"===this.mode?this.bufferValue:100}%`}_isIndeterminate(){return"indeterminate"===this.mode||"query"===this.mode}}return he.\u0275fac=function(He){return new(He||he)(e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(e.QbO,8),e.Y36(b,8))},he.\u0275cmp=e.Xpm({type:he,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:8,hostBindings:function(He,Qe){2&He&&(e.uIk("aria-valuenow",Qe._isIndeterminate()?null:Qe.value)("mode",Qe.mode),e.ekj("_mat-animation-noopable",Qe._isNoopAnimation)("mdc-linear-progress--animation-ready",!Qe._isNoopAnimation)("mdc-linear-progress--indeterminate",Qe._isIndeterminate()))},inputs:{color:"color",value:"value",bufferValue:"bufferValue",mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[e.qOj],decls:7,vars:4,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(He,Qe){1&He&&(e.TgZ(0,"div",0),e._UZ(1,"div",1)(2,"div",2),e.qZA(),e.TgZ(3,"div",3),e._UZ(4,"span",4),e.qZA(),e.TgZ(5,"div",5),e._UZ(6,"span",4),e.qZA()),2&He&&(e.xp6(1),e.Udp("flex-basis",Qe._getBufferBarFlexBasis()),e.xp6(2),e.Udp("transform",Qe._getPrimaryBarTransform()))},styles:["@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half, 83.67142%))}100%{transform:translateX(var(--mdc-linear-progress-primary-full, 200.611057%))}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter, 37.651913%))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half, 84.386165%))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full, 160.277782%))}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(-10px)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half-neg, -83.67142%))}100%{transform:translateX(var(--mdc-linear-progress-primary-full-neg, -200.611057%))}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter-neg, -37.651913%))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half-neg, -84.386165%))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full-neg, -160.277782%))}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}@media screen and (forced-colors: active){.mdc-linear-progress{outline-color:CanvasText}}.mdc-linear-progress__bar{position:absolute;width:100%;height:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid}.mdc-linear-progress__buffer{display:flex;position:absolute;width:100%;height:100%}.mdc-linear-progress__buffer-dots{background-repeat:repeat-x;flex:auto;transform:rotate(180deg);animation:mdc-linear-progress-buffering 250ms infinite linear}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__bar{right:0;-webkit-transform-origin:center right;transform-origin:center right}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__buffer-dots,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}.mdc-linear-progress--closed{opacity:0}.mdc-linear-progress--closed-animation-off .mdc-linear-progress__buffer-dots{animation:none}.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar,.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar .mdc-linear-progress__bar-inner{animation:none}.mdc-linear-progress__bar-inner{border-color:var(--mdc-linear-progress-active-indicator-color, #6200ee)}.mdc-linear-progress__buffer-dots{background-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23e6e6e6'/%3E%3C/svg%3E\")}.mdc-linear-progress__buffer-bar{background-color:#e6e6e6}.mdc-linear-progress{height:var(--mdc-linear-progress-track-height, 4px)}.mdc-linear-progress__bar-inner{border-top-width:var(--mdc-linear-progress-track-height, 4px)}.mdc-linear-progress__buffer-dots{background-size:10px var(--mdc-linear-progress-track-height, 4px)}.mat-mdc-progress-bar{display:block}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}"],encapsulation:2,changeDetection:0}),he})();function de(he,Le=0,He=100){return Math.max(Le,Math.min(He,he))}let Be=(()=>{class he{}return he.\u0275fac=function(He){return new(He||he)},he.\u0275mod=e.oAB({type:he}),he.\u0275inj=e.cJS({imports:[T.BQ]}),he})()},1572:(ri,mt,p)=>{p.d(mt,{Cq:()=>He,Ou:()=>he});var e=p(4650),s=p(3238),T=p(1281),l=p(6895);const b=["determinateSpinner"];function O(Qe,pt){if(1&Qe&&(e.O4$(),e.TgZ(0,"svg",11),e._UZ(1,"circle",12),e.qZA()),2&Qe){const Re=e.oxw();e.uIk("viewBox",Re._viewBox()),e.xp6(1),e.Udp("stroke-dasharray",Re._strokeCircumference(),"px")("stroke-dashoffset",Re._strokeCircumference()/2,"px")("stroke-width",Re._circleStrokeWidth(),"%"),e.uIk("r",Re._circleRadius())}}const X=(0,s.pj)(class{constructor(Qe){this._elementRef=Qe}},"primary"),q=new e.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function Ee(){return{diameter:de}}}),de=100;let he=(()=>{class Qe extends X{constructor(Re,ze,Me){super(Re),this.mode="mat-spinner"===this._elementRef.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate",this._value=0,this._diameter=de,this._noopAnimations="NoopAnimations"===ze&&!!Me&&!Me._forceAnimations,Me&&(Me.color&&(this.color=this.defaultColor=Me.color),Me.diameter&&(this.diameter=Me.diameter),Me.strokeWidth&&(this.strokeWidth=Me.strokeWidth))}get value(){return"determinate"===this.mode?this._value:0}set value(Re){this._value=Math.max(0,Math.min(100,(0,T.su)(Re)))}get diameter(){return this._diameter}set diameter(Re){this._diameter=(0,T.su)(Re)}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(Re){this._strokeWidth=(0,T.su)(Re)}_circleRadius(){return(this.diameter-10)/2}_viewBox(){const Re=2*this._circleRadius()+this.strokeWidth;return`0 0 ${Re} ${Re}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}}return Qe.\u0275fac=function(Re){return new(Re||Qe)(e.Y36(e.SBq),e.Y36(e.QbO,8),e.Y36(q))},Qe.\u0275cmp=e.Xpm({type:Qe,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(Re,ze){if(1&Re&&e.Gf(b,5),2&Re){let Me;e.iGM(Me=e.CRH())&&(ze._determinateCircle=Me.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:12,hostBindings:function(Re,ze){2&Re&&(e.uIk("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===ze.mode?ze.value:null)("mode",ze.mode),e.Udp("width",ze.diameter,"px")("height",ze.diameter,"px"),e.ekj("_mat-animation-noopable",ze._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===ze.mode))},inputs:{color:"color",mode:"mode",value:"value",diameter:"diameter",strokeWidth:"strokeWidth"},exportAs:["matProgressSpinner"],features:[e.qOj],decls:14,vars:11,consts:[["circle",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["determinateSpinner",""],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(Re,ze){if(1&Re&&(e.YNc(0,O,2,8,"ng-template",null,0,e.W1O),e.TgZ(2,"div",1,2),e.O4$(),e.TgZ(4,"svg",3),e._UZ(5,"circle",4),e.qZA()(),e.kcU(),e.TgZ(6,"div",5)(7,"div",6)(8,"div",7),e.GkF(9,8),e.qZA(),e.TgZ(10,"div",9),e.GkF(11,8),e.qZA(),e.TgZ(12,"div",10),e.GkF(13,8),e.qZA()()()),2&Re){const Me=e.MAs(1);e.xp6(4),e.uIk("viewBox",ze._viewBox()),e.xp6(1),e.Udp("stroke-dasharray",ze._strokeCircumference(),"px")("stroke-dashoffset",ze._strokeDashOffset(),"px")("stroke-width",ze._circleStrokeWidth(),"%"),e.uIk("r",ze._circleRadius()),e.xp6(4),e.Q6J("ngTemplateOutlet",Me),e.xp6(2),e.Q6J("ngTemplateOutlet",Me),e.xp6(2),e.Q6J("ngTemplateOutlet",Me)}},dependencies:[l.tP],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color, transparent)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}"],encapsulation:2,changeDetection:0}),Qe})(),He=(()=>{class Qe{}return Qe.\u0275fac=function(Re){return new(Re||Qe)},Qe.\u0275mod=e.oAB({type:Qe}),Qe.\u0275inj=e.cJS({imports:[l.ez,s.BQ]}),Qe})()},4385:(ri,mt,p)=>{p.d(mt,{LD:()=>Nt,gD:()=>it});var e=p(8184),s=p(6895),T=p(4650),l=p(3238),b=p(9549),O=p(7376),X=p(2687),q=p(445),Ee=p(1281),de=p(5017),Be=p(9521),he=p(4006),Le=p(7579),He=p(9770),Qe=p(6451),pt=p(8675),Re=p(3900),ze=p(5698),Me=p(9300),Pe=p(4004),_e=p(1884),ge=p(2722),le=p(7340);const Se=["trigger"],je=["panel"];function Ke(lt,zt){if(1&lt&&(T.TgZ(0,"span",10),T._uU(1),T.qZA()),2&lt){const ft=T.oxw();T.xp6(1),T.Oqu(ft.placeholder)}}function Ge(lt,zt){if(1&lt&&(T.TgZ(0,"span",14),T._uU(1),T.qZA()),2&lt){const ft=T.oxw(2);T.xp6(1),T.Oqu(ft.triggerValue)}}function vt(lt,zt){1&lt&&T.Hsn(0,0,["*ngSwitchCase","true"])}function xe(lt,zt){if(1&lt&&(T.TgZ(0,"span",11),T.YNc(1,Ge,2,1,"span",12),T.YNc(2,vt,1,0,"ng-content",13),T.qZA()),2&lt){const ft=T.oxw();T.Q6J("ngSwitch",!!ft.customTrigger),T.xp6(2),T.Q6J("ngSwitchCase",!0)}}function kt(lt,zt){if(1&lt){const ft=T.EpF();T.O4$(),T.kcU(),T.TgZ(0,"div",15,16),T.NdJ("@transformPanel.done",function(li){T.CHM(ft);const oi=T.oxw();return T.KtG(oi._panelDoneAnimatingStream.next(li.toState))})("keydown",function(li){T.CHM(ft);const oi=T.oxw();return T.KtG(oi._handleKeydown(li))}),T.Hsn(2,1),T.qZA()}if(2&lt){const ft=T.oxw();T.Gre("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",ft._getPanelTheme(),""),T.Q6J("ngClass",ft.panelClass)("@transformPanel","showing"),T.uIk("id",ft.id+"-panel")("aria-multiselectable",ft.multiple)("aria-label",ft.ariaLabel||null)("aria-labelledby",ft._getPanelAriaLabelledby())}}const rt=[[["mat-select-trigger"]],"*"],Wt=["mat-select-trigger","*"],yi={transformPanelWrap:(0,le.X$)("transformPanelWrap",[(0,le.eR)("* => void",(0,le.IO)("@transformPanel",[(0,le.pV)()],{optional:!0}))]),transformPanel:(0,le.X$)("transformPanel",[(0,le.SB)("void",(0,le.oB)({opacity:0,transform:"scale(1, 0.8)"})),(0,le.eR)("void => showing",(0,le.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,le.oB)({opacity:1,transform:"scale(1, 1)"}))),(0,le.eR)("* => void",(0,le.jt)("100ms linear",(0,le.oB)({opacity:0})))])};let ot=0;const W=new T.OlP("mat-select-scroll-strategy"),H=new T.OlP("MAT_SELECT_CONFIG"),C={provide:W,deps:[e.aV],useFactory:function j(lt){return()=>lt.scrollStrategies.reposition()}},Y=new T.OlP("MatSelectTrigger");class ${constructor(zt,ft){this.source=zt,this.value=ft}}const we=(0,l.Kr)((0,l.sb)((0,l.Id)((0,l.FD)(class{constructor(lt,zt,ft,Pt,li){this._elementRef=lt,this._defaultErrorStateMatcher=zt,this._parentForm=ft,this._parentFormGroup=Pt,this.ngControl=li,this.stateChanges=new Le.x}}))));let Fe=(()=>{class lt extends we{get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(ft){this._placeholder=ft,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(he.kI.required)??!1}set required(ft){this._required=(0,Ee.Ig)(ft),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(ft){this._multiple=(0,Ee.Ig)(ft)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(ft){this._disableOptionCentering=(0,Ee.Ig)(ft)}get compareWith(){return this._compareWith}set compareWith(ft){this._compareWith=ft,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(ft){this._assignValue(ft)&&this._onChange(ft)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(ft){this._typeaheadDebounceInterval=(0,Ee.su)(ft)}get id(){return this._id}set id(ft){this._id=ft||this._uid,this.stateChanges.next()}constructor(ft,Pt,li,oi,dt,yt,ve,N,re,We,wt,Yt,$t,ct){super(dt,oi,ve,N,We),this._viewportRuler=ft,this._changeDetectorRef=Pt,this._ngZone=li,this._dir=yt,this._parentFormField=re,this._liveAnnouncer=$t,this._defaultOptions=ct,this._panelOpen=!1,this._compareWith=(Gt,te)=>Gt===te,this._uid="mat-select-"+ot++,this._triggerAriaLabelledBy=null,this._destroy=new Le.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+ot++,this._panelDoneAnimatingStream=new Le.x,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.optionSelectionChanges=(0,He.P)(()=>{const Gt=this.options;return Gt?Gt.changes.pipe((0,pt.O)(Gt),(0,Re.w)(()=>(0,Qe.T)(...Gt.map(te=>te.onSelectionChange)))):this._ngZone.onStable.pipe((0,ze.q)(1),(0,Re.w)(()=>this.optionSelectionChanges))}),this.openedChange=new T.vpe,this._openedStream=this.openedChange.pipe((0,Me.h)(Gt=>Gt),(0,Pe.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,Me.h)(Gt=>!Gt),(0,Pe.U)(()=>{})),this.selectionChange=new T.vpe,this.valueChange=new T.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=ct?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=ct.typeaheadDebounceInterval),this._scrollStrategyFactory=Yt,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(wt)||0,this.id=this.id}ngOnInit(){this._selectionModel=new de.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,_e.x)(),(0,ge.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,ge.R)(this._destroy)).subscribe(ft=>{ft.added.forEach(Pt=>Pt.select()),ft.removed.forEach(Pt=>Pt.deselect())}),this.options.changes.pipe((0,pt.O)(null),(0,ge.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const ft=this._getTriggerAriaLabelledby(),Pt=this.ngControl;if(ft!==this._triggerAriaLabelledBy){const li=this._elementRef.nativeElement;this._triggerAriaLabelledBy=ft,ft?li.setAttribute("aria-labelledby",ft):li.removeAttribute("aria-labelledby")}Pt&&(this._previousControl!==Pt.control&&(void 0!==this._previousControl&&null!==Pt.disabled&&Pt.disabled!==this.disabled&&(this.disabled=Pt.disabled),this._previousControl=Pt.control),this.updateErrorState())}ngOnChanges(ft){(ft.disabled||ft.userAriaDescribedBy)&&this.stateChanges.next(),ft.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(ft){this._assignValue(ft)}registerOnChange(ft){this._onChange=ft}registerOnTouched(ft){this._onTouched=ft}setDisabledState(ft){this.disabled=ft,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const ft=this._selectionModel.selected.map(Pt=>Pt.viewValue);return this._isRtl()&&ft.reverse(),ft.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(ft){this.disabled||(this.panelOpen?this._handleOpenKeydown(ft):this._handleClosedKeydown(ft))}_handleClosedKeydown(ft){const Pt=ft.keyCode,li=Pt===Be.JH||Pt===Be.LH||Pt===Be.oh||Pt===Be.SV,oi=Pt===Be.K5||Pt===Be.L_,dt=this._keyManager;if(!dt.isTyping()&&oi&&!(0,Be.Vb)(ft)||(this.multiple||ft.altKey)&&li)ft.preventDefault(),this.open();else if(!this.multiple){const yt=this.selected;dt.onKeydown(ft);const ve=this.selected;ve&&yt!==ve&&this._liveAnnouncer.announce(ve.viewValue,1e4)}}_handleOpenKeydown(ft){const Pt=this._keyManager,li=ft.keyCode,oi=li===Be.JH||li===Be.LH,dt=Pt.isTyping();if(oi&&ft.altKey)ft.preventDefault(),this.close();else if(dt||li!==Be.K5&&li!==Be.L_||!Pt.activeItem||(0,Be.Vb)(ft))if(!dt&&this._multiple&&li===Be.A&&ft.ctrlKey){ft.preventDefault();const yt=this.options.some(ve=>!ve.disabled&&!ve.selected);this.options.forEach(ve=>{ve.disabled||(yt?ve.select():ve.deselect())})}else{const yt=Pt.activeItemIndex;Pt.onKeydown(ft),this._multiple&&oi&&ft.shiftKey&&Pt.activeItem&&Pt.activeItemIndex!==yt&&Pt.activeItem._selectViaInteraction()}else ft.preventDefault(),Pt.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,ze.q)(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(ft){if(this.options.forEach(Pt=>Pt.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&ft)Array.isArray(ft),ft.forEach(Pt=>this._selectOptionByValue(Pt)),this._sortValues();else{const Pt=this._selectOptionByValue(ft);Pt?this._keyManager.updateActiveItem(Pt):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(ft){const Pt=this.options.find(li=>{if(this._selectionModel.isSelected(li))return!1;try{return null!=li.value&&this._compareWith(li.value,ft)}catch{return!1}});return Pt&&this._selectionModel.select(Pt),Pt}_assignValue(ft){return!!(ft!==this._value||this._multiple&&Array.isArray(ft))&&(this.options&&this._setSelectionByValue(ft),this._value=ft,!0)}_initKeyManager(){this._keyManager=new X.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const ft=(0,Qe.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,ge.R)(ft)).subscribe(Pt=>{this._onSelect(Pt.source,Pt.isUserInput),Pt.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,Qe.T)(...this.options.map(Pt=>Pt._stateChanges)).pipe((0,ge.R)(ft)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(ft,Pt){const li=this._selectionModel.isSelected(ft);null!=ft.value||this._multiple?(li!==ft.selected&&(ft.selected?this._selectionModel.select(ft):this._selectionModel.deselect(ft)),Pt&&this._keyManager.setActiveItem(ft),this.multiple&&(this._sortValues(),Pt&&this.focus())):(ft.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(ft.value)),li!==this._selectionModel.isSelected(ft)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const ft=this.options.toArray();this._selectionModel.sort((Pt,li)=>this.sortComparator?this.sortComparator(Pt,li,ft):ft.indexOf(Pt)-ft.indexOf(li)),this.stateChanges.next()}}_propagateChanges(ft){let Pt=null;Pt=this.multiple?this.selected.map(li=>li.value):this.selected?this.selected.value:ft,this._value=Pt,this.valueChange.emit(Pt),this._onChange(Pt),this.selectionChange.emit(this._getChangeEvent(Pt)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0}focus(ft){this._elementRef.nativeElement.focus(ft)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const ft=this._parentFormField?.getLabelId();return this.ariaLabelledby?(ft?ft+" ":"")+this.ariaLabelledby:ft}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const ft=this._parentFormField?.getLabelId();let Pt=(ft?ft+" ":"")+this._valueId;return this.ariaLabelledby&&(Pt+=" "+this.ariaLabelledby),Pt}_panelDoneAnimating(ft){this.openedChange.emit(ft)}setDescribedByIds(ft){ft.length?this._elementRef.nativeElement.setAttribute("aria-describedby",ft.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return lt.\u0275fac=function(ft){return new(ft||lt)(T.Y36(O.rL),T.Y36(T.sBO),T.Y36(T.R0b),T.Y36(l.rD),T.Y36(T.SBq),T.Y36(q.Is,8),T.Y36(he.F,8),T.Y36(he.sg,8),T.Y36(b.G_,8),T.Y36(he.a5,10),T.$8M("tabindex"),T.Y36(W),T.Y36(X.Kd),T.Y36(H,8))},lt.\u0275dir=T.lG2({type:lt,viewQuery:function(ft,Pt){if(1&ft&&(T.Gf(Se,5),T.Gf(je,5),T.Gf(e.pI,5)),2&ft){let li;T.iGM(li=T.CRH())&&(Pt.trigger=li.first),T.iGM(li=T.CRH())&&(Pt.panel=li.first),T.iGM(li=T.CRH())&&(Pt._overlayDir=li.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[T.qOj,T.TTD]}),lt})(),it=(()=>{class lt extends Fe{constructor(){super(...arguments),this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,ge.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(),this._changeDetectorRef.detectChanges())})}ngAfterViewInit(){this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin())}open(){this._overlayWidth=this._getOverlayWidth(),super.open(),this.stateChanges.next()}close(){super.close(),this.stateChanges.next()}_scrollOptionIntoView(ft){const Pt=this.options.toArray()[ft];if(Pt){const li=this.panel.nativeElement,oi=(0,l.CB)(ft,this.options,this.optionGroups),dt=Pt._getHostElement();li.scrollTop=0===ft&&1===oi?0:(0,l.jH)(dt.offsetTop,dt.offsetHeight,li.scrollTop,li.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(ft){return new $(this,ft)}_getOverlayWidth(){return(this._preferredOverlayOrigin instanceof e.xu?this._preferredOverlayOrigin.elementRef:this._preferredOverlayOrigin||this._elementRef).nativeElement.getBoundingClientRect().width}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(ft){this._hideSingleSelectionIndicator=(0,Ee.Ig)(ft),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const ft of this.options)ft._changeDetectorRef.markForCheck()}}return lt.\u0275fac=function(){let zt;return function(Pt){return(zt||(zt=T.n5z(lt)))(Pt||lt)}}(),lt.\u0275cmp=T.Xpm({type:lt,selectors:[["mat-select"]],contentQueries:function(ft,Pt,li){if(1&ft&&(T.Suo(li,Y,5),T.Suo(li,l.ey,5),T.Suo(li,l.K7,5)),2&ft){let oi;T.iGM(oi=T.CRH())&&(Pt.customTrigger=oi.first),T.iGM(oi=T.CRH())&&(Pt.options=oi),T.iGM(oi=T.CRH())&&(Pt.optionGroups=oi)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(ft,Pt){1&ft&&T.NdJ("keydown",function(oi){return Pt._handleKeydown(oi)})("focus",function(){return Pt._onFocus()})("blur",function(){return Pt._onBlur()}),2&ft&&(T.uIk("id",Pt.id)("tabindex",Pt.tabIndex)("aria-controls",Pt.panelOpen?Pt.id+"-panel":null)("aria-expanded",Pt.panelOpen)("aria-label",Pt.ariaLabel||null)("aria-required",Pt.required.toString())("aria-disabled",Pt.disabled.toString())("aria-invalid",Pt.errorState)("aria-activedescendant",Pt._getAriaActiveDescendant()),T.ekj("mat-mdc-select-disabled",Pt.disabled)("mat-mdc-select-invalid",Pt.errorState)("mat-mdc-select-required",Pt.required)("mat-mdc-select-empty",Pt.empty)("mat-mdc-select-multiple",Pt.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matSelect"],features:[T._Bn([{provide:b.Eo,useExisting:lt},{provide:l.HF,useExisting:lt}]),T.qOj],ngContentSelectors:Wt,decls:11,vars:11,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value",3,"ngSwitch"],["class","mat-mdc-select-placeholder mat-mdc-select-min-line",4,"ngSwitchCase"],["class","mat-mdc-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","backdropClick","attach","detach"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text",3,"ngSwitch"],["class","mat-mdc-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(ft,Pt){if(1&ft&&(T.F$t(rt),T.TgZ(0,"div",0,1),T.NdJ("click",function(){return Pt.toggle()}),T.TgZ(3,"div",2),T.YNc(4,Ke,2,1,"span",3),T.YNc(5,xe,3,2,"span",4),T.qZA(),T.TgZ(6,"div",5)(7,"div",6),T.O4$(),T.TgZ(8,"svg",7),T._UZ(9,"path",8),T.qZA()()()(),T.YNc(10,kt,3,9,"ng-template",9),T.NdJ("backdropClick",function(){return Pt.close()})("attach",function(){return Pt._onAttached()})("detach",function(){return Pt.close()})),2&ft){const li=T.MAs(1);T.uIk("aria-owns",Pt.panelOpen?Pt.id+"-panel":null),T.xp6(3),T.Q6J("ngSwitch",Pt.empty),T.uIk("id",Pt._valueId),T.xp6(1),T.Q6J("ngSwitchCase",!0),T.xp6(1),T.Q6J("ngSwitchCase",!1),T.xp6(5),T.Q6J("cdkConnectedOverlayPanelClass",Pt._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",Pt._scrollStrategy)("cdkConnectedOverlayOrigin",Pt._preferredOverlayOrigin||li)("cdkConnectedOverlayOpen",Pt.panelOpen)("cdkConnectedOverlayPositions",Pt._positions)("cdkConnectedOverlayWidth",Pt._overlayWidth)}},dependencies:[s.mk,s.RF,s.n9,s.ED,e.pI,e.xu],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mat-mdc-select{display:inline-block;width:100%;outline:none}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:translateY(-8px)}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-select-arrow{width:10px;height:5px;position:relative}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}.mdc-menu-surface.mat-mdc-select-panel{width:100%;max-height:275px;position:static;outline:0;margin:0;padding:8px 0;list-style-type:none}.mdc-menu-surface.mat-mdc-select-panel:focus{outline:none}.cdk-high-contrast-active .mdc-menu-surface.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) .mdc-menu-surface.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above .mdc-menu-surface.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[yi.transformPanel]},changeDetection:0}),lt})(),Nt=(()=>{class lt{}return lt.\u0275fac=function(ft){return new(ft||lt)},lt.\u0275mod=T.oAB({type:lt}),lt.\u0275inj=T.cJS({providers:[C],imports:[s.ez,e.U8,l.Ng,l.BQ,O.ZD,b.lN,l.Ng,l.BQ]}),lt})()},455:(ri,mt,p)=>{p.d(mt,{Rr:()=>Qe,rP:()=>Me});var e=p(4650),s=p(4006),T=p(2687),l=p(3238),b=p(1281),O=p(6895);const X=["switch"],q=["*"],Ee=new e.OlP("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})}),de={provide:s.JU,useExisting:(0,e.Gpc)(()=>Qe),multi:!0};class Be{constructor(_e,ge){this.source=_e,this.checked=ge}}let he=0;const Le=(0,l.sb)((0,l.pj)((0,l.Kr)((0,l.Id)(class{constructor(Pe){this._elementRef=Pe}}))));let He=(()=>{class Pe extends Le{get required(){return this._required}set required(ge){this._required=(0,b.Ig)(ge)}get checked(){return this._checked}set checked(ge){this._checked=(0,b.Ig)(ge),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(ge,le,Se,je,Ke,Ge,vt){super(ge),this._focusMonitor=le,this._changeDetectorRef=Se,this.defaults=Ke,this._onChange=xe=>{},this._onTouched=()=>{},this._required=!1,this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new e.vpe,this.toggleChange=new e.vpe,this.tabIndex=parseInt(je)||0,this.color=this.defaultColor=Ke.color||"accent",this._noopAnimations="NoopAnimations"===Ge,this.id=this._uniqueId=`${vt}${++he}`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(ge=>{"keyboard"===ge||"program"===ge?(this._focused=!0,this._changeDetectorRef.markForCheck()):ge||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(ge){this.checked=!!ge}registerOnChange(ge){this._onChange=ge}registerOnTouched(ge){this._onTouched=ge}setDisabledState(ge){this.disabled=ge,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}}return Pe.\u0275fac=function(ge){e.$Z()},Pe.\u0275dir=e.lG2({type:Pe,inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},features:[e.qOj]}),Pe})(),Qe=(()=>{class Pe extends He{get buttonId(){return`${this.id||this._uniqueId}-button`}constructor(ge,le,Se,je,Ke,Ge){super(ge,le,Se,je,Ke,Ge,"mat-mdc-slide-toggle-"),this._labelId=this._uniqueId+"-label"}_handleClick(){this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new Be(this,this.checked)))}focus(){this._switchElement.nativeElement.focus()}_createChangeEvent(ge){return new Be(this,ge)}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}}return Pe.\u0275fac=function(ge){return new(ge||Pe)(e.Y36(e.SBq),e.Y36(T.tE),e.Y36(e.sBO),e.$8M("tabindex"),e.Y36(Ee),e.Y36(e.QbO,8))},Pe.\u0275cmp=e.Xpm({type:Pe,selectors:[["mat-slide-toggle"]],viewQuery:function(ge,le){if(1&ge&&e.Gf(X,5),2&ge){let Se;e.iGM(Se=e.CRH())&&(le._switchElement=Se.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:11,hostBindings:function(ge,le){2&ge&&(e.Ikx("id",le.id),e.uIk("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),e.ekj("mat-mdc-slide-toggle-focused",le._focused)("mat-mdc-slide-toggle-checked",le.checked)("_mat-animation-noopable",le._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matSlideToggle"],features:[e._Bn([de]),e.qOj],ngContentSelectors:q,decls:17,vars:24,consts:[[1,"mdc-form-field"],["role","switch","type","button",1,"mdc-switch",3,"tabIndex","disabled","click"],["switch",""],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],["viewBox","0 0 24 24",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"],[3,"for","click"]],template:function(ge,le){if(1&ge&&(e.F$t(),e.TgZ(0,"div",0)(1,"button",1,2),e.NdJ("click",function(){return le._handleClick()}),e._UZ(3,"div",3),e.TgZ(4,"div",4)(5,"div",5)(6,"div",6),e._UZ(7,"div",7),e.qZA(),e.TgZ(8,"div",8),e._UZ(9,"div",9),e.qZA(),e.TgZ(10,"div",10),e.O4$(),e.TgZ(11,"svg",11),e._UZ(12,"path",12),e.qZA(),e.TgZ(13,"svg",13),e._UZ(14,"path",14),e.qZA()()()()(),e.kcU(),e.TgZ(15,"label",15),e.NdJ("click",function(je){return je.stopPropagation()}),e.Hsn(16),e.qZA()()),2&ge){const Se=e.MAs(2);e.ekj("mdc-form-field--align-end","before"==le.labelPosition),e.xp6(1),e.ekj("mdc-switch--selected",le.checked)("mdc-switch--unselected",!le.checked)("mdc-switch--checked",le.checked)("mdc-switch--disabled",le.disabled),e.Q6J("tabIndex",le.tabIndex)("disabled",le.disabled),e.uIk("id",le.buttonId)("name",le.name)("aria-label",le.ariaLabel)("aria-labelledby",le._getAriaLabelledBy())("aria-describedby",le.ariaDescribedby)("aria-required",le.required||null)("aria-checked",le.checked),e.xp6(8),e.Q6J("matRippleTrigger",Se)("matRippleDisabled",le.disableRipple||le.disabled)("matRippleCentered",!0),e.xp6(6),e.Q6J("for",le.buttonId),e.uIk("id",le._labelId)}},dependencies:[l.wG],styles:['.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color, #fff)}.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative}.mdc-switch[hidden]{display:none}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%}@media screen and (forced-colors: active){.mdc-switch__track::before,.mdc-switch__track::after{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(-100%)}[dir=rtl] .mdc-switch__track::after,.mdc-switch__track[dir=rtl]::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track[dir=rtl]::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0)}[dir=rtl] .mdc-switch__handle-track,.mdc-switch__handle-track[dir=rtl]{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track,.mdc-switch--selected .mdc-switch__handle-track[dir=rtl]{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto}[dir=rtl] .mdc-switch__handle,.mdc-switch__handle[dir=rtl]{left:auto;right:0}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media screen and (forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mdc-switch{width:var(--mdc-switch-track-width, 36px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color, #616161)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color, #424242)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color, var(--mdc-theme-surface, #fff))}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation, 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__focus-ring-wrapper,.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{height:var(--mdc-switch-handle-height, 20px)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__handle::after{opacity:var(--mdc-switch-disabled-handle-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{border-radius:var(--mdc-switch-handle-shape, 10px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{width:var(--mdc-switch-handle-width, 20px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle-track{width:calc(100% - var(--mdc-switch-handle-width, 20px))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:var(--mdc-switch-selected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:var(--mdc-switch-unselected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size, 18px);height:var(--mdc-switch-selected-icon-size, 18px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size, 18px);height:var(--mdc-switch-unselected-icon-size, 18px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-hover-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-focus-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-pressed-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-hover-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-focus-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-pressed-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-selected-hover-state-layer-opacity, 0.04)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-selected-focus-state-layer-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus).mdc-ripple-surface--hover .mdc-switch__ripple::before{opacity:var(--mdc-switch-unselected-hover-state-layer-opacity, 0.04)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus:not(.mdc-ripple-upgraded):focus .mdc-switch__ripple::before{transition-duration:75ms;opacity:var(--mdc-switch-unselected-focus-state-layer-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded):active .mdc-switch__ripple::after{transition-duration:75ms;opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__ripple{height:var(--mdc-switch-state-layer-size, 48px);width:var(--mdc-switch-state-layer-size, 48px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__track{height:var(--mdc-switch-track-height, 14px)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__track::after{background:var(--mdc-switch-selected-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color, #424242)}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__track::before{background:var(--mdc-switch-unselected-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color, #424242)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__track{border-radius:var(--mdc-switch-track-shape, 7px)}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle .mdc-switch__ripple::after{content:"";opacity:0}.mat-mdc-slide-toggle .mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:opacity 75ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-mdc-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-elevation-overlay,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}'],encapsulation:2,changeDetection:0}),Pe})(),ze=(()=>{class Pe{}return Pe.\u0275fac=function(ge){return new(ge||Pe)},Pe.\u0275mod=e.oAB({type:Pe}),Pe.\u0275inj=e.cJS({}),Pe})(),Me=(()=>{class Pe{}return Pe.\u0275fac=function(ge){return new(ge||Pe)},Pe.\u0275mod=e.oAB({type:Pe}),Pe.\u0275inj=e.cJS({imports:[ze,l.BQ,l.si,O.ez,ze,l.BQ]}),Pe})()},6308:(ri,mt,p)=>{p.d(mt,{JX:()=>vt,YE:()=>Me,nU:()=>Ge});var e=p(4650),s=p(2687),T=p(1281),l=p(9521),b=p(3238),O=p(7579),X=p(6451),q=p(7340),Ee=p(6895);const de=["mat-sort-header",""];function Be(xe,kt){if(1&xe){const rt=e.EpF();e.TgZ(0,"div",3),e.NdJ("@arrowPosition.start",function(){e.CHM(rt);const yi=e.oxw();return e.KtG(yi._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){e.CHM(rt);const yi=e.oxw();return e.KtG(yi._disableViewStateAnimation=!1)}),e._UZ(1,"div",4),e.TgZ(2,"div",5),e._UZ(3,"div",6)(4,"div",7)(5,"div",8),e.qZA()()}if(2&xe){const rt=e.oxw();e.Q6J("@arrowOpacity",rt._getArrowViewState())("@arrowPosition",rt._getArrowViewState())("@allowChildren",rt._getArrowDirectionState()),e.xp6(2),e.Q6J("@indicator",rt._getArrowDirectionState()),e.xp6(1),e.Q6J("@leftPointer",rt._getArrowDirectionState()),e.xp6(1),e.Q6J("@rightPointer",rt._getArrowDirectionState())}}const he=["*"],Re=new e.OlP("MAT_SORT_DEFAULT_OPTIONS"),ze=(0,b.dB)((0,b.Id)(class{}));let Me=(()=>{class xe extends ze{get direction(){return this._direction}set direction(rt){this._direction=rt}get disableClear(){return this._disableClear}set disableClear(rt){this._disableClear=(0,T.Ig)(rt)}constructor(rt){super(),this._defaultOptions=rt,this.sortables=new Map,this._stateChanges=new O.x,this.start="asc",this._direction="",this.sortChange=new e.vpe}register(rt){this.sortables.set(rt.id,rt)}deregister(rt){this.sortables.delete(rt.id)}sort(rt){this.active!=rt.id?(this.active=rt.id,this.direction=rt.start?rt.start:this.start):this.direction=this.getNextSortDirection(rt),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(rt){if(!rt)return"";let yi=function Pe(xe,kt){let rt=["asc","desc"];return"desc"==xe&&rt.reverse(),kt||rt.push(""),rt}(rt.start||this.start,rt?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear),gi=yi.indexOf(this.direction)+1;return gi>=yi.length&&(gi=0),yi[gi]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return xe.\u0275fac=function(rt){return new(rt||xe)(e.Y36(Re,8))},xe.\u0275dir=e.lG2({type:xe,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],active:["matSortActive","active"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[e.qOj,e.TTD]}),xe})();const _e=b.mZ.ENTERING+" "+b.yN.STANDARD_CURVE,ge={indicator:(0,q.X$)("indicator",[(0,q.SB)("active-asc, asc",(0,q.oB)({transform:"translateY(0px)"})),(0,q.SB)("active-desc, desc",(0,q.oB)({transform:"translateY(10px)"})),(0,q.eR)("active-asc <=> active-desc",(0,q.jt)(_e))]),leftPointer:(0,q.X$)("leftPointer",[(0,q.SB)("active-asc, asc",(0,q.oB)({transform:"rotate(-45deg)"})),(0,q.SB)("active-desc, desc",(0,q.oB)({transform:"rotate(45deg)"})),(0,q.eR)("active-asc <=> active-desc",(0,q.jt)(_e))]),rightPointer:(0,q.X$)("rightPointer",[(0,q.SB)("active-asc, asc",(0,q.oB)({transform:"rotate(45deg)"})),(0,q.SB)("active-desc, desc",(0,q.oB)({transform:"rotate(-45deg)"})),(0,q.eR)("active-asc <=> active-desc",(0,q.jt)(_e))]),arrowOpacity:(0,q.X$)("arrowOpacity",[(0,q.SB)("desc-to-active, asc-to-active, active",(0,q.oB)({opacity:1})),(0,q.SB)("desc-to-hint, asc-to-hint, hint",(0,q.oB)({opacity:.54})),(0,q.SB)("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",(0,q.oB)({opacity:0})),(0,q.eR)("* => asc, * => desc, * => active, * => hint, * => void",(0,q.jt)("0ms")),(0,q.eR)("* <=> *",(0,q.jt)(_e))]),arrowPosition:(0,q.X$)("arrowPosition",[(0,q.eR)("* => desc-to-hint, * => desc-to-active",(0,q.jt)(_e,(0,q.F4)([(0,q.oB)({transform:"translateY(-25%)"}),(0,q.oB)({transform:"translateY(0)"})]))),(0,q.eR)("* => hint-to-desc, * => active-to-desc",(0,q.jt)(_e,(0,q.F4)([(0,q.oB)({transform:"translateY(0)"}),(0,q.oB)({transform:"translateY(25%)"})]))),(0,q.eR)("* => asc-to-hint, * => asc-to-active",(0,q.jt)(_e,(0,q.F4)([(0,q.oB)({transform:"translateY(25%)"}),(0,q.oB)({transform:"translateY(0)"})]))),(0,q.eR)("* => hint-to-asc, * => active-to-asc",(0,q.jt)(_e,(0,q.F4)([(0,q.oB)({transform:"translateY(0)"}),(0,q.oB)({transform:"translateY(-25%)"})]))),(0,q.SB)("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",(0,q.oB)({transform:"translateY(0)"})),(0,q.SB)("hint-to-desc, active-to-desc, desc",(0,q.oB)({transform:"translateY(-25%)"})),(0,q.SB)("hint-to-asc, active-to-asc, asc",(0,q.oB)({transform:"translateY(25%)"}))]),allowChildren:(0,q.X$)("allowChildren",[(0,q.eR)("* <=> *",[(0,q.IO)("@*",(0,q.pV)(),{optional:!0})])])};let le=(()=>{class xe{constructor(){this.changes=new O.x}}return xe.\u0275fac=function(rt){return new(rt||xe)},xe.\u0275prov=e.Yz7({token:xe,factory:xe.\u0275fac,providedIn:"root"}),xe})();const je={provide:le,deps:[[new e.FiY,new e.tp0,le]],useFactory:function Se(xe){return xe||new le}},Ke=(0,b.Id)(class{});let Ge=(()=>{class xe extends Ke{get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(rt){this._updateSortActionDescription(rt)}get disableClear(){return this._disableClear}set disableClear(rt){this._disableClear=(0,T.Ig)(rt)}constructor(rt,Wt,yi,gi,jt,ai,ot,W){super(),this._intl=rt,this._changeDetectorRef=Wt,this._sort=yi,this._columnDef=gi,this._focusMonitor=jt,this._elementRef=ai,this._ariaDescriber=ot,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._sortActionDescription="Sort",W?.arrowPosition&&(this.arrowPosition=W?.arrowPosition),this._handleStateChanges()}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(rt=>{const Wt=!!rt;Wt!==this._showIndicatorHint&&(this._setIndicatorHintVisible(Wt),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(rt){this._isDisabled()&&rt||(this._showIndicatorHint=rt,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(rt){this._viewState=rt||{},this._disableViewStateAnimation&&(this._viewState={toState:rt.toState})}_toggleOnInteraction(){this._sort.sort(this),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(rt){!this._isDisabled()&&(rt.keyCode===l.L_||rt.keyCode===l.K5)&&(rt.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const rt=this._viewState.fromState;return(rt?`${rt}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(rt){this._sortButton&&(this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription),this._ariaDescriber?.describe(this._sortButton,rt)),this._sortActionDescription=rt}_handleStateChanges(){this._rerenderSubscription=(0,X.T)(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}}return xe.\u0275fac=function(rt){return new(rt||xe)(e.Y36(le),e.Y36(e.sBO),e.Y36(Me,8),e.Y36("MAT_SORT_HEADER_COLUMN_DEF",8),e.Y36(s.tE),e.Y36(e.SBq),e.Y36(s.$s,8),e.Y36(Re,8))},xe.\u0275cmp=e.Xpm({type:xe,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(rt,Wt){1&rt&&e.NdJ("click",function(){return Wt._handleClick()})("keydown",function(gi){return Wt._handleKeydown(gi)})("mouseenter",function(){return Wt._setIndicatorHintVisible(!0)})("mouseleave",function(){return Wt._setIndicatorHintVisible(!1)}),2&rt&&(e.uIk("aria-sort",Wt._getAriaSortAttribute()),e.ekj("mat-sort-header-disabled",Wt._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[e.qOj],attrs:de,ngContentSelectors:he,decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(rt,Wt){1&rt&&(e.F$t(),e.TgZ(0,"div",0)(1,"div",1),e.Hsn(2),e.qZA(),e.YNc(3,Be,6,6,"div",2),e.qZA()),2&rt&&(e.ekj("mat-sort-header-sorted",Wt._isSorted())("mat-sort-header-position-before","before"===Wt.arrowPosition),e.uIk("tabindex",Wt._isDisabled()?null:0)("role",Wt._isDisabled()?null:"button"),e.xp6(3),e.Q6J("ngIf",Wt._renderArrow()))},dependencies:[Ee.O5],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}"],encapsulation:2,data:{animation:[ge.indicator,ge.leftPointer,ge.rightPointer,ge.arrowOpacity,ge.arrowPosition,ge.allowChildren]},changeDetection:0}),xe})(),vt=(()=>{class xe{}return xe.\u0275fac=function(rt){return new(rt||xe)},xe.\u0275mod=e.oAB({type:xe}),xe.\u0275inj=e.cJS({providers:[je],imports:[Ee.ez,b.BQ]}),xe})()},6257:(ri,mt,p)=>{p.d(mt,{C0:()=>Ae,Vq:()=>B,T5:()=>Vt});var e=p(4080),s=p(2687),T=p(445),l=p(1281),b=p(9521),O=p(4650),X=p(3353),q=p(7579),Ee=p(9646),de=p(8675),Be=p(2722);function he(be,st){1&be&&O.Hsn(0)}const Le=["*"];let He=(()=>{class be{constructor(Z){this._elementRef=Z}focus(){this._elementRef.nativeElement.focus()}}return be.\u0275fac=function(Z){return new(Z||be)(O.Y36(O.SBq))},be.\u0275dir=O.lG2({type:be,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]}),be})(),Qe=(()=>{class be{constructor(Z){this.template=Z}}return be.\u0275fac=function(Z){return new(Z||be)(O.Y36(O.Rgc))},be.\u0275dir=O.lG2({type:be,selectors:[["","cdkStepLabel",""]]}),be})(),pt=0;const Me=new O.OlP("STEPPER_GLOBAL_OPTIONS");let Pe=(()=>{class be{get editable(){return this._editable}set editable(Z){this._editable=(0,l.Ig)(Z)}get optional(){return this._optional}set optional(Z){this._optional=(0,l.Ig)(Z)}get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(Z){this._completedOverride=(0,l.Ig)(Z)}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return null==this._customError?this._getDefaultError():this._customError}set hasError(Z){this._customError=(0,l.Ig)(Z)}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}constructor(Z,ke){this._stepper=Z,this.interacted=!1,this.interactedStream=new O.vpe,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=ke||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType}select(){this._stepper.selected=this}reset(){this.interacted=!1,null!=this._completedOverride&&(this._completedOverride=!1),null!=this._customError&&(this._customError=!1),this.stepControl&&this.stepControl.reset()}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}_showError(){return this._stepperOptions.showError??null!=this._customError}}return be.\u0275fac=function(Z){return new(Z||be)(O.Y36((0,O.Gpc)(()=>_e)),O.Y36(Me,8))},be.\u0275cmp=O.Xpm({type:be,selectors:[["cdk-step"]],contentQueries:function(Z,ke,gt){if(1&Z&&O.Suo(gt,Qe,5),2&Z){let Rt;O.iGM(Rt=O.CRH())&&(ke.stepLabel=Rt.first)}},viewQuery:function(Z,ke){if(1&Z&&O.Gf(O.Rgc,7),2&Z){let gt;O.iGM(gt=O.CRH())&&(ke.content=gt.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],state:"state",editable:"editable",optional:"optional",completed:"completed",hasError:"hasError"},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[O.TTD],ngContentSelectors:Le,decls:1,vars:0,template:function(Z,ke){1&Z&&(O.F$t(),O.YNc(0,he,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),be})(),_e=(()=>{class be{get linear(){return this._linear}set linear(Z){this._linear=(0,l.Ig)(Z)}get selectedIndex(){return this._selectedIndex}set selectedIndex(Z){const ke=(0,l.su)(Z);this.steps&&this._steps?(this._isValidIndex(ke),this.selected?._markAsInteracted(),this._selectedIndex!==ke&&!this._anyControlsInvalidOrPending(ke)&&(ke>=this._selectedIndex||this.steps.toArray()[ke].editable)&&this._updateSelectedItemIndex(ke)):this._selectedIndex=ke}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(Z){this.selectedIndex=Z&&this.steps?this.steps.toArray().indexOf(Z):-1}get orientation(){return this._orientation}set orientation(Z){this._orientation=Z,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===Z)}constructor(Z,ke,gt){this._dir=Z,this._changeDetectorRef=ke,this._elementRef=gt,this._destroyed=new q.x,this.steps=new O.n_E,this._sortedHeaders=new O.n_E,this._linear=!1,this._selectedIndex=0,this.selectionChange=new O.vpe,this._orientation="horizontal",this._groupId=pt++}ngAfterContentInit(){this._steps.changes.pipe((0,de.O)(this._steps),(0,Be.R)(this._destroyed)).subscribe(Z=>{this.steps.reset(Z.filter(ke=>ke._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe((0,de.O)(this._stepHeader),(0,Be.R)(this._destroyed)).subscribe(Z=>{this._sortedHeaders.reset(Z.toArray().sort((ke,gt)=>ke._elementRef.nativeElement.compareDocumentPosition(gt._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new s.Em(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:(0,Ee.of)()).pipe((0,de.O)(this._layoutDirection()),(0,Be.R)(this._destroyed)).subscribe(Z=>this._keyManager.withHorizontalOrientation(Z)),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.subscribe(()=>{this.selected||(this._selectedIndex=Math.max(this._selectedIndex-1,0))}),this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)}ngOnDestroy(){this._keyManager?.destroy(),this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(Z=>Z.reset()),this._stateChanged()}_getStepLabelId(Z){return`cdk-step-label-${this._groupId}-${Z}`}_getStepContentId(Z){return`cdk-step-content-${this._groupId}-${Z}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(Z){const ke=Z-this._selectedIndex;return ke<0?"rtl"===this._layoutDirection()?"next":"previous":ke>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(Z,ke="number"){const gt=this.steps.toArray()[Z],Rt=this._isCurrentStep(Z);return gt._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(gt,Rt):this._getGuidelineLogic(gt,Rt,ke)}_getDefaultIndicatorLogic(Z,ke){return Z._showError()&&Z.hasError&&!ke?"error":!Z.completed||ke?"number":Z.editable?"edit":"done"}_getGuidelineLogic(Z,ke,gt="number"){return Z._showError()&&Z.hasError&&!ke?"error":Z.completed&&!ke?"done":Z.completed&&ke?gt:Z.editable&&ke?"edit":gt}_isCurrentStep(Z){return this._selectedIndex===Z}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(Z){const ke=this.steps.toArray();this.selectionChange.emit({selectedIndex:Z,previouslySelectedIndex:this._selectedIndex,selectedStep:ke[Z],previouslySelectedStep:ke[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(Z):this._keyManager.updateActiveItem(Z),this._selectedIndex=Z,this._stateChanged()}_onKeydown(Z){const ke=(0,b.Vb)(Z),gt=Z.keyCode,Rt=this._keyManager;null==Rt.activeItemIndex||ke||gt!==b.L_&&gt!==b.K5?Rt.setFocusOrigin("keyboard").onKeydown(Z):(this.selectedIndex=Rt.activeItemIndex,Z.preventDefault())}_anyControlsInvalidOrPending(Z){return!!(this._linear&&Z>=0)&&this.steps.toArray().slice(0,Z).some(ke=>{const gt=ke.stepControl;return(gt?gt.invalid||gt.pending||!ke.interacted:!ke.completed)&&!ke.optional&&!ke._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const Z=this._elementRef.nativeElement,ke=(0,X.ht)();return Z===ke||Z.contains(ke)}_isValidIndex(Z){return Z>-1&&(!this.steps||Z<this.steps.length)}}return be.\u0275fac=function(Z){return new(Z||be)(O.Y36(T.Is,8),O.Y36(O.sBO),O.Y36(O.SBq))},be.\u0275dir=O.lG2({type:be,selectors:[["","cdkStepper",""]],contentQueries:function(Z,ke,gt){if(1&Z&&(O.Suo(gt,Pe,5),O.Suo(gt,He,5)),2&Z){let Rt;O.iGM(Rt=O.CRH())&&(ke._steps=Rt),O.iGM(Rt=O.CRH())&&(ke._stepHeader=Rt)}},inputs:{linear:"linear",selectedIndex:"selectedIndex",selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange"},exportAs:["cdkStepper"]}),be})(),Se=(()=>{class be{}return be.\u0275fac=function(Z){return new(Z||be)},be.\u0275mod=O.oAB({type:be}),be.\u0275inj=O.cJS({imports:[T.vT]}),be})();var je=p(6895),Ke=p(3238),Ge=p(7392),vt=p(727),xe=p(3900),kt=p(4004),rt=p(1884),Wt=p(7340);function yi(be,st){if(1&be&&O.GkF(0,8),2&be){const Z=O.oxw();O.Q6J("ngTemplateOutlet",Z.iconOverrides[Z.state])("ngTemplateOutletContext",Z._getIconContext())}}function gi(be,st){if(1&be&&(O.TgZ(0,"span",13),O._uU(1),O.qZA()),2&be){const Z=O.oxw(2);O.xp6(1),O.Oqu(Z._getDefaultTextForState(Z.state))}}function jt(be,st){if(1&be&&(O.TgZ(0,"span",14),O._uU(1),O.qZA()),2&be){const Z=O.oxw(2);O.xp6(1),O.Oqu(Z._intl.completedLabel)}}function ai(be,st){if(1&be&&(O.TgZ(0,"span",14),O._uU(1),O.qZA()),2&be){const Z=O.oxw(2);O.xp6(1),O.Oqu(Z._intl.editableLabel)}}function ot(be,st){if(1&be&&(O.TgZ(0,"mat-icon",13),O._uU(1),O.qZA()),2&be){const Z=O.oxw(2);O.xp6(1),O.Oqu(Z._getDefaultTextForState(Z.state))}}function W(be,st){if(1&be&&(O.ynx(0,9),O.YNc(1,gi,2,1,"span",10),O.YNc(2,jt,2,1,"span",11),O.YNc(3,ai,2,1,"span",11),O.YNc(4,ot,2,1,"mat-icon",12),O.BQk()),2&be){const Z=O.oxw();O.Q6J("ngSwitch",Z.state),O.xp6(1),O.Q6J("ngSwitchCase","number"),O.xp6(1),O.Q6J("ngIf","done"===Z.state),O.xp6(1),O.Q6J("ngIf","edit"===Z.state)}}function j(be,st){if(1&be&&(O.TgZ(0,"div",15),O.GkF(1,16),O.qZA()),2&be){const Z=O.oxw();O.xp6(1),O.Q6J("ngTemplateOutlet",Z._templateLabel().template)}}function H(be,st){if(1&be&&(O.TgZ(0,"div",15),O._uU(1),O.qZA()),2&be){const Z=O.oxw();O.xp6(1),O.Oqu(Z.label)}}function C(be,st){if(1&be&&(O.TgZ(0,"div",17),O._uU(1),O.qZA()),2&be){const Z=O.oxw();O.xp6(1),O.Oqu(Z._intl.optionalLabel)}}function Y(be,st){if(1&be&&(O.TgZ(0,"div",18),O._uU(1),O.qZA()),2&be){const Z=O.oxw();O.xp6(1),O.Oqu(Z.errorMessage)}}function $(be,st){}function we(be,st){if(1&be&&(O.Hsn(0),O.YNc(1,$,0,0,"ng-template",0)),2&be){const Z=O.oxw();O.xp6(1),O.Q6J("cdkPortalOutlet",Z._portal)}}const Fe=["*"];function _t(be,st){1&be&&O._UZ(0,"div",11)}const it=function(be,st){return{step:be,i:st}};function Nt(be,st){if(1&be&&(O.ynx(0),O.GkF(1,9),O.YNc(2,_t,1,0,"div",10),O.BQk()),2&be){const Z=st.$implicit,ke=st.index,gt=st.last;O.oxw(2);const Rt=O.MAs(4);O.xp6(1),O.Q6J("ngTemplateOutlet",Rt)("ngTemplateOutletContext",O.WLB(3,it,Z,ke)),O.xp6(1),O.Q6J("ngIf",!gt)}}const lt=function(be){return{animationDuration:be}},zt=function(be,st){return{value:be,params:st}};function ft(be,st){if(1&be){const Z=O.EpF();O.TgZ(0,"div",12),O.NdJ("@horizontalStepTransition.done",function(gt){O.CHM(Z);const Rt=O.oxw(2);return O.KtG(Rt._animationDone.next(gt))}),O.GkF(1,13),O.qZA()}if(2&be){const Z=st.$implicit,ke=st.index,gt=O.oxw(2);O.ekj("mat-horizontal-stepper-content-inactive",gt.selectedIndex!==ke),O.Q6J("@horizontalStepTransition",O.WLB(8,zt,gt._getAnimationDirection(ke),O.VKq(6,lt,gt._getAnimationDuration())))("id",gt._getStepContentId(ke)),O.uIk("aria-labelledby",gt._getStepLabelId(ke)),O.xp6(1),O.Q6J("ngTemplateOutlet",Z.content)}}function Pt(be,st){if(1&be&&(O.TgZ(0,"div",4)(1,"div",5),O.YNc(2,Nt,3,6,"ng-container",6),O.qZA(),O.TgZ(3,"div",7),O.YNc(4,ft,2,11,"div",8),O.qZA()()),2&be){const Z=O.oxw();O.xp6(2),O.Q6J("ngForOf",Z.steps),O.xp6(2),O.Q6J("ngForOf",Z.steps)}}function li(be,st){if(1&be){const Z=O.EpF();O.TgZ(0,"div",15),O.GkF(1,9),O.TgZ(2,"div",16)(3,"div",17),O.NdJ("@verticalStepTransition.done",function(gt){O.CHM(Z);const Rt=O.oxw(2);return O.KtG(Rt._animationDone.next(gt))}),O.TgZ(4,"div",18),O.GkF(5,13),O.qZA()()()()}if(2&be){const Z=st.$implicit,ke=st.index,gt=st.last,Rt=O.oxw(2),se=O.MAs(4);O.xp6(1),O.Q6J("ngTemplateOutlet",se)("ngTemplateOutletContext",O.WLB(10,it,Z,ke)),O.xp6(1),O.ekj("mat-stepper-vertical-line",!gt),O.xp6(1),O.ekj("mat-vertical-stepper-content-inactive",Rt.selectedIndex!==ke),O.Q6J("@verticalStepTransition",O.WLB(15,zt,Rt._getAnimationDirection(ke),O.VKq(13,lt,Rt._getAnimationDuration())))("id",Rt._getStepContentId(ke)),O.uIk("aria-labelledby",Rt._getStepLabelId(ke)),O.xp6(2),O.Q6J("ngTemplateOutlet",Z.content)}}function oi(be,st){if(1&be&&(O.ynx(0),O.YNc(1,li,6,18,"div",14),O.BQk()),2&be){const Z=O.oxw();O.xp6(1),O.Q6J("ngForOf",Z.steps)}}function dt(be,st){if(1&be){const Z=O.EpF();O.TgZ(0,"mat-step-header",19),O.NdJ("click",function(){const Rt=O.CHM(Z).step;return O.KtG(Rt.select())})("keydown",function(gt){O.CHM(Z);const Rt=O.oxw();return O.KtG(Rt._onKeydown(gt))}),O.qZA()}if(2&be){const Z=st.step,ke=st.i,gt=O.oxw();O.ekj("mat-horizontal-stepper-header","horizontal"===gt.orientation)("mat-vertical-stepper-header","vertical"===gt.orientation),O.Q6J("tabIndex",gt._getFocusIndex()===ke?0:-1)("id",gt._getStepLabelId(ke))("index",ke)("state",gt._getIndicatorType(ke,Z.state))("label",Z.stepLabel||Z.label)("selected",gt.selectedIndex===ke)("active",gt._stepIsNavigable(ke,Z))("optional",Z.optional)("errorMessage",Z.errorMessage)("iconOverrides",gt._iconOverrides)("disableRipple",gt.disableRipple||!gt._stepIsNavigable(ke,Z))("color",Z.color||gt.color),O.uIk("aria-posinset",ke+1)("aria-setsize",gt.steps.length)("aria-controls",gt._getStepContentId(ke))("aria-selected",gt.selectedIndex==ke)("aria-label",Z.ariaLabel||null)("aria-labelledby",!Z.ariaLabel&&Z.ariaLabelledby?Z.ariaLabelledby:null)("aria-disabled",!gt._stepIsNavigable(ke,Z)||null)}}let yt=(()=>{class be extends Qe{}return be.\u0275fac=function(){let st;return function(ke){return(st||(st=O.n5z(be)))(ke||be)}}(),be.\u0275dir=O.lG2({type:be,selectors:[["","matStepLabel",""]],features:[O.qOj]}),be})(),ve=(()=>{class be{constructor(){this.changes=new q.x,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}return be.\u0275fac=function(Z){return new(Z||be)},be.\u0275prov=O.Yz7({token:be,factory:be.\u0275fac,providedIn:"root"}),be})();const re={provide:ve,deps:[[new O.FiY,new O.tp0,ve]],useFactory:function N(be){return be||new ve}},We=(0,Ke.pj)(class extends He{constructor(st){super(st)}},"primary");let wt=(()=>{class be extends We{constructor(Z,ke,gt,Rt){super(gt),this._intl=Z,this._focusMonitor=ke,this._intlSubscription=Z.changes.subscribe(()=>Rt.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(Z,ke){Z?this._focusMonitor.focusVia(this._elementRef,Z,ke):this._elementRef.nativeElement.focus(ke)}_stringLabel(){return this.label instanceof yt?null:this.label}_templateLabel(){return this.label instanceof yt?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(Z){return"number"==Z?`${this.index+1}`:"edit"==Z?"create":"error"==Z?"warning":Z}}return be.\u0275fac=function(Z){return new(Z||be)(O.Y36(ve),O.Y36(s.tE),O.Y36(O.SBq),O.Y36(O.sBO))},be.\u0275cmp=O.Xpm({type:be,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],inputs:{color:"color",state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple"},features:[O.qOj],decls:10,vars:19,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content",3,"ngSwitch"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngSwitchCase"],[3,"ngSwitch",4,"ngSwitchDefault"],[1,"mat-step-label"],["class","mat-step-text-label",4,"ngIf"],["class","mat-step-optional",4,"ngIf"],["class","mat-step-sub-label-error",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch"],["aria-hidden","true",4,"ngSwitchCase"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true",4,"ngSwitchDefault"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[1,"mat-step-text-label"],[3,"ngTemplateOutlet"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"]],template:function(Z,ke){1&Z&&(O._UZ(0,"div",0),O.TgZ(1,"div")(2,"div",1),O.YNc(3,yi,1,2,"ng-container",2),O.YNc(4,W,5,4,"ng-container",3),O.qZA()(),O.TgZ(5,"div",4),O.YNc(6,j,2,1,"div",5),O.YNc(7,H,2,1,"div",5),O.YNc(8,C,2,1,"div",6),O.YNc(9,Y,2,1,"div",7),O.qZA()),2&Z&&(O.Q6J("matRippleTrigger",ke._getHostElement())("matRippleDisabled",ke.disableRipple),O.xp6(1),O.Gre("mat-step-icon-state-",ke.state," mat-step-icon"),O.ekj("mat-step-icon-selected",ke.selected),O.xp6(1),O.Q6J("ngSwitch",!(!ke.iconOverrides||!ke.iconOverrides[ke.state])),O.xp6(1),O.Q6J("ngSwitchCase",!0),O.xp6(2),O.ekj("mat-step-label-active",ke.active)("mat-step-label-selected",ke.selected)("mat-step-label-error","error"==ke.state),O.xp6(1),O.Q6J("ngIf",ke._templateLabel()),O.xp6(1),O.Q6J("ngIf",ke._stringLabel()),O.xp6(1),O.Q6J("ngIf",ke.optional&&"error"!=ke.state),O.xp6(1),O.Q6J("ngIf","error"==ke.state))},dependencies:[je.O5,je.tP,je.RF,je.n9,je.ED,Ge.Hw,Ke.wG],styles:['.mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-step-header:focus .mat-focus-indicator::before{content:""}.cdk-high-contrast-active .mat-step-header{outline:solid 1px}.cdk-high-contrast-active .mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.cdk-high-contrast-active .mat-step-header[aria-disabled=true]{outline-color:GrayText}.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-label,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-icon,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-optional{color:GrayText}.mat-step-optional,.mat-step-sub-label-error{font-size:12px}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,changeDetection:0}),be})();const ct={horizontalStepTransition:(0,Wt.X$)("horizontalStepTransition",[(0,Wt.SB)("previous",(0,Wt.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),(0,Wt.SB)("current",(0,Wt.oB)({transform:"none",visibility:"inherit"})),(0,Wt.SB)("next",(0,Wt.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),(0,Wt.eR)("* => *",(0,Wt.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),{params:{animationDuration:"500ms"}})]),verticalStepTransition:(0,Wt.X$)("verticalStepTransition",[(0,Wt.SB)("previous",(0,Wt.oB)({height:"0px",visibility:"hidden"})),(0,Wt.SB)("next",(0,Wt.oB)({height:"0px",visibility:"hidden"})),(0,Wt.SB)("current",(0,Wt.oB)({height:"*",visibility:"inherit"})),(0,Wt.eR)("* <=> current",(0,Wt.jt)("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),{params:{animationDuration:"225ms"}})])};let Gt=(()=>{class be{constructor(Z){this.templateRef=Z}}return be.\u0275fac=function(Z){return new(Z||be)(O.Y36(O.Rgc))},be.\u0275dir=O.lG2({type:be,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}}),be})(),te=(()=>{class be{constructor(Z){this._template=Z}}return be.\u0275fac=function(Z){return new(Z||be)(O.Y36(O.Rgc))},be.\u0275dir=O.lG2({type:be,selectors:[["ng-template","matStepContent",""]]}),be})(),Ae=(()=>{class be extends Pe{constructor(Z,ke,gt,Rt){super(Z,Rt),this._errorStateMatcher=ke,this._viewContainerRef=gt,this._isSelected=vt.w0.EMPTY}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe((0,xe.w)(()=>this._stepper.selectionChange.pipe((0,kt.U)(Z=>Z.selectedStep===this),(0,de.O)(this._stepper.selected===this)))).subscribe(Z=>{Z&&this._lazyContent&&!this._portal&&(this._portal=new e.UE(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(Z,ke){return this._errorStateMatcher.isErrorState(Z,ke)||!!(Z&&Z.invalid&&this.interacted)}}return be.\u0275fac=function(Z){return new(Z||be)(O.Y36((0,O.Gpc)(()=>B)),O.Y36(Ke.rD,4),O.Y36(O.s_b),O.Y36(Me,8))},be.\u0275cmp=O.Xpm({type:be,selectors:[["mat-step"]],contentQueries:function(Z,ke,gt){if(1&Z&&(O.Suo(gt,yt,5),O.Suo(gt,te,5)),2&Z){let Rt;O.iGM(Rt=O.CRH())&&(ke.stepLabel=Rt.first),O.iGM(Rt=O.CRH())&&(ke._lazyContent=Rt.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[O._Bn([{provide:Ke.rD,useExisting:be},{provide:Pe,useExisting:be}]),O.qOj],ngContentSelectors:Fe,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(Z,ke){1&Z&&(O.F$t(),O.YNc(0,we,2,1,"ng-template"))},dependencies:[e.Pl],encapsulation:2,changeDetection:0}),be})(),B=(()=>{class be extends _e{get animationDuration(){return this._animationDuration}set animationDuration(Z){this._animationDuration=/^\d+$/.test(Z)?Z+"ms":Z}constructor(Z,ke,gt){super(Z,ke,gt),this.steps=new O.n_E,this.animationDone=new O.vpe,this.labelPosition="end",this.headerPosition="top",this._iconOverrides={},this._animationDone=new q.x,this._animationDuration="";const Rt=gt.nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===Rt?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:Z,templateRef:ke})=>this._iconOverrides[Z]=ke),this.steps.changes.pipe((0,Be.R)(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe((0,rt.x)((Z,ke)=>Z.fromState===ke.fromState&&Z.toState===ke.toState),(0,Be.R)(this._destroyed)).subscribe(Z=>{"current"===Z.toState&&this.animationDone.emit()})}_stepIsNavigable(Z,ke){return ke.completed||this.selectedIndex===Z||!this.linear}_getAnimationDuration(){return this.animationDuration?this.animationDuration:"horizontal"===this.orientation?"500ms":"225ms"}}return be.\u0275fac=function(Z){return new(Z||be)(O.Y36(T.Is,8),O.Y36(O.sBO),O.Y36(O.SBq))},be.\u0275cmp=O.Xpm({type:be,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(Z,ke,gt){if(1&Z&&(O.Suo(gt,Ae,5),O.Suo(gt,Gt,5)),2&Z){let Rt;O.iGM(Rt=O.CRH())&&(ke._steps=Rt),O.iGM(Rt=O.CRH())&&(ke._icons=Rt)}},viewQuery:function(Z,ke){if(1&Z&&O.Gf(wt,5),2&Z){let gt;O.iGM(gt=O.CRH())&&(ke._stepHeader=gt)}},hostAttrs:["role","tablist"],hostVars:11,hostBindings:function(Z,ke){2&Z&&(O.uIk("aria-orientation",ke.orientation),O.ekj("mat-stepper-horizontal","horizontal"===ke.orientation)("mat-stepper-vertical","vertical"===ke.orientation)("mat-stepper-label-position-end","horizontal"===ke.orientation&&"end"==ke.labelPosition)("mat-stepper-label-position-bottom","horizontal"===ke.orientation&&"bottom"==ke.labelPosition)("mat-stepper-header-position-bottom","bottom"===ke.headerPosition))},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[O._Bn([{provide:_e,useExisting:be}]),O.qOj],decls:5,vars:3,consts:[[3,"ngSwitch"],["class","mat-horizontal-stepper-wrapper",4,"ngSwitchCase"],[4,"ngSwitchCase"],["stepTemplate",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-horizontal-stepper-header-container"],[4,"ngFor","ngForOf"],[1,"mat-horizontal-content-container"],["class","mat-horizontal-stepper-content","role","tabpanel",3,"id","mat-horizontal-stepper-content-inactive",4,"ngFor","ngForOf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","mat-stepper-horizontal-line",4,"ngIf"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],["class","mat-step",4,"ngFor","ngForOf"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color","click","keydown"]],template:function(Z,ke){1&Z&&(O.ynx(0,0),O.YNc(1,Pt,5,2,"div",1),O.YNc(2,oi,2,1,"ng-container",2),O.BQk(),O.YNc(3,dt,1,23,"ng-template",null,3,O.W1O)),2&Z&&(O.Q6J("ngSwitch",ke.orientation),O.xp6(1),O.Q6J("ngSwitchCase","horizontal"),O.xp6(1),O.Q6J("ngSwitchCase","vertical"))},dependencies:[je.sg,je.O5,je.tP,je.RF,je.n9,wt],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-header-position-bottom .mat-horizontal-stepper-header-container{order:1}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-wrapper{display:flex;flex-direction:column}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-inactive{height:0;overflow:hidden}.mat-horizontal-stepper-content:not(.mat-horizontal-stepper-content-inactive){visibility:inherit !important}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.cdk-high-contrast-active .mat-horizontal-content-container{outline:solid 1px}.mat-stepper-header-position-bottom .mat-horizontal-content-container{padding:24px 24px 0 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}.cdk-high-contrast-active .mat-vertical-content-container{outline:solid 1px}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-stepper-content:not(.mat-vertical-stepper-content-inactive){visibility:inherit !important}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}'],encapsulation:2,data:{animation:[ct.horizontalStepTransition,ct.verticalStepTransition]},changeDetection:0}),be})(),Vt=(()=>{class be{}return be.\u0275fac=function(Z){return new(Z||be)},be.\u0275mod=O.oAB({type:be}),be.\u0275inj=O.cJS({providers:[re,Ke.rD],imports:[Ke.BQ,je.ez,e.eL,Se,Ge.Ps,Ke.si,Ke.BQ]}),be})()},3626:(ri,mt,p)=>{p.d(mt,{BZ:()=>Re,Dz:()=>ze,Gk:()=>kt,Ke:()=>Ke,Q2:()=>xe,XQ:()=>vt,as:()=>je,by:()=>ot,ev:()=>Se,fO:()=>Me,ge:()=>ge,mD:()=>Pe,nj:()=>Ge,p0:()=>gi,w1:()=>_e,yh:()=>le});var e=p(4650),s=p(5013),T=p(5017),l=p(3238),b=p(1135),O=p(7579),X=p(6451),q=p(9646),Ee=p(9841),de=p(1281),Be=p(4004);const he=[[["caption"]],[["colgroup"],["col"]]],Le=["caption","colgroup, col"];let Re=(()=>{class W extends s.zC{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}ngOnInit(){super.ngOnInit(),this._isNativeHtmlTable&&this._elementRef.nativeElement.querySelector("tbody").classList.add("mdc-data-table__content")}}return W.\u0275fac=function(){let j;return function(C){return(j||(j=e.n5z(W)))(C||W)}}(),W.\u0275cmp=e.Xpm({type:W,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(H,C){2&H&&e.ekj("mdc-table-fixed-layout",C.fixedLayout)},exportAs:["matTable"],features:[e._Bn([{provide:s.zC,useExisting:W},{provide:s.pN,useExisting:W},{provide:s.nl,useClass:s.oF},{provide:T.k,useClass:T.yy},{provide:s.pF,useValue:null}]),e.qOj],ngContentSelectors:Le,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(H,C){1&H&&(e.F$t(he),e.Hsn(0),e.Hsn(1,1),e.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[s.T$,s.FT,s.$E,s.bH],styles:[".mdc-data-table{border-radius:var(--mdc-shape-medium, 4px);border-width:1px;border-style:solid}.mdc-data-table .mdc-data-table__header-cell:first-child{border-top-left-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table .mdc-data-table__header-cell:first-child,.mdc-data-table .mdc-data-table__header-cell:first-child[dir=rtl]{border-top-right-radius:var(--mdc-shape-medium, 4px);border-top-left-radius:0}.mdc-data-table .mdc-data-table__header-cell:last-child{border-top-right-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table .mdc-data-table__header-cell:last-child,.mdc-data-table .mdc-data-table__header-cell:last-child[dir=rtl]{border-top-left-radius:var(--mdc-shape-medium, 4px);border-top-right-radius:0}.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child{border-bottom-left-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child,.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child[dir=rtl]{border-bottom-right-radius:var(--mdc-shape-medium, 4px);border-bottom-left-radius:0}.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child{border-bottom-right-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child,.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child[dir=rtl]{border-bottom-left-radius:var(--mdc-shape-medium, 4px);border-bottom-right-radius:0}.mdc-data-table__cell,.mdc-data-table__header-cell{border-bottom-width:1px;border-bottom-style:solid}.mdc-data-table__pagination{border-top-width:1px;border-top-style:solid}.mdc-data-table__row:last-child .mdc-data-table__cell{border-bottom:none}.mdc-data-table__row{height:52px}.mdc-data-table__pagination{min-height:52px}.mdc-data-table__header-row{height:56px}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__cell--checkbox{width:1px}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--checkbox{width:1px}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__sort-icon-button{width:28px;height:28px;padding:2px;transform:rotate(0.0001deg);margin-left:4px;margin-right:0;opacity:0}.mdc-data-table__sort-icon-button .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:28px;height:28px;margin-top:0px;margin-bottom:0px;margin-right:0px;margin-left:0px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:28px;left:50%;width:28px;transform:translate(-50%, -50%)}[dir=rtl] .mdc-data-table__sort-icon-button,.mdc-data-table__sort-icon-button[dir=rtl]{margin-left:0;margin-right:4px}.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button{margin-left:0;margin-right:4px}[dir=rtl] .mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button[dir=rtl]{margin-left:4px;margin-right:0}.mdc-data-table__header-cell--sorted-descending .mdc-data-table__sort-icon-button{transform:rotate(-180deg)}.mdc-data-table__sort-icon-button:focus,.mdc-data-table__header-cell:hover .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button{opacity:1}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__header-cell--with-sort{cursor:pointer}.mdc-data-table__sort-status-label{clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.mdc-data-table--sticky-header .mdc-data-table__header-cell{position:sticky;top:0;z-index:1}.mdc-data-table{-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--checkbox{width:1px}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__sort-icon-button{width:28px;height:28px;padding:2px;transform:rotate(0.0001deg);margin-left:4px;margin-right:0;opacity:0}.mdc-data-table__sort-icon-button .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:28px;height:28px;margin-top:0px;margin-bottom:0px;margin-right:0px;margin-left:0px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:28px;left:50%;width:28px;transform:translate(-50%, -50%)}[dir=rtl] .mdc-data-table__sort-icon-button,.mdc-data-table__sort-icon-button[dir=rtl]{margin-left:0;margin-right:4px}.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button{margin-left:0;margin-right:4px}[dir=rtl] .mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button[dir=rtl]{margin-left:4px;margin-right:0}.mdc-data-table__header-cell--sorted-descending .mdc-data-table__sort-icon-button{transform:rotate(-180deg)}.mdc-data-table__sort-icon-button:focus,.mdc-data-table__header-cell:hover .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button{opacity:1}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__header-cell--with-sort{cursor:pointer}.mdc-data-table__sort-status-label{clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__cell--checkbox{width:1px}.mdc-data-table__pagination{box-sizing:border-box;display:flex;justify-content:flex-end}.mdc-data-table__pagination-trailing{margin-left:4px;margin-right:0;align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-end}[dir=rtl] .mdc-data-table__pagination-trailing,.mdc-data-table__pagination-trailing[dir=rtl]{margin-left:0;margin-right:4px}.mdc-data-table__pagination-navigation{align-items:center;display:flex}.mdc-data-table__pagination-button{margin-left:0;margin-right:4px}[dir=rtl] .mdc-data-table__pagination-button .mdc-button__icon,.mdc-data-table__pagination-button .mdc-button__icon[dir=rtl]{transform:rotate(180deg)}[dir=rtl] .mdc-data-table__pagination-button,.mdc-data-table__pagination-button[dir=rtl]{margin-left:4px;margin-right:0}.mdc-data-table__pagination-total{margin-left:14px;margin-right:36px;white-space:nowrap}[dir=rtl] .mdc-data-table__pagination-total,.mdc-data-table__pagination-total[dir=rtl]{margin-left:36px;margin-right:14px}.mdc-data-table__pagination-rows-per-page{margin-left:0;margin-right:22px;align-items:center;display:inline-flex}[dir=rtl] .mdc-data-table__pagination-rows-per-page,.mdc-data-table__pagination-rows-per-page[dir=rtl]{margin-left:22px;margin-right:0}.mdc-data-table__pagination-rows-per-page-label{margin-left:0;margin-right:12px;white-space:nowrap}[dir=rtl] .mdc-data-table__pagination-rows-per-page-label,.mdc-data-table__pagination-rows-per-page-label[dir=rtl]{margin-left:12px;margin-right:0}.mdc-data-table__pagination-rows-per-page-select{min-width:var(--mdc-menu-min-width, 80px);margin:8px 0}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor{width:100%;min-width:80px}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor{height:36px}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-floating-label--float-above{font-size:.75rem}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-data-table__pagination-rows-per-page-select .mdc-select__dropdown-icon{width:20px;height:20px}.mdc-data-table__pagination-rows-per-page-select.mdc-select--outlined .mdc-select__anchor :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 56px)}.mdc-data-table__pagination-rows-per-page-select .mdc-list-item.mdc-list-item--with-one-line{height:36px}.mdc-data-table__progress-indicator{display:none;position:absolute;width:100%}.mdc-data-table--in-progress .mdc-data-table__progress-indicator{display:block}.mdc-data-table__scrim{background-color:var(--mdc-theme-surface, #fff);height:100%;opacity:.32;position:absolute;top:0;width:100%}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table-sticky{position:sticky !important}.mat-mdc-table{table-layout:auto;white-space:normal}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table .mat-mdc-row:hover,.mat-mdc-table .mat-mdc-footer-row:hover{background-color:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2}),W})(),ze=(()=>{class W extends s.O_{}return W.\u0275fac=function(){let j;return function(C){return(j||(j=e.n5z(W)))(C||W)}}(),W.\u0275dir=e.lG2({type:W,selectors:[["","matCellDef",""]],features:[e._Bn([{provide:s.O_,useExisting:W}]),e.qOj]}),W})(),Me=(()=>{class W extends s.D5{}return W.\u0275fac=function(){let j;return function(C){return(j||(j=e.n5z(W)))(C||W)}}(),W.\u0275dir=e.lG2({type:W,selectors:[["","matHeaderCellDef",""]],features:[e._Bn([{provide:s.D5,useExisting:W}]),e.qOj]}),W})(),Pe=(()=>{class W extends s.Z4{}return W.\u0275fac=function(){let j;return function(C){return(j||(j=e.n5z(W)))(C||W)}}(),W.\u0275dir=e.lG2({type:W,selectors:[["","matFooterCellDef",""]],features:[e._Bn([{provide:s.Z4,useExisting:W}]),e.qOj]}),W})(),_e=(()=>{class W extends s.fo{get name(){return this._name}set name(H){this._setNameInput(H)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return W.\u0275fac=function(){let j;return function(C){return(j||(j=e.n5z(W)))(C||W)}}(),W.\u0275dir=e.lG2({type:W,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[e._Bn([{provide:s.fo,useExisting:W},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:W}]),e.qOj]}),W})(),ge=(()=>{class W extends s.Af{}return W.\u0275fac=function(){let j;return function(C){return(j||(j=e.n5z(W)))(C||W)}}(),W.\u0275dir=e.lG2({type:W,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[e.qOj]}),W})(),le=(()=>{class W extends s.QJ{}return W.\u0275fac=function(){let j;return function(C){return(j||(j=e.n5z(W)))(C||W)}}(),W.\u0275dir=e.lG2({type:W,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:[1,"mat-mdc-footer-cell","mdc-data-table__cell"],features:[e.qOj]}),W})(),Se=(()=>{class W extends s.hD{}return W.\u0275fac=function(){let j;return function(C){return(j||(j=e.n5z(W)))(C||W)}}(),W.\u0275dir=e.lG2({type:W,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[e.qOj]}),W})(),je=(()=>{class W extends s.s${}return W.\u0275fac=function(){let j;return function(C){return(j||(j=e.n5z(W)))(C||W)}}(),W.\u0275dir=e.lG2({type:W,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[e._Bn([{provide:s.s$,useExisting:W}]),e.qOj]}),W})(),Ke=(()=>{class W extends s.fe{}return W.\u0275fac=function(){let j;return function(C){return(j||(j=e.n5z(W)))(C||W)}}(),W.\u0275dir=e.lG2({type:W,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[e._Bn([{provide:s.fe,useExisting:W}]),e.qOj]}),W})(),Ge=(()=>{class W extends s.Sq{}return W.\u0275fac=function(){let j;return function(C){return(j||(j=e.n5z(W)))(C||W)}}(),W.\u0275dir=e.lG2({type:W,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[e._Bn([{provide:s.Sq,useExisting:W}]),e.qOj]}),W})(),vt=(()=>{class W extends s.xN{}return W.\u0275fac=function(){let j;return function(C){return(j||(j=e.n5z(W)))(C||W)}}(),W.\u0275cmp=e.Xpm({type:W,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[e._Bn([{provide:s.xN,useExisting:W}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(H,C){1&H&&e.GkF(0,0)},dependencies:[s.Kb],encapsulation:2}),W})(),xe=(()=>{class W extends s.qM{}return W.\u0275fac=function(){let j;return function(C){return(j||(j=e.n5z(W)))(C||W)}}(),W.\u0275cmp=e.Xpm({type:W,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-mdc-footer-row","mdc-data-table__row"],exportAs:["matFooterRow"],features:[e._Bn([{provide:s.qM,useExisting:W}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(H,C){1&H&&e.GkF(0,0)},dependencies:[s.Kb],encapsulation:2}),W})(),kt=(()=>{class W extends s._J{}return W.\u0275fac=function(){let j;return function(C){return(j||(j=e.n5z(W)))(C||W)}}(),W.\u0275cmp=e.Xpm({type:W,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[e._Bn([{provide:s._J,useExisting:W}]),e.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(H,C){1&H&&e.GkF(0,0)},dependencies:[s.Kb],encapsulation:2}),W})(),gi=(()=>{class W{}return W.\u0275fac=function(H){return new(H||W)},W.\u0275mod=e.oAB({type:W}),W.\u0275inj=e.cJS({imports:[l.BQ,s.HT,l.BQ]}),W})();class ai extends T.o2{get data(){return this._data.value}set data(j){j=Array.isArray(j)?j:[],this._data.next(j),this._renderChangesSubscription||this._filterData(j)}get filter(){return this._filter.value}set filter(j){this._filter.next(j),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(j){this._sort=j,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(j){this._paginator=j,this._updateChangeSubscription()}constructor(j=[]){super(),this._renderData=new b.X([]),this._filter=new b.X(""),this._internalPageChanges=new O.x,this._renderChangesSubscription=null,this.sortingDataAccessor=(H,C)=>{const Y=H[C];if((0,de.t6)(Y)){const $=Number(Y);return $<9007199254740991?$:Y}return Y},this.sortData=(H,C)=>{const Y=C.active,$=C.direction;return Y&&""!=$?H.sort((we,Fe)=>{let _t=this.sortingDataAccessor(we,Y),it=this.sortingDataAccessor(Fe,Y);const Nt=typeof _t,lt=typeof it;Nt!==lt&&("number"===Nt&&(_t+=""),"number"===lt&&(it+=""));let zt=0;return null!=_t&&null!=it?_t>it?zt=1:_t<it&&(zt=-1):null!=_t?zt=1:null!=it&&(zt=-1),zt*("asc"==$?1:-1)}):H},this.filterPredicate=(H,C)=>{const Y=Object.keys(H).reduce((we,Fe)=>we+H[Fe]+"\u25ec","").toLowerCase(),$=C.trim().toLowerCase();return-1!=Y.indexOf($)},this._data=new b.X(j),this._updateChangeSubscription()}_updateChangeSubscription(){const j=this._sort?(0,X.T)(this._sort.sortChange,this._sort.initialized):(0,q.of)(null),H=this._paginator?(0,X.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,q.of)(null),Y=(0,Ee.a)([this._data,this._filter]).pipe((0,Be.U)(([Fe])=>this._filterData(Fe))),$=(0,Ee.a)([Y,j]).pipe((0,Be.U)(([Fe])=>this._orderData(Fe))),we=(0,Ee.a)([$,H]).pipe((0,Be.U)(([Fe])=>this._pageData(Fe)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=we.subscribe(Fe=>this._renderData.next(Fe))}_filterData(j){return this.filteredData=null==this.filter||""===this.filter?j:j.filter(H=>this.filterPredicate(H,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(j){return this.sort?this.sortData(j.slice(),this.sort):j}_pageData(j){if(!this.paginator)return j;const H=this.paginator.pageIndex*this.paginator.pageSize;return j.slice(H,H+this.paginator.pageSize)}_updatePaginator(j){Promise.resolve().then(()=>{const H=this.paginator;if(H&&(H.length=j,H.pageIndex>0)){const C=Math.ceil(H.length/H.pageSize)-1||0,Y=Math.min(H.pageIndex,C);Y!==H.pageIndex&&(H.pageIndex=Y,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}class ot extends ai{}},3848:(ri,mt,p)=>{p.d(mt,{BU:()=>vi,Nh:()=>et,SP:()=>me,sW:()=>Et,uX:()=>Ut});var e=p(6895),s=p(4650),T=p(3238),l=p(4080),b=p(9643),O=p(2687),X=p(445),q=p(727),Ee=p(7579),de=p(4968),Be=p(9646),he=p(6451),Le=p(515),He=p(9751),Qe=p(5963),pt=p(1135),Re=p(8675),ze=p(1884),Me=p(2722),Pe=p(5698),_e=p(3900),ge=p(5684),le=p(9300),Se=p(7340),je=p(1281),Ke=p(7376),Ge=p(3353),vt=p(9521);function xe(Ve,bt){}const kt=function(Ve){return{animationDuration:Ve}},rt=function(Ve,bt){return{value:Ve,params:bt}};function Wt(Ve,bt){1&Ve&&s.Hsn(0)}const yi=["*"],gi=["tabListContainer"],jt=["tabList"],ai=["tabListInner"],ot=["nextPaginator"],W=["previousPaginator"],j=["tabBodyWrapper"],H=["tabHeader"];function C(Ve,bt){}function Y(Ve,bt){if(1&Ve&&s.YNc(0,C,0,0,"ng-template",14),2&Ve){const fe=s.oxw().$implicit;s.Q6J("cdkPortalOutlet",fe.templateLabel)}}function $(Ve,bt){if(1&Ve&&s._uU(0),2&Ve){const fe=s.oxw().$implicit;s.Oqu(fe.textLabel)}}function we(Ve,bt){if(1&Ve){const fe=s.EpF();s.TgZ(0,"div",6,7),s.NdJ("click",function(){const At=s.CHM(fe),si=At.$implicit,Gi=At.index,nn=s.oxw(),Wi=s.MAs(1);return s.KtG(nn._handleClick(si,Wi,Gi))})("cdkFocusChange",function(At){const Gi=s.CHM(fe).index,nn=s.oxw();return s.KtG(nn._tabFocusChanged(At,Gi))}),s._UZ(2,"span",8)(3,"div",9),s.TgZ(4,"span",10)(5,"span",11),s.YNc(6,Y,1,1,"ng-template",12),s.YNc(7,$,1,1,"ng-template",null,13,s.W1O),s.qZA()()()}if(2&Ve){const fe=bt.$implicit,Ze=bt.index,At=s.MAs(1),si=s.MAs(8),Gi=s.oxw();s.ekj("mdc-tab--active",Gi.selectedIndex===Ze),s.Q6J("id",Gi._getTabLabelId(Ze))("ngClass",fe.labelClass)("disabled",fe.disabled)("fitInkBarToContent",Gi.fitInkBarToContent),s.uIk("tabIndex",Gi._getTabIndex(Ze))("aria-posinset",Ze+1)("aria-setsize",Gi._tabs.length)("aria-controls",Gi._getTabContentId(Ze))("aria-selected",Gi.selectedIndex===Ze)("aria-label",fe.ariaLabel||null)("aria-labelledby",!fe.ariaLabel&&fe.ariaLabelledby?fe.ariaLabelledby:null),s.xp6(3),s.Q6J("matRippleTrigger",At)("matRippleDisabled",fe.disabled||Gi.disableRipple),s.xp6(3),s.Q6J("ngIf",fe.templateLabel)("ngIfElse",si)}}function Fe(Ve,bt){if(1&Ve){const fe=s.EpF();s.TgZ(0,"mat-tab-body",15),s.NdJ("_onCentered",function(){s.CHM(fe);const At=s.oxw();return s.KtG(At._removeTabBodyWrapperHeight())})("_onCentering",function(At){s.CHM(fe);const si=s.oxw();return s.KtG(si._setTabBodyWrapperHeight(At))}),s.qZA()}if(2&Ve){const fe=bt.$implicit,Ze=bt.index,At=s.oxw();s.ekj("mat-mdc-tab-body-active",At.selectedIndex===Ze),s.Q6J("id",At._getTabContentId(Ze))("ngClass",fe.bodyClass)("content",fe.content)("position",fe.position)("origin",fe.origin)("animationDuration",At.animationDuration)("preserveContent",At.preserveContent),s.uIk("tabindex",null!=At.contentTabIndex&&At.selectedIndex===Ze?At.contentTabIndex:null)("aria-labelledby",At._getTabLabelId(Ze))}}const _t=["mat-tab-nav-bar",""],it=["mat-tab-link",""],Nt={translateTab:(0,Se.X$)("translateTab",[(0,Se.SB)("center, void, left-origin-center, right-origin-center",(0,Se.oB)({transform:"none"})),(0,Se.SB)("left",(0,Se.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,Se.SB)("right",(0,Se.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,Se.eR)("* => left, * => right, left => center, right => center",(0,Se.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,Se.eR)("void => left-origin-center",[(0,Se.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,Se.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,Se.eR)("void => right-origin-center",[(0,Se.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,Se.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let lt=(()=>{class Ve extends l.Pl{constructor(fe,Ze,At,si){super(fe,Ze,si),this._host=At,this._centeringSub=q.w0.EMPTY,this._leavingSub=q.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,Re.O)(this._host._isCenterPosition(this._host._position))).subscribe(fe=>{fe&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return Ve.\u0275fac=function(fe){return new(fe||Ve)(s.Y36(s._Vd),s.Y36(s.s_b),s.Y36((0,s.Gpc)(()=>ft)),s.Y36(e.K0))},Ve.\u0275dir=s.lG2({type:Ve,selectors:[["","matTabBodyHost",""]],features:[s.qOj]}),Ve})(),zt=(()=>{class Ve{set position(fe){this._positionIndex=fe,this._computePositionAnimationState()}constructor(fe,Ze,At){this._elementRef=fe,this._dir=Ze,this._dirChangeSubscription=q.w0.EMPTY,this._translateTabComplete=new Ee.x,this._onCentering=new s.vpe,this._beforeCentering=new s.vpe,this._afterLeavingCenter=new s.vpe,this._onCentered=new s.vpe(!0),this.animationDuration="500ms",this.preserveContent=!1,Ze&&(this._dirChangeSubscription=Ze.change.subscribe(si=>{this._computePositionAnimationState(si),At.markForCheck()})),this._translateTabComplete.pipe((0,ze.x)((si,Gi)=>si.fromState===Gi.fromState&&si.toState===Gi.toState)).subscribe(si=>{this._isCenterPosition(si.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(si.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(fe){const Ze=this._isCenterPosition(fe.toState);this._beforeCentering.emit(Ze),Ze&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(fe){return"center"==fe||"left-origin-center"==fe||"right-origin-center"==fe}_computePositionAnimationState(fe=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==fe?"left":"right":this._positionIndex>0?"ltr"==fe?"right":"left":"center"}_computePositionFromOrigin(fe){const Ze=this._getLayoutDirection();return"ltr"==Ze&&fe<=0||"rtl"==Ze&&fe>0?"left-origin-center":"right-origin-center"}}return Ve.\u0275fac=function(fe){return new(fe||Ve)(s.Y36(s.SBq),s.Y36(X.Is,8),s.Y36(s.sBO))},Ve.\u0275dir=s.lG2({type:Ve,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),Ve})(),ft=(()=>{class Ve extends zt{constructor(fe,Ze,At){super(fe,Ze,At)}}return Ve.\u0275fac=function(fe){return new(fe||Ve)(s.Y36(s.SBq),s.Y36(X.Is,8),s.Y36(s.sBO))},Ve.\u0275cmp=s.Xpm({type:Ve,selectors:[["mat-tab-body"]],viewQuery:function(fe,Ze){if(1&fe&&s.Gf(l.Pl,5),2&fe){let At;s.iGM(At=s.CRH())&&(Ze._portalHost=At.first)}},hostAttrs:[1,"mat-mdc-tab-body"],features:[s.qOj],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(fe,Ze){1&fe&&(s.TgZ(0,"div",0,1),s.NdJ("@translateTab.start",function(si){return Ze._onTranslateTabStarted(si)})("@translateTab.done",function(si){return Ze._translateTabComplete.next(si)}),s.YNc(2,xe,0,0,"ng-template",2),s.qZA()),2&fe&&s.Q6J("@translateTab",s.WLB(3,rt,Ze._position,s.VKq(1,kt,Ze.animationDuration)))},dependencies:[lt],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[Nt.translateTab]}}),Ve})();const Pt=new s.OlP("MatTabContent");let li=(()=>{class Ve{constructor(fe){this.template=fe}}return Ve.\u0275fac=function(fe){return new(fe||Ve)(s.Y36(s.Rgc))},Ve.\u0275dir=s.lG2({type:Ve,selectors:[["","matTabContent",""]],features:[s._Bn([{provide:Pt,useExisting:Ve}])]}),Ve})();const oi=new s.OlP("MatTabLabel"),dt=new s.OlP("MAT_TAB");let yt=(()=>{class Ve extends l.ig{constructor(fe,Ze,At){super(fe,Ze),this._closestTab=At}}return Ve.\u0275fac=function(fe){return new(fe||Ve)(s.Y36(s.Rgc),s.Y36(s.s_b),s.Y36(dt,8))},Ve.\u0275dir=s.lG2({type:Ve,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[s._Bn([{provide:oi,useExisting:Ve}]),s.qOj]}),Ve})();const ve="mdc-tab-indicator--active",N="mdc-tab-indicator--no-transition";class re{constructor(bt){this._items=bt}hide(){this._items.forEach(bt=>bt.deactivateInkBar())}alignToElement(bt){const fe=this._items.find(At=>At.elementRef.nativeElement===bt),Ze=this._currentItem;if(Ze?.deactivateInkBar(),fe){const At=Ze?.elementRef.nativeElement.getBoundingClientRect?.();fe.activateInkBar(At),this._currentItem=fe}}}function We(Ve){return class extends Ve{constructor(...bt){super(...bt),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(bt){const fe=(0,je.Ig)(bt);this._fitToContent!==fe&&(this._fitToContent=fe,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(bt){const fe=this.elementRef.nativeElement;if(!bt||!fe.getBoundingClientRect||!this._inkBarContentElement)return void fe.classList.add(ve);const Ze=fe.getBoundingClientRect(),At=bt.width/Ze.width,si=bt.left-Ze.left;fe.classList.add(N),this._inkBarContentElement.style.setProperty("transform",`translateX(${si}px) scaleX(${At})`),fe.getBoundingClientRect(),fe.classList.remove(N),fe.classList.add(ve),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(ve)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const bt=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=bt.createElement("span"),this._inkBarContentElement=bt.createElement("span"),this._inkBarElement.className="mdc-tab-indicator",this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",this._inkBarElement.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement).appendChild(this._inkBarElement)}}}const $t=(0,T.Id)(class{}),Gt=We((()=>{class Ve extends $t{constructor(fe){super(),this.elementRef=fe}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return Ve.\u0275fac=function(fe){return new(fe||Ve)(s.Y36(s.SBq))},Ve.\u0275dir=s.lG2({type:Ve,features:[s.qOj]}),Ve})());let te=(()=>{class Ve extends Gt{}return Ve.\u0275fac=function(){let bt;return function(Ze){return(bt||(bt=s.n5z(Ve)))(Ze||Ve)}}(),Ve.\u0275dir=s.lG2({type:Ve,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(fe,Ze){2&fe&&(s.uIk("aria-disabled",!!Ze.disabled),s.ekj("mat-mdc-tab-disabled",Ze.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[s.qOj]}),Ve})();const Ae=(0,T.Id)(class{}),B=new s.OlP("MAT_TAB_GROUP");let pe=(()=>{class Ve extends Ae{get content(){return this._contentPortal}constructor(fe,Ze){super(),this._viewContainerRef=fe,this._closestTabGroup=Ze,this.textLabel="",this._contentPortal=null,this._stateChanges=new Ee.x,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(fe){(fe.hasOwnProperty("textLabel")||fe.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new l.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(fe){fe&&fe._closestTab===this&&(this._templateLabel=fe)}}return Ve.\u0275fac=function(fe){return new(fe||Ve)(s.Y36(s.s_b),s.Y36(B,8))},Ve.\u0275dir=s.lG2({type:Ve,viewQuery:function(fe,Ze){if(1&fe&&s.Gf(s.Rgc,7),2&fe){let At;s.iGM(At=s.CRH())&&(Ze._implicitContent=At.first)}},inputs:{textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[s.qOj,s.TTD]}),Ve})(),Ut=(()=>{class Ve extends pe{get templateLabel(){return this._templateLabel}set templateLabel(fe){this._setTemplateLabelInput(fe)}}return Ve.\u0275fac=function(){let bt;return function(Ze){return(bt||(bt=s.n5z(Ve)))(Ze||Ve)}}(),Ve.\u0275cmp=s.Xpm({type:Ve,selectors:[["mat-tab"]],contentQueries:function(fe,Ze,At){if(1&fe&&(s.Suo(At,li,7,s.Rgc),s.Suo(At,yt,5)),2&fe){let si;s.iGM(si=s.CRH())&&(Ze._explicitContent=si.first),s.iGM(si=s.CRH())&&(Ze.templateLabel=si.first)}},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[s._Bn([{provide:dt,useExisting:Ve}]),s.qOj],ngContentSelectors:yi,decls:1,vars:0,template:function(fe,Ze){1&fe&&(s.F$t(),s.YNc(0,Wt,1,0,"ng-template"))},encapsulation:2}),Ve})();const Vt=(0,Ge.i$)({passive:!0});let Z=(()=>{class Ve{get disablePagination(){return this._disablePagination}set disablePagination(fe){this._disablePagination=(0,je.Ig)(fe)}get selectedIndex(){return this._selectedIndex}set selectedIndex(fe){fe=(0,je.su)(fe),this._selectedIndex!=fe&&(this._selectedIndexChanged=!0,this._selectedIndex=fe,this._keyManager&&this._keyManager.updateActiveItem(fe))}constructor(fe,Ze,At,si,Gi,nn,Wi){this._elementRef=fe,this._changeDetectorRef=Ze,this._viewportRuler=At,this._dir=si,this._ngZone=Gi,this._platform=nn,this._animationMode=Wi,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new Ee.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new Ee.x,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new s.vpe,this.indexFocused=new s.vpe,Gi.runOutsideAngular(()=>{(0,de.R)(fe.nativeElement,"mouseleave").pipe((0,Me.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){(0,de.R)(this._previousPaginator.nativeElement,"touchstart",Vt).pipe((0,Me.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,de.R)(this._nextPaginator.nativeElement,"touchstart",Vt).pipe((0,Me.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const fe=this._dir?this._dir.change:(0,Be.of)("ltr"),Ze=this._viewportRuler.change(150),At=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new O.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,Pe.q)(1)).subscribe(At),(0,he.T)(fe,Ze,this._items.changes,this._itemsResized()).pipe((0,Me.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),At()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(si=>{this.indexFocused.emit(si),this._setTabFocus(si)})}_itemsResized(){return"function"!=typeof ResizeObserver?Le.E:this._items.changes.pipe((0,Re.O)(this._items),(0,_e.w)(fe=>new He.y(Ze=>this._ngZone.runOutsideAngular(()=>{const At=new ResizeObserver(si=>Ze.next(si));return fe.forEach(si=>At.observe(si.elementRef.nativeElement)),()=>{At.disconnect()}}))),(0,ge.T)(1),(0,le.h)(fe=>fe.some(Ze=>Ze.contentRect.width>0&&Ze.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(fe){if(!(0,vt.Vb)(fe))switch(fe.keyCode){case vt.K5:case vt.L_:if(this.focusIndex!==this.selectedIndex){const Ze=this._items.get(this.focusIndex);Ze&&!Ze.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(fe))}break;default:this._keyManager.onKeydown(fe)}}_onContentChanges(){const fe=this._elementRef.nativeElement.textContent;fe!==this._currentTextContent&&(this._currentTextContent=fe||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(fe){!this._isValidIndex(fe)||this.focusIndex===fe||!this._keyManager||this._keyManager.setActiveItem(fe)}_isValidIndex(fe){return!this._items||!!this._items.toArray()[fe]}_setTabFocus(fe){if(this._showPaginationControls&&this._scrollToLabel(fe),this._items&&this._items.length){this._items.toArray()[fe].focus();const Ze=this._tabListContainer.nativeElement;Ze.scrollLeft="ltr"==this._getLayoutDirection()?0:Ze.scrollWidth-Ze.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const fe=this.scrollDistance,Ze="ltr"===this._getLayoutDirection()?-fe:fe;this._tabList.nativeElement.style.transform=`translateX(${Math.round(Ze)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(fe){this._scrollTo(fe)}_scrollHeader(fe){return this._scrollTo(this._scrollDistance+("before"==fe?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(fe){this._stopInterval(),this._scrollHeader(fe)}_scrollToLabel(fe){if(this.disablePagination)return;const Ze=this._items?this._items.toArray()[fe]:null;if(!Ze)return;const At=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:si,offsetWidth:Gi}=Ze.elementRef.nativeElement;let nn,Wi;"ltr"==this._getLayoutDirection()?(nn=si,Wi=nn+Gi):(Wi=this._tabListInner.nativeElement.offsetWidth-si,nn=Wi-Gi);const Un=this.scrollDistance,to=this.scrollDistance+At;nn<Un?this.scrollDistance-=Un-nn:Wi>to&&(this.scrollDistance+=Math.min(Wi-to,nn-Un))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const fe=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;fe||(this.scrollDistance=0),fe!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=fe}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const fe=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,Ze=fe?fe.elementRef.nativeElement:null;Ze?this._inkBar.alignToElement(Ze):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(fe,Ze){Ze&&null!=Ze.button&&0!==Ze.button||(this._stopInterval(),(0,Qe.H)(650,100).pipe((0,Me.R)((0,he.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:At,distance:si}=this._scrollHeader(fe);(0===si||si>=At)&&this._stopInterval()}))}_scrollTo(fe){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const Ze=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(Ze,fe)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:Ze,distance:this._scrollDistance}}}return Ve.\u0275fac=function(fe){return new(fe||Ve)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(Ke.rL),s.Y36(X.Is,8),s.Y36(s.R0b),s.Y36(Ge.t4),s.Y36(s.QbO,8))},Ve.\u0275dir=s.lG2({type:Ve,inputs:{disablePagination:"disablePagination"}}),Ve})(),ke=(()=>{class Ve extends Z{get disableRipple(){return this._disableRipple}set disableRipple(fe){this._disableRipple=(0,je.Ig)(fe)}constructor(fe,Ze,At,si,Gi,nn,Wi){super(fe,Ze,At,si,Gi,nn,Wi),this._disableRipple=!1}_itemSelected(fe){fe.preventDefault()}}return Ve.\u0275fac=function(fe){return new(fe||Ve)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(Ke.rL),s.Y36(X.Is,8),s.Y36(s.R0b),s.Y36(Ge.t4),s.Y36(s.QbO,8))},Ve.\u0275dir=s.lG2({type:Ve,inputs:{disableRipple:"disableRipple"},features:[s.qOj]}),Ve})(),gt=(()=>{class Ve extends ke{constructor(fe,Ze,At,si,Gi,nn,Wi){super(fe,Ze,At,si,Gi,nn,Wi)}ngAfterContentInit(){this._inkBar=new re(this._items),super.ngAfterContentInit()}}return Ve.\u0275fac=function(fe){return new(fe||Ve)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(Ke.rL),s.Y36(X.Is,8),s.Y36(s.R0b),s.Y36(Ge.t4),s.Y36(s.QbO,8))},Ve.\u0275cmp=s.Xpm({type:Ve,selectors:[["mat-tab-header"]],contentQueries:function(fe,Ze,At){if(1&fe&&s.Suo(At,te,4),2&fe){let si;s.iGM(si=s.CRH())&&(Ze._items=si)}},viewQuery:function(fe,Ze){if(1&fe&&(s.Gf(gi,7),s.Gf(jt,7),s.Gf(ai,7),s.Gf(ot,5),s.Gf(W,5)),2&fe){let At;s.iGM(At=s.CRH())&&(Ze._tabListContainer=At.first),s.iGM(At=s.CRH())&&(Ze._tabList=At.first),s.iGM(At=s.CRH())&&(Ze._tabListInner=At.first),s.iGM(At=s.CRH())&&(Ze._nextPaginator=At.first),s.iGM(At=s.CRH())&&(Ze._previousPaginator=At.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(fe,Ze){2&fe&&s.ekj("mat-mdc-tab-header-pagination-controls-enabled",Ze._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==Ze._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[s.qOj],ngContentSelectors:yi,decls:13,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(fe,Ze){1&fe&&(s.F$t(),s.TgZ(0,"button",0,1),s.NdJ("click",function(){return Ze._handlePaginatorClick("before")})("mousedown",function(si){return Ze._handlePaginatorPress("before",si)})("touchend",function(){return Ze._stopInterval()}),s._UZ(2,"div",2),s.qZA(),s.TgZ(3,"div",3,4),s.NdJ("keydown",function(si){return Ze._handleKeydown(si)}),s.TgZ(5,"div",5,6),s.NdJ("cdkObserveContent",function(){return Ze._onContentChanges()}),s.TgZ(7,"div",7,8),s.Hsn(9),s.qZA()()(),s.TgZ(10,"button",9,10),s.NdJ("mousedown",function(si){return Ze._handlePaginatorPress("after",si)})("click",function(){return Ze._handlePaginatorClick("after")})("touchend",function(){return Ze._stopInterval()}),s._UZ(12,"div",2),s.qZA()),2&fe&&(s.ekj("mat-mdc-tab-header-pagination-disabled",Ze._disableScrollBefore),s.Q6J("matRippleDisabled",Ze._disableScrollBefore||Ze.disableRipple)("disabled",Ze._disableScrollBefore||null),s.xp6(3),s.ekj("_mat-animation-noopable","NoopAnimations"===Ze._animationMode),s.xp6(7),s.ekj("mat-mdc-tab-header-pagination-disabled",Ze._disableScrollAfter),s.Q6J("matRippleDisabled",Ze._disableScrollAfter||Ze.disableRipple)("disabled",Ze._disableScrollAfter||null))},dependencies:[T.wG,b.wD],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2}),Ve})();const Rt=new s.OlP("MAT_TABS_CONFIG");let se=0;const z=(0,T.pj)((0,T.Kr)(class{constructor(Ve){this._elementRef=Ve}}),"primary");let A=(()=>{class Ve extends z{get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(fe){this._dynamicHeight=(0,je.Ig)(fe)}get selectedIndex(){return this._selectedIndex}set selectedIndex(fe){this._indexToSelect=(0,je.su)(fe,null)}get animationDuration(){return this._animationDuration}set animationDuration(fe){this._animationDuration=/^\d+$/.test(fe+"")?fe+"ms":fe}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(fe){this._contentTabIndex=(0,je.su)(fe,null)}get disablePagination(){return this._disablePagination}set disablePagination(fe){this._disablePagination=(0,je.Ig)(fe)}get preserveContent(){return this._preserveContent}set preserveContent(fe){this._preserveContent=(0,je.Ig)(fe)}get backgroundColor(){return this._backgroundColor}set backgroundColor(fe){const Ze=this._elementRef.nativeElement.classList;Ze.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),fe&&Ze.add("mat-tabs-with-background",`mat-background-${fe}`),this._backgroundColor=fe}constructor(fe,Ze,At,si){super(fe),this._changeDetectorRef=Ze,this._animationMode=si,this._tabs=new s.n_E,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=q.w0.EMPTY,this._tabLabelSubscription=q.w0.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new s.vpe,this.focusChange=new s.vpe,this.animationDone=new s.vpe,this.selectedTabChange=new s.vpe(!0),this._groupId=se++,this.animationDuration=At&&At.animationDuration?At.animationDuration:"500ms",this.disablePagination=!(!At||null==At.disablePagination)&&At.disablePagination,this.dynamicHeight=!(!At||null==At.dynamicHeight)&&At.dynamicHeight,this.contentTabIndex=At?.contentTabIndex??null,this.preserveContent=!!At?.preserveContent}ngAfterContentChecked(){const fe=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=fe){const Ze=null==this._selectedIndex;if(!Ze){this.selectedTabChange.emit(this._createChangeEvent(fe));const At=this._tabBodyWrapper.nativeElement;At.style.minHeight=At.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((At,si)=>At.isActive=si===fe),Ze||(this.selectedIndexChange.emit(fe),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((Ze,At)=>{Ze.position=At-fe,null!=this._selectedIndex&&0==Ze.position&&!Ze.origin&&(Ze.origin=fe-this._selectedIndex)}),this._selectedIndex!==fe&&(this._selectedIndex=fe,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const fe=this._clampTabIndex(this._indexToSelect);if(fe===this._selectedIndex){const Ze=this._tabs.toArray();let At;for(let si=0;si<Ze.length;si++)if(Ze[si].isActive){this._indexToSelect=this._selectedIndex=si,this._lastFocusedTabIndex=null,At=Ze[si];break}!At&&Ze[fe]&&Promise.resolve().then(()=>{Ze[fe].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(fe))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,Re.O)(this._allTabs)).subscribe(fe=>{this._tabs.reset(fe.filter(Ze=>Ze._closestTabGroup===this||!Ze._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(fe){const Ze=this._tabHeader;Ze&&(Ze.focusIndex=fe)}_focusChanged(fe){this._lastFocusedTabIndex=fe,this.focusChange.emit(this._createChangeEvent(fe))}_createChangeEvent(fe){const Ze=new Ye;return Ze.index=fe,this._tabs&&this._tabs.length&&(Ze.tab=this._tabs.toArray()[fe]),Ze}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,he.T)(...this._tabs.map(fe=>fe._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(fe){return Math.min(this._tabs.length-1,Math.max(fe||0,0))}_getTabLabelId(fe){return`mat-tab-label-${this._groupId}-${fe}`}_getTabContentId(fe){return`mat-tab-content-${this._groupId}-${fe}`}_setTabBodyWrapperHeight(fe){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const Ze=this._tabBodyWrapper.nativeElement;Ze.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(Ze.style.height=fe+"px")}_removeTabBodyWrapperHeight(){const fe=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=fe.clientHeight,fe.style.height="",this.animationDone.emit()}_handleClick(fe,Ze,At){Ze.focusIndex=At,fe.disabled||(this.selectedIndex=At)}_getTabIndex(fe){return fe===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(fe,Ze){fe&&"mouse"!==fe&&"touch"!==fe&&(this._tabHeader.focusIndex=Ze)}}return Ve.\u0275fac=function(fe){return new(fe||Ve)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(Rt,8),s.Y36(s.QbO,8))},Ve.\u0275dir=s.lG2({type:Ve,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[s.qOj]}),Ve})(),me=(()=>{class Ve extends A{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(fe){this._fitInkBarToContent=(0,je.Ig)(fe),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(fe){this._stretchTabs=(0,je.Ig)(fe)}constructor(fe,Ze,At,si){super(fe,Ze,At,si),this._fitInkBarToContent=!1,this._stretchTabs=!0,this.fitInkBarToContent=!(!At||null==At.fitInkBarToContent)&&At.fitInkBarToContent}}return Ve.\u0275fac=function(fe){return new(fe||Ve)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(Rt,8),s.Y36(s.QbO,8))},Ve.\u0275cmp=s.Xpm({type:Ve,selectors:[["mat-tab-group"]],contentQueries:function(fe,Ze,At){if(1&fe&&s.Suo(At,Ut,5),2&fe){let si;s.iGM(si=s.CRH())&&(Ze._allTabs=si)}},viewQuery:function(fe,Ze){if(1&fe&&(s.Gf(j,5),s.Gf(H,5)),2&fe){let At;s.iGM(At=s.CRH())&&(Ze._tabBodyWrapper=At.first),s.iGM(At=s.CRH())&&(Ze._tabHeader=At.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:6,hostBindings:function(fe,Ze){2&fe&&s.ekj("mat-mdc-tab-group-dynamic-height",Ze.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===Ze.headerPosition)("mat-mdc-tab-group-stretch-tabs",Ze.stretchTabs)},inputs:{color:"color",disableRipple:"disableRipple",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabGroup"],features:[s._Bn([{provide:B,useExisting:Ve}]),s.qOj],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mdc-tab mat-mdc-tab mat-mdc-focus-indicator","role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",3,"id","mdc-tab--active","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-mdc-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-mdc-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange"],["tabNode",""],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(fe,Ze){1&fe&&(s.TgZ(0,"mat-tab-header",0,1),s.NdJ("indexFocused",function(si){return Ze._focusChanged(si)})("selectFocusedIndex",function(si){return Ze.selectedIndex=si}),s.YNc(2,we,9,17,"div",2),s.qZA(),s.TgZ(3,"div",3,4),s.YNc(5,Fe,1,11,"mat-tab-body",5),s.qZA()),2&fe&&(s.Q6J("selectedIndex",Ze.selectedIndex||0)("disableRipple",Ze.disableRipple)("disablePagination",Ze.disablePagination),s.xp6(2),s.Q6J("ngForOf",Ze._tabs),s.xp6(1),s.ekj("_mat-animation-noopable","NoopAnimations"===Ze._animationMode),s.xp6(2),s.Q6J("ngForOf",Ze._tabs))},dependencies:[e.mk,e.sg,e.O5,l.Pl,T.wG,O.kH,ft,te,gt],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator .mdc-tab-indicator__content--underline{border-top-width:2px}.mdc-tab-indicator .mdc-tab-indicator__content--icon{height:34px;font-size:34px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-tab.mdc-tab{height:48px;flex-grow:0}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none}.mat-mdc-tab .mdc-tab__text-label{display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-disabled{opacity:.4}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-mdc-tab-header-with-background-background-color, transparent)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab-indicator__content--underline,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before{border-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{border-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2}),Ve})();class Ye{}let Ot=0,ii=(()=>{class Ve extends Z{get backgroundColor(){return this._backgroundColor}set backgroundColor(fe){const Ze=this._elementRef.nativeElement.classList;Ze.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),fe&&Ze.add("mat-tabs-with-background",`mat-background-${fe}`),this._backgroundColor=fe}get disableRipple(){return this._disableRipple}set disableRipple(fe){this._disableRipple=(0,je.Ig)(fe)}constructor(fe,Ze,At,si,Gi,nn,Wi){super(fe,si,Gi,Ze,At,nn,Wi),this._disableRipple=!1,this.color="primary"}_itemSelected(){}ngAfterContentInit(){this._items.changes.pipe((0,Re.O)(null),(0,Me.R)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}updateActiveLink(){if(!this._items)return;const fe=this._items.toArray();for(let Ze=0;Ze<fe.length;Ze++)if(fe[Ze].active)return this.selectedIndex=Ze,this._changeDetectorRef.markForCheck(),void(this.tabPanel&&(this.tabPanel._activeTabId=fe[Ze].id));this.selectedIndex=-1,this._inkBar.hide()}_getRole(){return this.tabPanel?"tablist":this._elementRef.nativeElement.getAttribute("role")}}return Ve.\u0275fac=function(fe){return new(fe||Ve)(s.Y36(s.SBq),s.Y36(X.Is,8),s.Y36(s.R0b),s.Y36(s.sBO),s.Y36(Ke.rL),s.Y36(Ge.t4),s.Y36(s.QbO,8))},Ve.\u0275dir=s.lG2({type:Ve,inputs:{backgroundColor:"backgroundColor",disableRipple:"disableRipple",color:"color",tabPanel:"tabPanel"},features:[s.qOj]}),Ve})();const Ci=(0,T.sb)((0,T.Kr)((0,T.Id)(class{}))),Fi=We((()=>{class Ve extends Ci{get active(){return this._isActive}set active(fe){const Ze=(0,je.Ig)(fe);Ze!==this._isActive&&(this._isActive=Ze,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}constructor(fe,Ze,At,si,Gi,nn){super(),this._tabNavBar=fe,this.elementRef=Ze,this._focusMonitor=Gi,this._isActive=!1,this.id="mat-tab-link-"+Ot++,this.rippleConfig=At||{},this.tabIndex=parseInt(si)||0,"NoopAnimations"===nn&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(fe){this._tabNavBar.tabPanel&&fe.keyCode===vt.L_&&this.elementRef.nativeElement.click()}_getAriaControls(){return this._tabNavBar.tabPanel?this._tabNavBar.tabPanel?.id:this.elementRef.nativeElement.getAttribute("aria-controls")}_getAriaSelected(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")}_getAriaCurrent(){return this.active&&!this._tabNavBar.tabPanel?"page":null}_getRole(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")}_getTabIndex(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.tabIndex}}return Ve.\u0275fac=function(fe){return new(fe||Ve)(s.Y36(ii),s.Y36(s.SBq),s.Y36(T.Y2,8),s.$8M("tabindex"),s.Y36(O.tE),s.Y36(s.QbO,8))},Ve.\u0275dir=s.lG2({type:Ve,inputs:{active:"active",id:"id"},features:[s.qOj]}),Ve})());let vi=(()=>{class Ve extends ii{get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(fe){this._fitInkBarToContent.next((0,je.Ig)(fe)),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(fe){this._stretchTabs=(0,je.Ig)(fe)}constructor(fe,Ze,At,si,Gi,nn,Wi,Un){super(fe,Ze,At,si,Gi,nn,Wi),this._fitInkBarToContent=new pt.X(!1),this._stretchTabs=!0,this.disablePagination=!(!Un||null==Un.disablePagination)&&Un.disablePagination,this.fitInkBarToContent=!(!Un||null==Un.fitInkBarToContent)&&Un.fitInkBarToContent}ngAfterContentInit(){this._inkBar=new re(this._items),super.ngAfterContentInit()}ngAfterViewInit(){super.ngAfterViewInit()}}return Ve.\u0275fac=function(fe){return new(fe||Ve)(s.Y36(s.SBq),s.Y36(X.Is,8),s.Y36(s.R0b),s.Y36(s.sBO),s.Y36(Ke.rL),s.Y36(Ge.t4),s.Y36(s.QbO,8),s.Y36(Rt,8))},Ve.\u0275cmp=s.Xpm({type:Ve,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(fe,Ze,At){if(1&fe&&s.Suo(At,Lt,5),2&fe){let si;s.iGM(si=s.CRH())&&(Ze._items=si)}},viewQuery:function(fe,Ze){if(1&fe&&(s.Gf(gi,7),s.Gf(jt,7),s.Gf(ai,7),s.Gf(ot,5),s.Gf(W,5)),2&fe){let At;s.iGM(At=s.CRH())&&(Ze._tabListContainer=At.first),s.iGM(At=s.CRH())&&(Ze._tabList=At.first),s.iGM(At=s.CRH())&&(Ze._tabListInner=At.first),s.iGM(At=s.CRH())&&(Ze._nextPaginator=At.first),s.iGM(At=s.CRH())&&(Ze._previousPaginator=At.first)}},hostAttrs:[1,"mat-mdc-tab-nav-bar","mat-mdc-tab-header"],hostVars:15,hostBindings:function(fe,Ze){2&fe&&(s.uIk("role",Ze._getRole()),s.ekj("mat-mdc-tab-header-pagination-controls-enabled",Ze._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==Ze._getLayoutDirection())("mat-mdc-tab-nav-bar-stretch-tabs",Ze.stretchTabs)("mat-primary","warn"!==Ze.color&&"accent"!==Ze.color)("mat-accent","accent"===Ze.color)("mat-warn","warn"===Ze.color)("_mat-animation-noopable","NoopAnimations"===Ze._animationMode))},inputs:{color:"color",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabNavBar","matTabNav"],features:[s.qOj],attrs:_t,ngContentSelectors:yi,decls:13,vars:8,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-link-container",3,"keydown"],["tabListContainer",""],[1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-links"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(fe,Ze){1&fe&&(s.F$t(),s.TgZ(0,"button",0,1),s.NdJ("click",function(){return Ze._handlePaginatorClick("before")})("mousedown",function(si){return Ze._handlePaginatorPress("before",si)})("touchend",function(){return Ze._stopInterval()}),s._UZ(2,"div",2),s.qZA(),s.TgZ(3,"div",3,4),s.NdJ("keydown",function(si){return Ze._handleKeydown(si)}),s.TgZ(5,"div",5,6),s.NdJ("cdkObserveContent",function(){return Ze._onContentChanges()}),s.TgZ(7,"div",7,8),s.Hsn(9),s.qZA()()(),s.TgZ(10,"button",9,10),s.NdJ("mousedown",function(si){return Ze._handlePaginatorPress("after",si)})("click",function(){return Ze._handlePaginatorClick("after")})("touchend",function(){return Ze._stopInterval()}),s._UZ(12,"div",2),s.qZA()),2&fe&&(s.ekj("mat-mdc-tab-header-pagination-disabled",Ze._disableScrollBefore),s.Q6J("matRippleDisabled",Ze._disableScrollBefore||Ze.disableRipple)("disabled",Ze._disableScrollBefore||null),s.xp6(10),s.ekj("mat-mdc-tab-header-pagination-disabled",Ze._disableScrollAfter),s.Q6J("matRippleDisabled",Ze._disableScrollAfter||Ze.disableRipple)("disabled",Ze._disableScrollAfter||null))},dependencies:[T.wG,b.wD],styles:[".mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator .mdc-tab-indicator__content--underline{border-top-width:2px}.mdc-tab-indicator .mdc-tab-indicator__content--icon{height:34px;font-size:34px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-links{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-mdc-tab-header-with-background-background-color, transparent)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab .mdc-tab__text-label,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-focus-indicator::before{border-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{border-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}"],encapsulation:2}),Ve})(),Lt=(()=>{class Ve extends Fi{constructor(fe,Ze,At,si,Gi,nn){super(fe,Ze,At,si,Gi,nn),this._destroyed=new Ee.x,fe._fitInkBarToContent.pipe((0,Me.R)(this._destroyed)).subscribe(Wi=>{this.fitInkBarToContent=Wi})}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy()}}return Ve.\u0275fac=function(fe){return new(fe||Ve)(s.Y36(vi),s.Y36(s.SBq),s.Y36(T.Y2,8),s.$8M("tabindex"),s.Y36(O.tE),s.Y36(s.QbO,8))},Ve.\u0275cmp=s.Xpm({type:Ve,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-mdc-focus-indicator"],hostVars:11,hostBindings:function(fe,Ze){1&fe&&s.NdJ("focus",function(){return Ze._handleFocus()})("keydown",function(si){return Ze._handleKeydown(si)}),2&fe&&(s.uIk("aria-controls",Ze._getAriaControls())("aria-current",Ze._getAriaCurrent())("aria-disabled",Ze.disabled)("aria-selected",Ze._getAriaSelected())("id",Ze.id)("tabIndex",Ze._getTabIndex())("role",Ze._getRole()),s.ekj("mat-mdc-tab-disabled",Ze.disabled)("mdc-tab--active",Ze.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",active:"active",id:"id"},exportAs:["matTabLink"],features:[s.qOj],attrs:it,ngContentSelectors:yi,decls:5,vars:2,consts:[[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"]],template:function(fe,Ze){1&fe&&(s.F$t(),s._UZ(0,"span",0)(1,"div",1),s.TgZ(2,"span",2)(3,"span",3),s.Hsn(4),s.qZA()()),2&fe&&(s.xp6(1),s.Q6J("matRippleTrigger",Ze.elementRef.nativeElement)("matRippleDisabled",Ze.rippleDisabled))},dependencies:[T.wG],styles:['.mat-mdc-tab-link{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-tab-link.mdc-tab{height:48px;flex-grow:0}.mat-mdc-tab-link .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none}.mat-mdc-tab-link .mdc-tab__text-label{display:inline-flex;align-items:center}.mat-mdc-tab-link .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12}.mat-mdc-tab-link.mat-mdc-tab-disabled{pointer-events:none;opacity:.4}.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link{flex-grow:1}.mat-mdc-tab-link::before{margin:5px}@media(max-width: 599px){.mat-mdc-tab-link{min-width:72px}}'],encapsulation:2,changeDetection:0}),Ve})(),Et=(()=>{class Ve{constructor(){this.id="mat-tab-nav-panel-"+Ot++}}return Ve.\u0275fac=function(fe){return new(fe||Ve)},Ve.\u0275cmp=s.Xpm({type:Ve,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(fe,Ze){2&fe&&s.uIk("aria-labelledby",Ze._activeTabId)("id",Ze.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:yi,decls:1,vars:0,template:function(fe,Ze){1&fe&&(s.F$t(),s.Hsn(0))},encapsulation:2,changeDetection:0}),Ve})(),et=(()=>{class Ve{}return Ve.\u0275fac=function(fe){return new(fe||Ve)},Ve.\u0275mod=s.oAB({type:Ve}),Ve.\u0275inj=s.cJS({imports:[e.ez,T.BQ,l.eL,T.si,b.Q8,O.rt,T.BQ]}),Ve})()},266:(ri,mt,p)=>{p.d(mt,{AV:()=>ot,gM:()=>yi});var e=p(2722),s=p(5698),T=p(1281),l=p(9521),b=p(4650),O=p(6895),X=p(3353),q=p(2687),Ee=p(445),de=p(8184),Be=p(7376),he=p(4080),Le=p(7579),Qe=(p(7340),p(3238));const pt=["tooltip"],Me=new b.OlP("mat-tooltip-scroll-strategy"),_e={provide:Me,deps:[de.aV],useFactory:function Pe(W){return()=>W.scrollStrategies.reposition({scrollThrottle:20})}},le=new b.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function ge(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),je="tooltip-panel",Ke=(0,X.i$)({passive:!0});let Wt=(()=>{class W{get position(){return this._position}set position(H){H!==this._position&&(this._position=H,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(H){this._positionAtOrigin=(0,T.Ig)(H),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(H){this._disabled=(0,T.Ig)(H),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(H){this._showDelay=(0,T.su)(H)}get hideDelay(){return this._hideDelay}set hideDelay(H){this._hideDelay=(0,T.su)(H),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(H){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=H?String(H).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(H){this._tooltipClass=H,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(H,C,Y,$,we,Fe,_t,it,Nt,lt,zt,ft){this._overlay=H,this._elementRef=C,this._scrollDispatcher=Y,this._viewContainerRef=$,this._ngZone=we,this._platform=Fe,this._ariaDescriber=_t,this._focusMonitor=it,this._dir=lt,this._defaultOptions=zt,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new Le.x,this._scrollStrategy=Nt,this._document=ft,zt&&(zt.position&&(this.position=zt.position),zt.positionAtOrigin&&(this.positionAtOrigin=zt.positionAtOrigin),zt.touchGestures&&(this.touchGestures=zt.touchGestures)),lt.change.pipe((0,e.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,e.R)(this._destroyed)).subscribe(H=>{H?"keyboard"===H&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const H=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([C,Y])=>{H.removeEventListener(C,Y,Ke)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(H,this.message,"tooltip"),this._focusMonitor.stopMonitoring(H)}show(H=this.showDelay,C){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const Y=this._createOverlay(C);this._detach(),this._portal=this._portal||new he.C5(this._tooltipComponent,this._viewContainerRef);const $=this._tooltipInstance=Y.attach(this._portal).instance;$._triggerElement=this._elementRef.nativeElement,$._mouseLeaveHideDelay=this._hideDelay,$.afterHidden().pipe((0,e.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),$.show(H)}hide(H=this.hideDelay){const C=this._tooltipInstance;C&&(C.isVisible()?C.hide(H):(C._cancelPendingAnimations(),this._detach()))}toggle(H){this._isTooltipVisible()?this.hide():this.show(void 0,H)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(H){if(this._overlayRef){const $=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!H)&&$._origin instanceof b.SBq)return this._overlayRef;this._detach()}const C=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),Y=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&H||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(C);return Y.positionChanges.pipe((0,e.R)(this._destroyed)).subscribe($=>{this._updateCurrentPositionClass($.connectionPair),this._tooltipInstance&&$.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:Y,panelClass:`${this._cssClassPrefix}-${je}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,e.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,e.R)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,e.R)(this._destroyed)).subscribe($=>{this._isTooltipVisible()&&$.keyCode===l.hY&&!(0,l.Vb)($)&&($.preventDefault(),$.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(H){const C=H.getConfig().positionStrategy,Y=this._getOrigin(),$=this._getOverlayPosition();C.withPositions([this._addOffset({...Y.main,...$.main}),this._addOffset({...Y.fallback,...$.fallback})])}_addOffset(H){return H}_getOrigin(){const H=!this._dir||"ltr"==this._dir.value,C=this.position;let Y;"above"==C||"below"==C?Y={originX:"center",originY:"above"==C?"top":"bottom"}:"before"==C||"left"==C&&H||"right"==C&&!H?Y={originX:"start",originY:"center"}:("after"==C||"right"==C&&H||"left"==C&&!H)&&(Y={originX:"end",originY:"center"});const{x:$,y:we}=this._invertPosition(Y.originX,Y.originY);return{main:Y,fallback:{originX:$,originY:we}}}_getOverlayPosition(){const H=!this._dir||"ltr"==this._dir.value,C=this.position;let Y;"above"==C?Y={overlayX:"center",overlayY:"bottom"}:"below"==C?Y={overlayX:"center",overlayY:"top"}:"before"==C||"left"==C&&H||"right"==C&&!H?Y={overlayX:"end",overlayY:"center"}:("after"==C||"right"==C&&H||"left"==C&&!H)&&(Y={overlayX:"start",overlayY:"center"});const{x:$,y:we}=this._invertPosition(Y.overlayX,Y.overlayY);return{main:Y,fallback:{overlayX:$,overlayY:we}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,s.q)(1),(0,e.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(H){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=H,this._tooltipInstance._markForCheck())}_invertPosition(H,C){return"above"===this.position||"below"===this.position?"top"===C?C="bottom":"bottom"===C&&(C="top"):"end"===H?H="start":"start"===H&&(H="end"),{x:H,y:C}}_updateCurrentPositionClass(H){const{overlayY:C,originX:Y,originY:$}=H;let we;if(we="center"===C?this._dir&&"rtl"===this._dir.value?"end"===Y?"left":"right":"start"===Y?"left":"right":"bottom"===C&&"top"===$?"above":"below",we!==this._currentPosition){const Fe=this._overlayRef;if(Fe){const _t=`${this._cssClassPrefix}-${je}-`;Fe.removePanelClass(_t+this._currentPosition),Fe.addPanelClass(_t+we)}this._currentPosition=we}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",H=>{let C;this._setupPointerExitEventsIfNeeded(),void 0!==H.x&&void 0!==H.y&&(C=H),this.show(void 0,C)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",H=>{const C=H.targetTouches?.[0],Y=C?{x:C.clientX,y:C.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,Y),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const H=[];if(this._platformSupportsMouseEvents())H.push(["mouseleave",C=>{const Y=C.relatedTarget;(!Y||!this._overlayRef?.overlayElement.contains(Y))&&this.hide()}],["wheel",C=>this._wheelListener(C)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const C=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};H.push(["touchend",C],["touchcancel",C])}this._addListeners(H),this._passiveListeners.push(...H)}_addListeners(H){H.forEach(([C,Y])=>{this._elementRef.nativeElement.addEventListener(C,Y,Ke)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(H){if(this._isTooltipVisible()){const C=this._document.elementFromPoint(H.clientX,H.clientY),Y=this._elementRef.nativeElement;C!==Y&&!Y.contains(C)&&this.hide()}}_disableNativeGesturesIfNecessary(){const H=this.touchGestures;if("off"!==H){const C=this._elementRef.nativeElement,Y=C.style;("on"===H||"INPUT"!==C.nodeName&&"TEXTAREA"!==C.nodeName)&&(Y.userSelect=Y.msUserSelect=Y.webkitUserSelect=Y.MozUserSelect="none"),("on"===H||!C.draggable)&&(Y.webkitUserDrag="none"),Y.touchAction="none",Y.webkitTapHighlightColor="transparent"}}}return W.\u0275fac=function(H){b.$Z()},W.\u0275dir=b.lG2({type:W,inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),W})(),yi=(()=>{class W extends Wt{constructor(H,C,Y,$,we,Fe,_t,it,Nt,lt,zt,ft){super(H,C,Y,$,we,Fe,_t,it,Nt,lt,zt,ft),this._tooltipComponent=jt,this._cssClassPrefix="mat-mdc",this._viewportMargin=8}_addOffset(H){const Y=!this._dir||"ltr"==this._dir.value;return"top"===H.originY?H.offsetY=-8:"bottom"===H.originY?H.offsetY=8:"start"===H.originX?H.offsetX=Y?-8:8:"end"===H.originX&&(H.offsetX=Y?8:-8),H}}return W.\u0275fac=function(H){return new(H||W)(b.Y36(de.aV),b.Y36(b.SBq),b.Y36(Be.mF),b.Y36(b.s_b),b.Y36(b.R0b),b.Y36(X.t4),b.Y36(q.$s),b.Y36(q.tE),b.Y36(Me),b.Y36(Ee.Is,8),b.Y36(le,8),b.Y36(O.K0))},W.\u0275dir=b.lG2({type:W,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],exportAs:["matTooltip"],features:[b.qOj]}),W})(),gi=(()=>{class W{constructor(H,C){this._changeDetectorRef=H,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new Le.x,this._animationsDisabled="NoopAnimations"===C}show(H){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},H)}hide(H){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},H)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:H}){(!H||!this._triggerElement.contains(H))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:H}){(H===this._showAnimation||H===this._hideAnimation)&&this._finalizeAnimation(H===this._showAnimation)}_cancelPendingAnimations(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(H){H?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(H){const C=this._tooltip.nativeElement,Y=this._showAnimation,$=this._hideAnimation;if(C.classList.remove(H?$:Y),C.classList.add(H?Y:$),this._isVisible=H,H&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const we=getComputedStyle(C);("0s"===we.getPropertyValue("animation-duration")||"none"===we.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}H&&this._onShow(),this._animationsDisabled&&(C.classList.add("_mat-animation-noopable"),this._finalizeAnimation(H))}}return W.\u0275fac=function(H){return new(H||W)(b.Y36(b.sBO),b.Y36(b.QbO,8))},W.\u0275dir=b.lG2({type:W}),W})(),jt=(()=>{class W extends gi{constructor(H,C,Y){super(H,Y),this._elementRef=C,this._isMultiline=!1,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide"}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const H=this._elementRef.nativeElement.getBoundingClientRect();return H.height>24&&H.width>=200}}return W.\u0275fac=function(H){return new(H||W)(b.Y36(b.sBO),b.Y36(b.SBq),b.Y36(b.QbO,8))},W.\u0275cmp=b.Xpm({type:W,selectors:[["mat-tooltip-component"]],viewQuery:function(H,C){if(1&H&&b.Gf(pt,7),2&H){let Y;b.iGM(Y=b.CRH())&&(C._tooltip=Y.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(H,C){1&H&&b.NdJ("mouseleave",function($){return C._handleMouseLeave($)}),2&H&&b.Udp("zoom",C.isVisible()?1:null)},features:[b.qOj],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(H,C){1&H&&(b.TgZ(0,"div",0,1),b.NdJ("animationend",function($){return C._handleAnimationEnd($)}),b.TgZ(2,"div",2),b._uU(3),b.qZA()()),2&H&&(b.ekj("mdc-tooltip--multiline",C._isMultiline),b.Q6J("ngClass",C.tooltipClass),b.xp6(3),b.Oqu(C.message))},dependencies:[O.mk],styles:['.mdc-tooltip__surface{word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - (2 * 8px));margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - (2 * 8px));align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color, #fff)}.mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color, #000)}.mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font, inherit);font-size:var(--mdc-plain-tooltip-supporting-text-size, inherit);font-weight:var(--mdc-plain-tooltip-supporting-text-weight, inherit);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, inherit)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0}),W})(),ot=(()=>{class W{}return W.\u0275fac=function(H){return new(H||W)},W.\u0275mod=b.oAB({type:W}),W.\u0275inj=b.cJS({providers:[_e],imports:[q.rt,O.ez,de.U8,Qe.BQ,Qe.BQ,Be.ZD]}),W})()},1481:(ri,mt,p)=>{p.d(mt,{Dx:()=>Yt,H7:()=>Ci,b2:()=>ve,q6:()=>li,se:()=>rt});var e=p(6895),s=p(4650);class T extends e.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class l extends T{static makeCurrent(){(0,e.HT)(new l)}onAndCancel(Et,et,Ve){return Et.addEventListener(et,Ve,!1),()=>{Et.removeEventListener(et,Ve,!1)}}dispatchEvent(Et,et){Et.dispatchEvent(et)}remove(Et){Et.parentNode&&Et.parentNode.removeChild(Et)}createElement(Et,et){return(et=et||this.getDefaultDocument()).createElement(Et)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Et){return Et.nodeType===Node.ELEMENT_NODE}isShadowRoot(Et){return Et instanceof DocumentFragment}getGlobalEventTarget(Et,et){return"window"===et?window:"document"===et?Et:"body"===et?Et.body:null}getBaseHref(Et){const et=function O(){return b=b||document.querySelector("base"),b?b.getAttribute("href"):null}();return null==et?null:function q(Lt){X=X||document.createElement("a"),X.setAttribute("href",Lt);const Et=X.pathname;return"/"===Et.charAt(0)?Et:`/${Et}`}(et)}resetBaseElement(){b=null}getUserAgent(){return window.navigator.userAgent}getCookie(Et){return(0,e.Mx)(document.cookie,Et)}}let X,b=null;const Ee=new s.OlP("TRANSITION_ID"),Be=[{provide:s.ip1,useFactory:function de(Lt,Et,et){return()=>{et.get(s.CZH).donePromise.then(()=>{const Ve=(0,e.q)(),bt=Et.querySelectorAll(`style[ng-transition="${Lt}"]`);for(let fe=0;fe<bt.length;fe++)Ve.remove(bt[fe])})}},deps:[Ee,e.K0,s.zs3],multi:!0}];let Le=(()=>{class Lt{build(){return new XMLHttpRequest}}return Lt.\u0275fac=function(et){return new(et||Lt)},Lt.\u0275prov=s.Yz7({token:Lt,factory:Lt.\u0275fac}),Lt})();const He=new s.OlP("EventManagerPlugins");let Qe=(()=>{class Lt{constructor(et,Ve){this._zone=Ve,this._eventNameToPlugin=new Map,et.forEach(bt=>{bt.manager=this}),this._plugins=et.slice().reverse()}addEventListener(et,Ve,bt){return this._findPluginFor(Ve).addEventListener(et,Ve,bt)}addGlobalEventListener(et,Ve,bt){return this._findPluginFor(Ve).addGlobalEventListener(et,Ve,bt)}getZone(){return this._zone}_findPluginFor(et){const Ve=this._eventNameToPlugin.get(et);if(Ve)return Ve;const bt=this._plugins;for(let fe=0;fe<bt.length;fe++){const Ze=bt[fe];if(Ze.supports(et))return this._eventNameToPlugin.set(et,Ze),Ze}throw new Error(`No event manager plugin found for event ${et}`)}}return Lt.\u0275fac=function(et){return new(et||Lt)(s.LFG(He),s.LFG(s.R0b))},Lt.\u0275prov=s.Yz7({token:Lt,factory:Lt.\u0275fac}),Lt})();class pt{constructor(Et){this._doc=Et}addGlobalEventListener(Et,et,Ve){const bt=(0,e.q)().getGlobalEventTarget(this._doc,Et);if(!bt)throw new Error(`Unsupported event target ${bt} for event ${et}`);return this.addEventListener(bt,et,Ve)}}let Re=(()=>{class Lt{constructor(){this.usageCount=new Map}addStyles(et){for(const Ve of et)1===this.changeUsageCount(Ve,1)&&this.onStyleAdded(Ve)}removeStyles(et){for(const Ve of et)0===this.changeUsageCount(Ve,-1)&&this.onStyleRemoved(Ve)}onStyleRemoved(et){}onStyleAdded(et){}getAllStyles(){return this.usageCount.keys()}changeUsageCount(et,Ve){const bt=this.usageCount;let fe=bt.get(et)??0;return fe+=Ve,fe>0?bt.set(et,fe):bt.delete(et),fe}ngOnDestroy(){for(const et of this.getAllStyles())this.onStyleRemoved(et);this.usageCount.clear()}}return Lt.\u0275fac=function(et){return new(et||Lt)},Lt.\u0275prov=s.Yz7({token:Lt,factory:Lt.\u0275fac}),Lt})(),ze=(()=>{class Lt extends Re{constructor(et){super(),this.doc=et,this.styleRef=new Map,this.hostNodes=new Set,this.resetHostNodes()}onStyleAdded(et){for(const Ve of this.hostNodes)this.addStyleToHost(Ve,et)}onStyleRemoved(et){const Ve=this.styleRef;Ve.get(et)?.forEach(fe=>fe.remove()),Ve.delete(et)}ngOnDestroy(){super.ngOnDestroy(),this.styleRef.clear(),this.resetHostNodes()}addHost(et){this.hostNodes.add(et);for(const Ve of this.getAllStyles())this.addStyleToHost(et,Ve)}removeHost(et){this.hostNodes.delete(et)}addStyleToHost(et,Ve){const bt=this.doc.createElement("style");bt.textContent=Ve,et.appendChild(bt);const fe=this.styleRef.get(Ve);fe?fe.push(bt):this.styleRef.set(Ve,[bt])}resetHostNodes(){const et=this.hostNodes;et.clear(),et.add(this.doc.head)}}return Lt.\u0275fac=function(et){return new(et||Lt)(s.LFG(e.K0))},Lt.\u0275prov=s.Yz7({token:Lt,factory:Lt.\u0275fac}),Lt})();const Me={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Pe=/%COMP%/g,Ke=new s.OlP("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>!1});function xe(Lt,Et){return Et.flat(100).map(et=>et.replace(Pe,Lt))}function kt(Lt){return Et=>{if("__ngUnwrap__"===Et)return Lt;!1===Lt(Et)&&(Et.preventDefault(),Et.returnValue=!1)}}let rt=(()=>{class Lt{constructor(et,Ve,bt,fe){this.eventManager=et,this.sharedStylesHost=Ve,this.appId=bt,this.removeStylesOnCompDestory=fe,this.rendererByCompId=new Map,this.defaultRenderer=new Wt(et)}createRenderer(et,Ve){if(!et||!Ve)return this.defaultRenderer;const bt=this.getOrCreateRenderer(et,Ve);return bt instanceof W?bt.applyToHost(et):bt instanceof ot&&bt.applyStyles(),bt}getOrCreateRenderer(et,Ve){const bt=this.rendererByCompId;let fe=bt.get(Ve.id);if(!fe){const Ze=this.eventManager,At=this.sharedStylesHost,si=this.removeStylesOnCompDestory;switch(Ve.encapsulation){case s.ifc.Emulated:fe=new W(Ze,At,Ve,this.appId,si);break;case s.ifc.ShadowDom:return new ai(Ze,At,et,Ve);default:fe=new ot(Ze,At,Ve,si)}fe.onDestroy=()=>bt.delete(Ve.id),bt.set(Ve.id,fe)}return fe}ngOnDestroy(){this.rendererByCompId.clear()}begin(){}end(){}}return Lt.\u0275fac=function(et){return new(et||Lt)(s.LFG(Qe),s.LFG(ze),s.LFG(s.AFp),s.LFG(Ke))},Lt.\u0275prov=s.Yz7({token:Lt,factory:Lt.\u0275fac}),Lt})();class Wt{constructor(Et){this.eventManager=Et,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(Et,et){return et?document.createElementNS(Me[et]||et,Et):document.createElement(Et)}createComment(Et){return document.createComment(Et)}createText(Et){return document.createTextNode(Et)}appendChild(Et,et){(jt(Et)?Et.content:Et).appendChild(et)}insertBefore(Et,et,Ve){Et&&(jt(Et)?Et.content:Et).insertBefore(et,Ve)}removeChild(Et,et){Et&&Et.removeChild(et)}selectRootElement(Et,et){let Ve="string"==typeof Et?document.querySelector(Et):Et;if(!Ve)throw new Error(`The selector "${Et}" did not match any elements`);return et||(Ve.textContent=""),Ve}parentNode(Et){return Et.parentNode}nextSibling(Et){return Et.nextSibling}setAttribute(Et,et,Ve,bt){if(bt){et=bt+":"+et;const fe=Me[bt];fe?Et.setAttributeNS(fe,et,Ve):Et.setAttribute(et,Ve)}else Et.setAttribute(et,Ve)}removeAttribute(Et,et,Ve){if(Ve){const bt=Me[Ve];bt?Et.removeAttributeNS(bt,et):Et.removeAttribute(`${Ve}:${et}`)}else Et.removeAttribute(et)}addClass(Et,et){Et.classList.add(et)}removeClass(Et,et){Et.classList.remove(et)}setStyle(Et,et,Ve,bt){bt&(s.JOm.DashCase|s.JOm.Important)?Et.style.setProperty(et,Ve,bt&s.JOm.Important?"important":""):Et.style[et]=Ve}removeStyle(Et,et,Ve){Ve&s.JOm.DashCase?Et.style.removeProperty(et):Et.style[et]=""}setProperty(Et,et,Ve){Et[et]=Ve}setValue(Et,et){Et.nodeValue=et}listen(Et,et,Ve){return"string"==typeof Et?this.eventManager.addGlobalEventListener(Et,et,kt(Ve)):this.eventManager.addEventListener(Et,et,kt(Ve))}}function jt(Lt){return"TEMPLATE"===Lt.tagName&&void 0!==Lt.content}class ai extends Wt{constructor(Et,et,Ve,bt){super(Et),this.sharedStylesHost=et,this.hostEl=Ve,this.shadowRoot=Ve.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const fe=xe(bt.id,bt.styles);for(const Ze of fe){const At=document.createElement("style");At.textContent=Ze,this.shadowRoot.appendChild(At)}}nodeOrShadowRoot(Et){return Et===this.hostEl?this.shadowRoot:Et}appendChild(Et,et){return super.appendChild(this.nodeOrShadowRoot(Et),et)}insertBefore(Et,et,Ve){return super.insertBefore(this.nodeOrShadowRoot(Et),et,Ve)}removeChild(Et,et){return super.removeChild(this.nodeOrShadowRoot(Et),et)}parentNode(Et){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Et)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class ot extends Wt{constructor(Et,et,Ve,bt,fe=Ve.id){super(Et),this.sharedStylesHost=et,this.removeStylesOnCompDestory=bt,this.rendererUsageCount=0,this.styles=xe(fe,Ve.styles)}applyStyles(){this.sharedStylesHost.addStyles(this.styles),this.rendererUsageCount++}destroy(){this.removeStylesOnCompDestory&&(this.sharedStylesHost.removeStyles(this.styles),this.rendererUsageCount--,0===this.rendererUsageCount&&this.onDestroy?.())}}class W extends ot{constructor(Et,et,Ve,bt,fe){const Ze=bt+"-"+Ve.id;super(Et,et,Ve,fe,Ze),this.contentAttr=function Ge(Lt){return"_ngcontent-%COMP%".replace(Pe,Lt)}(Ze),this.hostAttr=function vt(Lt){return"_nghost-%COMP%".replace(Pe,Lt)}(Ze)}applyToHost(Et){this.applyStyles(),this.setAttribute(Et,this.hostAttr,"")}createElement(Et,et){const Ve=super.createElement(Et,et);return super.setAttribute(Ve,this.contentAttr,""),Ve}}let j=(()=>{class Lt extends pt{constructor(et){super(et)}supports(et){return!0}addEventListener(et,Ve,bt){return et.addEventListener(Ve,bt,!1),()=>this.removeEventListener(et,Ve,bt)}removeEventListener(et,Ve,bt){return et.removeEventListener(Ve,bt)}}return Lt.\u0275fac=function(et){return new(et||Lt)(s.LFG(e.K0))},Lt.\u0275prov=s.Yz7({token:Lt,factory:Lt.\u0275fac}),Lt})();const H=["alt","control","meta","shift"],C={"\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"},Y={alt:Lt=>Lt.altKey,control:Lt=>Lt.ctrlKey,meta:Lt=>Lt.metaKey,shift:Lt=>Lt.shiftKey};let $=(()=>{class Lt extends pt{constructor(et){super(et)}supports(et){return null!=Lt.parseEventName(et)}addEventListener(et,Ve,bt){const fe=Lt.parseEventName(Ve),Ze=Lt.eventCallback(fe.fullKey,bt,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,e.q)().onAndCancel(et,fe.domEventName,Ze))}static parseEventName(et){const Ve=et.toLowerCase().split("."),bt=Ve.shift();if(0===Ve.length||"keydown"!==bt&&"keyup"!==bt)return null;const fe=Lt._normalizeKey(Ve.pop());let Ze="",At=Ve.indexOf("code");if(At>-1&&(Ve.splice(At,1),Ze="code."),H.forEach(Gi=>{const nn=Ve.indexOf(Gi);nn>-1&&(Ve.splice(nn,1),Ze+=Gi+".")}),Ze+=fe,0!=Ve.length||0===fe.length)return null;const si={};return si.domEventName=bt,si.fullKey=Ze,si}static matchEventFullKeyCode(et,Ve){let bt=C[et.key]||et.key,fe="";return Ve.indexOf("code.")>-1&&(bt=et.code,fe="code."),!(null==bt||!bt)&&(bt=bt.toLowerCase()," "===bt?bt="space":"."===bt&&(bt="dot"),H.forEach(Ze=>{Ze!==bt&&(0,Y[Ze])(et)&&(fe+=Ze+".")}),fe+=bt,fe===Ve)}static eventCallback(et,Ve,bt){return fe=>{Lt.matchEventFullKeyCode(fe,et)&&bt.runGuarded(()=>Ve(fe))}}static _normalizeKey(et){return"esc"===et?"escape":et}}return Lt.\u0275fac=function(et){return new(et||Lt)(s.LFG(e.K0))},Lt.\u0275prov=s.Yz7({token:Lt,factory:Lt.\u0275fac}),Lt})();const li=(0,s.eFA)(s._c5,"browser",[{provide:s.Lbi,useValue:e.bD},{provide:s.g9A,useValue:function lt(){l.makeCurrent()},multi:!0},{provide:e.K0,useFactory:function ft(){return(0,s.RDi)(document),document},deps:[]}]),oi=new s.OlP(""),dt=[{provide:s.rWj,useClass:class he{addToWindow(Et){s.dqk.getAngularTestability=(Ve,bt=!0)=>{const fe=Et.findTestabilityInTree(Ve,bt);if(null==fe)throw new Error("Could not find testability for element.");return fe},s.dqk.getAllAngularTestabilities=()=>Et.getAllTestabilities(),s.dqk.getAllAngularRootElements=()=>Et.getAllRootElements(),s.dqk.frameworkStabilizers||(s.dqk.frameworkStabilizers=[]),s.dqk.frameworkStabilizers.push(Ve=>{const bt=s.dqk.getAllAngularTestabilities();let fe=bt.length,Ze=!1;const At=function(si){Ze=Ze||si,fe--,0==fe&&Ve(Ze)};bt.forEach(function(si){si.whenStable(At)})})}findTestabilityInTree(Et,et,Ve){return null==et?null:Et.getTestability(et)??(Ve?(0,e.q)().isShadowRoot(et)?this.findTestabilityInTree(Et,et.host,!0):this.findTestabilityInTree(Et,et.parentElement,!0):null)}},deps:[]},{provide:s.lri,useClass:s.dDg,deps:[s.R0b,s.eoX,s.rWj]},{provide:s.dDg,useClass:s.dDg,deps:[s.R0b,s.eoX,s.rWj]}],yt=[{provide:s.zSh,useValue:"root"},{provide:s.qLn,useFactory:function zt(){return new s.qLn},deps:[]},{provide:He,useClass:j,multi:!0,deps:[e.K0,s.R0b,s.Lbi]},{provide:He,useClass:$,multi:!0,deps:[e.K0]},{provide:rt,useClass:rt,deps:[Qe,ze,s.AFp,Ke]},{provide:s.FYo,useExisting:rt},{provide:Re,useExisting:ze},{provide:ze,useClass:ze,deps:[e.K0]},{provide:Qe,useClass:Qe,deps:[He,s.R0b]},{provide:e.JF,useClass:Le,deps:[]},[]];let ve=(()=>{class Lt{constructor(et){}static withServerTransition(et){return{ngModule:Lt,providers:[{provide:s.AFp,useValue:et.appId},{provide:Ee,useExisting:s.AFp},Be]}}}return Lt.\u0275fac=function(et){return new(et||Lt)(s.LFG(oi,12))},Lt.\u0275mod=s.oAB({type:Lt}),Lt.\u0275inj=s.cJS({providers:[...yt,...dt],imports:[e.ez,s.hGG]}),Lt})(),Yt=(()=>{class Lt{constructor(et){this._doc=et}getTitle(){return this._doc.title}setTitle(et){this._doc.title=et||""}}return Lt.\u0275fac=function(et){return new(et||Lt)(s.LFG(e.K0))},Lt.\u0275prov=s.Yz7({token:Lt,factory:function(et){let Ve=null;return Ve=et?new et:function wt(){return new Yt((0,s.LFG)(e.K0))}(),Ve},providedIn:"root"}),Lt})();typeof window<"u"&&window;let Ci=(()=>{class Lt{}return Lt.\u0275fac=function(et){return new(et||Lt)},Lt.\u0275prov=s.Yz7({token:Lt,factory:function(et){let Ve=null;return Ve=et?new(et||Lt):s.LFG(Fi),Ve},providedIn:"root"}),Lt})(),Fi=(()=>{class Lt extends Ci{constructor(et){super(),this._doc=et}sanitize(et,Ve){if(null==Ve)return null;switch(et){case s.q3G.NONE:return Ve;case s.q3G.HTML:return(0,s.qzn)(Ve,"HTML")?(0,s.z3N)(Ve):(0,s.EiD)(this._doc,String(Ve)).toString();case s.q3G.STYLE:return(0,s.qzn)(Ve,"Style")?(0,s.z3N)(Ve):Ve;case s.q3G.SCRIPT:if((0,s.qzn)(Ve,"Script"))return(0,s.z3N)(Ve);throw new Error("unsafe value used in a script context");case s.q3G.URL:return(0,s.qzn)(Ve,"URL")?(0,s.z3N)(Ve):(0,s.mCW)(String(Ve));case s.q3G.RESOURCE_URL:if((0,s.qzn)(Ve,"ResourceURL"))return(0,s.z3N)(Ve);throw new Error(`unsafe value used in a resource URL context (see ${s.JZr})`);default:throw new Error(`Unexpected SecurityContext ${et} (see ${s.JZr})`)}}bypassSecurityTrustHtml(et){return(0,s.JVY)(et)}bypassSecurityTrustStyle(et){return(0,s.L6k)(et)}bypassSecurityTrustScript(et){return(0,s.eBb)(et)}bypassSecurityTrustUrl(et){return(0,s.LAX)(et)}bypassSecurityTrustResourceUrl(et){return(0,s.pB0)(et)}}return Lt.\u0275fac=function(et){return new(et||Lt)(s.LFG(e.K0))},Lt.\u0275prov=s.Yz7({token:Lt,factory:function(et){let Ve=null;return Ve=et?new et:function Si(Lt){return new Fi(Lt.get(e.K0))}(s.LFG(s.zs3)),Ve},providedIn:"root"}),Lt})()},9299:(ri,mt,p)=>{p.d(mt,{gz:()=>qe,gk:()=>Li,m2:()=>Tn,Q3:()=>Gn,OD:()=>Mn,F0:()=>No,rH:()=>Fs,Od:()=>Ls,Bz:()=>Ha,lC:()=>er});var e=p(4650),s=p(2076),T=p(9646),l=p(1135);const O=(0,p(3888).d)(M=>function(){M(this),this.name="EmptyError",this.message="no elements in sequence"});var X=p(9841),q=p(7272),Ee=p(9770),de=p(9635),Be=p(2843),he=p(9751),Le=p(515),He=p(4033),Qe=p(7579),pt=p(6895),Re=p(4004),ze=p(3900),Me=p(5698),Pe=p(8675),_e=p(9300),ge=p(5577),le=p(4482),Se=p(5403);function je(M){return(0,le.e)((S,v)=>{let L=!1;S.subscribe((0,Se.x)(v,ie=>{L=!0,v.next(ie)},()=>{L||v.next(M),v.complete()}))})}function Ke(M=Ge){return(0,le.e)((S,v)=>{let L=!1;S.subscribe((0,Se.x)(v,ie=>{L=!0,v.next(ie)},()=>L?v.complete():v.error(M())))})}function Ge(){return new O}var vt=p(4671);function xe(M,S){const v=arguments.length>=2;return L=>L.pipe(M?(0,_e.h)((ie,Ce)=>M(ie,Ce,L)):vt.y,(0,Me.q)(1),v?je(S):Ke(()=>new O))}var kt=p(4351),rt=p(8505),Wt=p(262);function gi(M,S){return(0,le.e)(function yi(M,S,v,L,ie){return(Ce,$e)=>{let Bt=v,ci=S,Ti=0;Ce.subscribe((0,Se.x)($e,Ai=>{const yn=Ti++;ci=Bt?M(ci,Ai,yn):(Bt=!0,Ai),L&&$e.next(ci)},ie&&(()=>{Bt&&$e.next(ci),$e.complete()})))}}(M,S,arguments.length>=2,!0))}function jt(M){return M<=0?()=>Le.E:(0,le.e)((S,v)=>{let L=[];S.subscribe((0,Se.x)(v,ie=>{L.push(ie),M<L.length&&L.shift()},()=>{for(const ie of L)v.next(ie);v.complete()},void 0,()=>{L=null}))})}function ai(M,S){const v=arguments.length>=2;return L=>L.pipe(M?(0,_e.h)((ie,Ce)=>M(ie,Ce,L)):vt.y,jt(1),v?je(S):Ke(()=>new O))}var ot=p(2529),W=p(9718),j=p(8746),H=p(8343),C=p(8189),Y=p(1481);const $="primary",we=Symbol("RouteTitle");class Fe{constructor(S){this.params=S||{}}has(S){return Object.prototype.hasOwnProperty.call(this.params,S)}get(S){if(this.has(S)){const v=this.params[S];return Array.isArray(v)?v[0]:v}return null}getAll(S){if(this.has(S)){const v=this.params[S];return Array.isArray(v)?v:[v]}return[]}get keys(){return Object.keys(this.params)}}function _t(M){return new Fe(M)}function it(M,S,v){const L=v.path.split("/");if(L.length>M.length||"full"===v.pathMatch&&(S.hasChildren()||L.length<M.length))return null;const ie={};for(let Ce=0;Ce<L.length;Ce++){const $e=L[Ce],Bt=M[Ce];if($e.startsWith(":"))ie[$e.substring(1)]=Bt;else if($e!==Bt.path)return null}return{consumed:M.slice(0,L.length),posParams:ie}}function lt(M,S){const v=M?Object.keys(M):void 0,L=S?Object.keys(S):void 0;if(!v||!L||v.length!=L.length)return!1;let ie;for(let Ce=0;Ce<v.length;Ce++)if(ie=v[Ce],!zt(M[ie],S[ie]))return!1;return!0}function zt(M,S){if(Array.isArray(M)&&Array.isArray(S)){if(M.length!==S.length)return!1;const v=[...M].sort(),L=[...S].sort();return v.every((ie,Ce)=>L[Ce]===ie)}return M===S}function ft(M){return Array.prototype.concat.apply([],M)}function Pt(M){return M.length>0?M[M.length-1]:null}function oi(M,S){for(const v in M)M.hasOwnProperty(v)&&S(M[v],v)}function dt(M){return(0,e.CqO)(M)?M:(0,e.QGY)(M)?(0,s.D)(Promise.resolve(M)):(0,T.of)(M)}const yt=!1,ve={exact:function wt(M,S,v){if(!Ut(M.segments,S.segments)||!Gt(M.segments,S.segments,v)||M.numberOfChildren!==S.numberOfChildren)return!1;for(const L in S.children)if(!M.children[L]||!wt(M.children[L],S.children[L],v))return!1;return!0},subset:$t},N={exact:function We(M,S){return lt(M,S)},subset:function Yt(M,S){return Object.keys(S).length<=Object.keys(M).length&&Object.keys(S).every(v=>zt(M[v],S[v]))},ignored:()=>!0};function re(M,S,v){return ve[v.paths](M.root,S.root,v.matrixParams)&&N[v.queryParams](M.queryParams,S.queryParams)&&!("exact"===v.fragment&&M.fragment!==S.fragment)}function $t(M,S,v){return ct(M,S,S.segments,v)}function ct(M,S,v,L){if(M.segments.length>v.length){const ie=M.segments.slice(0,v.length);return!(!Ut(ie,v)||S.hasChildren()||!Gt(ie,v,L))}if(M.segments.length===v.length){if(!Ut(M.segments,v)||!Gt(M.segments,v,L))return!1;for(const ie in S.children)if(!M.children[ie]||!$t(M.children[ie],S.children[ie],L))return!1;return!0}{const ie=v.slice(0,M.segments.length),Ce=v.slice(M.segments.length);return!!(Ut(M.segments,ie)&&Gt(M.segments,ie,L)&&M.children[$])&&ct(M.children[$],S,Ce,L)}}function Gt(M,S,v){return S.every((L,ie)=>N[v](M[ie].parameters,L.parameters))}class te{constructor(S=new Ae([],{}),v={},L=null){this.root=S,this.queryParams=v,this.fragment=L}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=_t(this.queryParams)),this._queryParamMap}toString(){return Z.serialize(this)}}class Ae{constructor(S,v){this.segments=S,this.children=v,this.parent=null,oi(v,(L,ie)=>L.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ke(this)}}class B{constructor(S,v){this.path=S,this.parameters=v}get parameterMap(){return this._parameterMap||(this._parameterMap=_t(this.parameters)),this._parameterMap}toString(){return Ot(this)}}function Ut(M,S){return M.length===S.length&&M.every((v,L)=>v.path===S[L].path)}let be=(()=>{class M{}return M.\u0275fac=function(v){return new(v||M)},M.\u0275prov=e.Yz7({token:M,factory:function(){return new st},providedIn:"root"}),M})();class st{parse(S){const v=new Ve(S);return new te(v.parseRootSegment(),v.parseQueryParams(),v.parseFragment())}serialize(S){const v=`/${gt(S.root,!0)}`,L=function Ci(M){const S=Object.keys(M).map(v=>{const L=M[v];return Array.isArray(L)?L.map(ie=>`${se(v)}=${se(ie)}`).join("&"):`${se(v)}=${se(L)}`}).filter(v=>!!v);return S.length?`?${S.join("&")}`:""}(S.queryParams);return`${v}${L}${"string"==typeof S.fragment?`#${function z(M){return encodeURI(M)}(S.fragment)}`:""}`}}const Z=new st;function ke(M){return M.segments.map(S=>Ot(S)).join("/")}function gt(M,S){if(!M.hasChildren())return ke(M);if(S){const v=M.children[$]?gt(M.children[$],!1):"",L=[];return oi(M.children,(ie,Ce)=>{Ce!==$&&L.push(`${Ce}:${gt(ie,!1)}`)}),L.length>0?`${v}(${L.join("//")})`:v}{const v=function Vt(M,S){let v=[];return oi(M.children,(L,ie)=>{ie===$&&(v=v.concat(S(L,ie)))}),oi(M.children,(L,ie)=>{ie!==$&&(v=v.concat(S(L,ie)))}),v}(M,(L,ie)=>ie===$?[gt(M.children[$],!1)]:[`${ie}:${gt(L,!1)}`]);return 1===Object.keys(M.children).length&&null!=M.children[$]?`${ke(M)}/${v[0]}`:`${ke(M)}/(${v.join("//")})`}}function Rt(M){return encodeURIComponent(M).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function se(M){return Rt(M).replace(/%3B/gi,";")}function A(M){return Rt(M).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function me(M){return decodeURIComponent(M)}function Ye(M){return me(M.replace(/\+/g,"%20"))}function Ot(M){return`${A(M.path)}${function ii(M){return Object.keys(M).map(S=>`;${A(S)}=${A(M[S])}`).join("")}(M.parameters)}`}const Si=/^[^\/()?;=#]+/;function Fi(M){const S=M.match(Si);return S?S[0]:""}const vi=/^[^=?&#]+/,Et=/^[^&#]+/;class Ve{constructor(S){this.url=S,this.remaining=S}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ae([],{}):new Ae([],this.parseChildren())}parseQueryParams(){const S={};if(this.consumeOptional("?"))do{this.parseQueryParam(S)}while(this.consumeOptional("&"));return S}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const S=[];for(this.peekStartsWith("(")||S.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),S.push(this.parseSegment());let v={};this.peekStartsWith("/(")&&(this.capture("/"),v=this.parseParens(!0));let L={};return this.peekStartsWith("(")&&(L=this.parseParens(!1)),(S.length>0||Object.keys(v).length>0)&&(L[$]=new Ae(S,v)),L}parseSegment(){const S=Fi(this.remaining);if(""===S&&this.peekStartsWith(";"))throw new e.vHH(4009,yt);return this.capture(S),new B(me(S),this.parseMatrixParams())}parseMatrixParams(){const S={};for(;this.consumeOptional(";");)this.parseParam(S);return S}parseParam(S){const v=Fi(this.remaining);if(!v)return;this.capture(v);let L="";if(this.consumeOptional("=")){const ie=Fi(this.remaining);ie&&(L=ie,this.capture(L))}S[me(v)]=me(L)}parseQueryParam(S){const v=function Lt(M){const S=M.match(vi);return S?S[0]:""}(this.remaining);if(!v)return;this.capture(v);let L="";if(this.consumeOptional("=")){const $e=function et(M){const S=M.match(Et);return S?S[0]:""}(this.remaining);$e&&(L=$e,this.capture(L))}const ie=Ye(v),Ce=Ye(L);if(S.hasOwnProperty(ie)){let $e=S[ie];Array.isArray($e)||($e=[$e],S[ie]=$e),$e.push(Ce)}else S[ie]=Ce}parseParens(S){const v={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const L=Fi(this.remaining),ie=this.remaining[L.length];if("/"!==ie&&")"!==ie&&";"!==ie)throw new e.vHH(4010,yt);let Ce;L.indexOf(":")>-1?(Ce=L.slice(0,L.indexOf(":")),this.capture(Ce),this.capture(":")):S&&(Ce=$);const $e=this.parseChildren();v[Ce]=1===Object.keys($e).length?$e[$]:new Ae([],$e),this.consumeOptional("//")}return v}peekStartsWith(S){return this.remaining.startsWith(S)}consumeOptional(S){return!!this.peekStartsWith(S)&&(this.remaining=this.remaining.substring(S.length),!0)}capture(S){if(!this.consumeOptional(S))throw new e.vHH(4011,yt)}}function bt(M){return M.segments.length>0?new Ae([],{[$]:M}):M}function fe(M){const S={};for(const L of Object.keys(M.children)){const Ce=fe(M.children[L]);(Ce.segments.length>0||Ce.hasChildren())&&(S[L]=Ce)}return function Ze(M){if(1===M.numberOfChildren&&M.children[$]){const S=M.children[$];return new Ae(M.segments.concat(S.segments),S.children)}return M}(new Ae(M.segments,S))}function At(M){return M instanceof te}const si=!1;function Un(M,S,v,L,ie){if(0===v.length)return xo(S.root,S.root,S.root,L,ie);const Ce=function Pn(M){if("string"==typeof M[0]&&1===M.length&&"/"===M[0])return new Yn(!0,0,M);let S=0,v=!1;const L=M.reduce((ie,Ce,$e)=>{if("object"==typeof Ce&&null!=Ce){if(Ce.outlets){const Bt={};return oi(Ce.outlets,(ci,Ti)=>{Bt[Ti]="string"==typeof ci?ci.split("/"):ci}),[...ie,{outlets:Bt}]}if(Ce.segmentPath)return[...ie,Ce.segmentPath]}return"string"!=typeof Ce?[...ie,Ce]:0===$e?(Ce.split("/").forEach((Bt,ci)=>{0==ci&&"."===Bt||(0==ci&&""===Bt?v=!0:".."===Bt?S++:""!=Bt&&ie.push(Bt))}),ie):[...ie,Ce]},[]);return new Yn(v,S,L)}(v);return Ce.toRoot()?xo(S.root,S.root,new Ae([],{}),L,ie):function $e(ci){const Ti=function wo(M,S,v,L){if(M.isAbsolute)return new Vn(S.root,!0,0);if(-1===L)return new Vn(v,v===S.root,0);return function Jo(M,S,v){let L=M,ie=S,Ce=v;for(;Ce>ie;){if(Ce-=ie,L=L.parent,!L)throw new e.vHH(4005,si&&"Invalid number of '../'");ie=L.segments.length}return new Vn(L,!1,ie-Ce)}(v,L+(to(M.commands[0])?0:1),M.numberOfDoubleDots)}(Ce,S,M.snapshot?._urlSegment,ci),Ai=Ti.processChildren?xt(Ti.segmentGroup,Ti.index,Ce.commands):at(Ti.segmentGroup,Ti.index,Ce.commands);return xo(S.root,Ti.segmentGroup,Ai,L,ie)}(M.snapshot?._lastPathIndex)}function to(M){return"object"==typeof M&&null!=M&&!M.outlets&&!M.segmentPath}function Bn(M){return"object"==typeof M&&null!=M&&M.outlets}function xo(M,S,v,L,ie){let $e,Ce={};L&&oi(L,(ci,Ti)=>{Ce[Ti]=Array.isArray(ci)?ci.map(Ai=>`${Ai}`):`${ci}`}),$e=M===S?v:gn(M,S,v);const Bt=bt(fe($e));return new te(Bt,Ce,ie)}function gn(M,S,v){const L={};return oi(M.children,(ie,Ce)=>{L[Ce]=ie===S?v:gn(ie,S,v)}),new Ae(M.segments,L)}class Yn{constructor(S,v,L){if(this.isAbsolute=S,this.numberOfDoubleDots=v,this.commands=L,S&&L.length>0&&to(L[0]))throw new e.vHH(4003,si&&"Root segment cannot have matrix parameters");const ie=L.find(Bn);if(ie&&ie!==Pt(L))throw new e.vHH(4004,si&&"{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Vn{constructor(S,v,L){this.segmentGroup=S,this.processChildren=v,this.index=L}}function at(M,S,v){if(M||(M=new Ae([],{})),0===M.segments.length&&M.hasChildren())return xt(M,S,v);const L=function w(M,S,v){let L=0,ie=S;const Ce={match:!1,pathIndex:0,commandIndex:0};for(;ie<M.segments.length;){if(L>=v.length)return Ce;const $e=M.segments[ie],Bt=v[L];if(Bn(Bt))break;const ci=`${Bt}`,Ti=L<v.length-1?v[L+1]:null;if(ie>0&&void 0===ci)break;if(ci&&Ti&&"object"==typeof Ti&&void 0===Ti.outlets){if(!ei(ci,Ti,$e))return Ce;L+=2}else{if(!ei(ci,{},$e))return Ce;L++}ie++}return{match:!0,pathIndex:ie,commandIndex:L}}(M,S,v),ie=v.slice(L.commandIndex);if(L.match&&L.pathIndex<M.segments.length){const Ce=new Ae(M.segments.slice(0,L.pathIndex),{});return Ce.children[$]=new Ae(M.segments.slice(L.pathIndex),M.children),xt(Ce,0,ie)}return L.match&&0===ie.length?new Ae(M.segments,{}):L.match&&!M.hasChildren()?J(M,S,v):L.match?xt(M,0,ie):J(M,S,v)}function xt(M,S,v){if(0===v.length)return new Ae(M.segments,{});{const L=function ao(M){return Bn(M[0])?M[0].outlets:{[$]:M}}(v),ie={};if(!L[$]&&M.children[$]&&1===M.numberOfChildren&&0===M.children[$].segments.length){const Ce=xt(M.children[$],S,v);return new Ae(M.segments,Ce.children)}return oi(L,(Ce,$e)=>{"string"==typeof Ce&&(Ce=[Ce]),null!==Ce&&(ie[$e]=at(M.children[$e],S,Ce))}),oi(M.children,(Ce,$e)=>{void 0===L[$e]&&(ie[$e]=Ce)}),new Ae(M.segments,ie)}}function J(M,S,v){const L=M.segments.slice(0,S);let ie=0;for(;ie<v.length;){const Ce=v[ie];if(Bn(Ce)){const ci=Ie(Ce.outlets);return new Ae(L,ci)}if(0===ie&&to(v[0])){L.push(new B(M.segments[S].path,Xe(v[0]))),ie++;continue}const $e=Bn(Ce)?Ce.outlets[$]:`${Ce}`,Bt=ie<v.length-1?v[ie+1]:null;$e&&Bt&&to(Bt)?(L.push(new B($e,Xe(Bt))),ie+=2):(L.push(new B($e,{})),ie++)}return new Ae(L,{})}function Ie(M){const S={};return oi(M,(v,L)=>{"string"==typeof v&&(v=[v]),null!==v&&(S[L]=J(new Ae([],{}),0,v))}),S}function Xe(M){const S={};return oi(M,(v,L)=>S[L]=`${v}`),S}function ei(M,S,v){return M==v.path&&lt(S,v.parameters)}const Ei="imperative";class Yi{constructor(S,v){this.id=S,this.url=v}}class Mn extends Yi{constructor(S,v,L="imperative",ie=null){super(S,v),this.type=0,this.navigationTrigger=L,this.restoredState=ie}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Tn extends Yi{constructor(S,v,L){super(S,v),this.urlAfterRedirects=L,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Li extends Yi{constructor(S,v,L,ie){super(S,v),this.reason=L,this.code=ie,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Xn extends Yi{constructor(S,v,L,ie){super(S,v),this.reason=L,this.code=ie,this.type=16}}class Gn extends Yi{constructor(S,v,L,ie){super(S,v),this.error=L,this.target=ie,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class To extends Yi{constructor(S,v,L,ie){super(S,v),this.urlAfterRedirects=L,this.state=ie,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class $o extends Yi{constructor(S,v,L,ie){super(S,v),this.urlAfterRedirects=L,this.state=ie,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Hn extends Yi{constructor(S,v,L,ie,Ce){super(S,v),this.urlAfterRedirects=L,this.state=ie,this.shouldActivate=Ce,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Dr extends Yi{constructor(S,v,L,ie){super(S,v),this.urlAfterRedirects=L,this.state=ie,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Eo extends Yi{constructor(S,v,L,ie){super(S,v),this.urlAfterRedirects=L,this.state=ie,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class So{constructor(S){this.route=S,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Zo{constructor(S){this.route=S,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Xo{constructor(S){this.snapshot=S,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class _n{constructor(S){this.snapshot=S,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ro{constructor(S){this.snapshot=S,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ho{constructor(S){this.snapshot=S,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fr{constructor(S,v,L){this.routerEvent=S,this.position=v,this.anchor=L,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let Wo=(()=>{class M{createUrlTree(v,L,ie,Ce,$e,Bt){return Un(v||L.root,ie,Ce,$e,Bt)}}return M.\u0275fac=function(v){return new(v||M)},M.\u0275prov=e.Yz7({token:M,factory:M.\u0275fac}),M})(),Jr=(()=>{class M{}return M.\u0275fac=function(v){return new(v||M)},M.\u0275prov=e.Yz7({token:M,factory:function(S){return Wo.\u0275fac(S)},providedIn:"root"}),M})();class qn{constructor(S){this._root=S}get root(){return this._root.value}parent(S){const v=this.pathFromRoot(S);return v.length>1?v[v.length-2]:null}children(S){const v=lo(S,this._root);return v?v.children.map(L=>L.value):[]}firstChild(S){const v=lo(S,this._root);return v&&v.children.length>0?v.children[0].value:null}siblings(S){const v=qo(S,this._root);return v.length<2?[]:v[v.length-2].children.map(ie=>ie.value).filter(ie=>ie!==S)}pathFromRoot(S){return qo(S,this._root).map(v=>v.value)}}function lo(M,S){if(M===S.value)return S;for(const v of S.children){const L=lo(M,v);if(L)return L}return null}function qo(M,S){if(M===S.value)return[S];for(const v of S.children){const L=qo(M,v);if(L.length)return L.unshift(S),L}return[]}class co{constructor(S,v){this.value=S,this.children=v}toString(){return`TreeNode(${this.value})`}}function _i(M){const S={};return M&&M.children.forEach(v=>S[v.value.outlet]=v),S}class rn extends qn{constructor(S,v){super(S),this.snapshot=v,bi(this,S)}toString(){return this.snapshot.toString()}}function fo(M,S){const v=function De(M,S){const $e=new It([],{},{},"",{},$,S,null,M.root,-1,{});return new Ht("",new co($e,[]))}(M,S),L=new l.X([new B("",{})]),ie=new l.X({}),Ce=new l.X({}),$e=new l.X({}),Bt=new l.X(""),ci=new qe(L,ie,$e,Bt,Ce,$,S,v.root);return ci.snapshot=v.root,new rn(new co(ci,[]),v)}class qe{constructor(S,v,L,ie,Ce,$e,Bt,ci){this.url=S,this.params=v,this.queryParams=L,this.fragment=ie,this.data=Ce,this.outlet=$e,this.component=Bt,this.title=this.data?.pipe((0,Re.U)(Ti=>Ti[we]))??(0,T.of)(void 0),this._futureSnapshot=ci}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,Re.U)(S=>_t(S)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Re.U)(S=>_t(S)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function F(M,S="emptyOnly"){const v=M.pathFromRoot;let L=0;if("always"!==S)for(L=v.length-1;L>=1;){const ie=v[L],Ce=v[L-1];if(ie.routeConfig&&""===ie.routeConfig.path)L--;else{if(Ce.component)break;L--}}return function Te(M){return M.reduce((S,v)=>({params:{...S.params,...v.params},data:{...S.data,...v.data},resolve:{...v.data,...S.resolve,...v.routeConfig?.data,...v._resolvedData}}),{params:{},data:{},resolve:{}})}(v.slice(L))}class It{get title(){return this.data?.[we]}constructor(S,v,L,ie,Ce,$e,Bt,ci,Ti,Ai,yn){this.url=S,this.params=v,this.queryParams=L,this.fragment=ie,this.data=Ce,this.outlet=$e,this.component=Bt,this.routeConfig=ci,this._urlSegment=Ti,this._lastPathIndex=Ai,this._resolve=yn}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=_t(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=_t(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(L=>L.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ht extends qn{constructor(S,v){super(v),this.url=S,bi(this,v)}toString(){return mn(this._root)}}function bi(M,S){S.value._routerState=M,S.children.forEach(v=>bi(M,v))}function mn(M){const S=M.children.length>0?` { ${M.children.map(mn).join(", ")} } `:"";return`${M.value}${S}`}function $n(M){if(M.snapshot){const S=M.snapshot,v=M._futureSnapshot;M.snapshot=v,lt(S.queryParams,v.queryParams)||M.queryParams.next(v.queryParams),S.fragment!==v.fragment&&M.fragment.next(v.fragment),lt(S.params,v.params)||M.params.next(v.params),function Nt(M,S){if(M.length!==S.length)return!1;for(let v=0;v<M.length;++v)if(!lt(M[v],S[v]))return!1;return!0}(S.url,v.url)||M.url.next(v.url),lt(S.data,v.data)||M.data.next(v.data)}else M.snapshot=M._futureSnapshot,M.data.next(M._futureSnapshot.data)}function On(M,S){const v=lt(M.params,S.params)&&function pe(M,S){return Ut(M,S)&&M.every((v,L)=>lt(v.parameters,S[L].parameters))}(M.url,S.url);return v&&!(!M.parent!=!S.parent)&&(!M.parent||On(M.parent,S.parent))}function io(M,S,v){if(v&&M.shouldReuseRoute(S.value,v.value.snapshot)){const L=v.value;L._futureSnapshot=S.value;const ie=function uo(M,S,v){return S.children.map(L=>{for(const ie of v.children)if(M.shouldReuseRoute(L.value,ie.value.snapshot))return io(M,L,ie);return io(M,L)})}(M,S,v);return new co(L,ie)}{if(M.shouldAttach(S.value)){const Ce=M.retrieve(S.value);if(null!==Ce){const $e=Ce.route;return $e.value._futureSnapshot=S.value,$e.children=S.children.map(Bt=>io(M,Bt)),$e}}const L=function Mr(M){return new qe(new l.X(M.url),new l.X(M.params),new l.X(M.queryParams),new l.X(M.fragment),new l.X(M.data),M.outlet,M.component,M)}(S.value),ie=S.children.map(Ce=>io(M,Ce));return new co(L,ie)}}const hs="ngNavigationCancelingError";function Br(M,S){const{redirectTo:v,navigationBehaviorOptions:L}=At(S)?{redirectTo:S,navigationBehaviorOptions:void 0}:S,ie=Vr(!1,0,S);return ie.url=v,ie.navigationBehaviorOptions=L,ie}function Vr(M,S,v){const L=new Error("NavigationCancelingError: "+(M||""));return L[hs]=!0,L.cancellationCode=S,v&&(L.url=v),L}function Hr(M){return Xr(M)&&At(M.url)}function Xr(M){return M&&M[hs]}class _o{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new bo,this.attachRef=null}}let bo=(()=>{class M{constructor(){this.contexts=new Map}onChildOutletCreated(v,L){const ie=this.getOrCreateContext(v);ie.outlet=L,this.contexts.set(v,ie)}onChildOutletDestroyed(v){const L=this.getContext(v);L&&(L.outlet=null,L.attachRef=null)}onOutletDeactivated(){const v=this.contexts;return this.contexts=new Map,v}onOutletReAttached(v){this.contexts=v}getOrCreateContext(v){let L=this.getContext(v);return L||(L=new _o,this.contexts.set(v,L)),L}getContext(v){return this.contexts.get(v)||null}}return M.\u0275fac=function(v){return new(v||M)},M.\u0275prov=e.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"}),M})();const Ko=!1;let er=(()=>{class M{constructor(){this.activated=null,this._activatedRoute=null,this.name=$,this.activateEvents=new e.vpe,this.deactivateEvents=new e.vpe,this.attachEvents=new e.vpe,this.detachEvents=new e.vpe,this.parentContexts=(0,e.f3M)(bo),this.location=(0,e.f3M)(e.s_b),this.changeDetector=(0,e.f3M)(e.sBO),this.environmentInjector=(0,e.f3M)(e.lqb)}ngOnChanges(v){if(v.name){const{firstChange:L,previousValue:ie}=v.name;if(L)return;this.isTrackedInParentContexts(ie)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(ie)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(v){return this.parentContexts.getContext(v)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const v=this.parentContexts.getContext(this.name);v?.route&&(v.attachRef?this.attach(v.attachRef,v.route):this.activateWith(v.route,v.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new e.vHH(4012,Ko);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new e.vHH(4012,Ko);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new e.vHH(4012,Ko);this.location.detach();const v=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(v.instance),v}attach(v,L){this.activated=v,this._activatedRoute=L,this.location.insert(v.hostView),this.attachEvents.emit(v.instance)}deactivate(){if(this.activated){const v=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(v)}}activateWith(v,L){if(this.isActivated)throw new e.vHH(4013,Ko);this._activatedRoute=v;const ie=this.location,$e=v.snapshot.component,Bt=this.parentContexts.getOrCreateContext(this.name).children,ci=new Tr(v,Bt,ie.injector);if(L&&function _r(M){return!!M.resolveComponentFactory}(L)){const Ti=L.resolveComponentFactory($e);this.activated=ie.createComponent(Ti,ie.length,ci)}else this.activated=ie.createComponent($e,{index:ie.length,injector:ci,environmentInjector:L??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return M.\u0275fac=function(v){return new(v||M)},M.\u0275dir=e.lG2({type:M,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[e.TTD]}),M})();class Tr{constructor(S,v,L){this.route=S,this.childContexts=v,this.parent=L}get(S,v){return S===qe?this.route:S===bo?this.childContexts:this.parent.get(S,v)}}let tr=(()=>{class M{}return M.\u0275fac=function(v){return new(v||M)},M.\u0275cmp=e.Xpm({type:M,selectors:[["ng-component"]],standalone:!0,features:[e.jDz],decls:1,vars:0,template:function(v,L){1&v&&e._UZ(0,"router-outlet")},dependencies:[er],encapsulation:2}),M})();function br(M,S){return M.providers&&!M._injector&&(M._injector=(0,e.MMx)(M.providers,S,`Route: ${M.path}`)),M._injector??S}function Po(M){const S=M.children&&M.children.map(Po),v=S?{...M,children:S}:{...M};return!v.component&&!v.loadComponent&&(S||v.loadChildren)&&v.outlet&&v.outlet!==$&&(v.component=tr),v}function Co(M){return M.outlet||$}function ho(M,S){const v=M.filter(L=>Co(L)===S);return v.push(...M.filter(L=>Co(L)!==S)),v}function es(M){if(!M)return null;if(M.routeConfig?._injector)return M.routeConfig._injector;for(let S=M.parent;S;S=S.parent){const v=S.routeConfig;if(v?._loadedInjector)return v._loadedInjector;if(v?._injector)return v._injector}return null}class cr{constructor(S,v,L,ie){this.routeReuseStrategy=S,this.futureState=v,this.currState=L,this.forwardEvent=ie}activate(S){const v=this.futureState._root,L=this.currState?this.currState._root:null;this.deactivateChildRoutes(v,L,S),$n(this.futureState.root),this.activateChildRoutes(v,L,S)}deactivateChildRoutes(S,v,L){const ie=_i(v);S.children.forEach(Ce=>{const $e=Ce.value.outlet;this.deactivateRoutes(Ce,ie[$e],L),delete ie[$e]}),oi(ie,(Ce,$e)=>{this.deactivateRouteAndItsChildren(Ce,L)})}deactivateRoutes(S,v,L){const ie=S.value,Ce=v?v.value:null;if(ie===Ce)if(ie.component){const $e=L.getContext(ie.outlet);$e&&this.deactivateChildRoutes(S,v,$e.children)}else this.deactivateChildRoutes(S,v,L);else Ce&&this.deactivateRouteAndItsChildren(v,L)}deactivateRouteAndItsChildren(S,v){S.value.component&&this.routeReuseStrategy.shouldDetach(S.value.snapshot)?this.detachAndStoreRouteSubtree(S,v):this.deactivateRouteAndOutlet(S,v)}detachAndStoreRouteSubtree(S,v){const L=v.getContext(S.value.outlet),ie=L&&S.value.component?L.children:v,Ce=_i(S);for(const $e of Object.keys(Ce))this.deactivateRouteAndItsChildren(Ce[$e],ie);if(L&&L.outlet){const $e=L.outlet.detach(),Bt=L.children.onOutletDeactivated();this.routeReuseStrategy.store(S.value.snapshot,{componentRef:$e,route:S,contexts:Bt})}}deactivateRouteAndOutlet(S,v){const L=v.getContext(S.value.outlet),ie=L&&S.value.component?L.children:v,Ce=_i(S);for(const $e of Object.keys(Ce))this.deactivateRouteAndItsChildren(Ce[$e],ie);L&&(L.outlet&&(L.outlet.deactivate(),L.children.onOutletDeactivated()),L.attachRef=null,L.resolver=null,L.route=null)}activateChildRoutes(S,v,L){const ie=_i(v);S.children.forEach(Ce=>{this.activateRoutes(Ce,ie[Ce.value.outlet],L),this.forwardEvent(new Ho(Ce.value.snapshot))}),S.children.length&&this.forwardEvent(new _n(S.value.snapshot))}activateRoutes(S,v,L){const ie=S.value,Ce=v?v.value:null;if($n(ie),ie===Ce)if(ie.component){const $e=L.getOrCreateContext(ie.outlet);this.activateChildRoutes(S,v,$e.children)}else this.activateChildRoutes(S,v,L);else if(ie.component){const $e=L.getOrCreateContext(ie.outlet);if(this.routeReuseStrategy.shouldAttach(ie.snapshot)){const Bt=this.routeReuseStrategy.retrieve(ie.snapshot);this.routeReuseStrategy.store(ie.snapshot,null),$e.children.onOutletReAttached(Bt.contexts),$e.attachRef=Bt.componentRef,$e.route=Bt.route.value,$e.outlet&&$e.outlet.attach(Bt.componentRef,Bt.route.value),$n(Bt.route.value),this.activateChildRoutes(S,null,$e.children)}else{const Bt=es(ie.snapshot),ci=Bt?.get(e._Vd)??null;$e.attachRef=null,$e.route=ie,$e.resolver=ci,$e.injector=Bt,$e.outlet&&$e.outlet.activateWith(ie,$e.injector),this.activateChildRoutes(S,null,$e.children)}}else this.activateChildRoutes(S,null,L)}}class Fo{constructor(S){this.path=S,this.route=this.path[this.path.length-1]}}class dr{constructor(S,v){this.component=S,this.route=v}}function ir(M,S,v){const L=M._root;return Uo(L,S?S._root:null,v,[L.value])}function zo(M,S){const v=Symbol(),L=S.get(M,v);return L===v?"function"!=typeof M||(0,e.Z0I)(M)?S.get(M):M:L}function Uo(M,S,v,L,ie={canDeactivateChecks:[],canActivateChecks:[]}){const Ce=_i(S);return M.children.forEach($e=>{(function ts(M,S,v,L,ie={canDeactivateChecks:[],canActivateChecks:[]}){const Ce=M.value,$e=S?S.value:null,Bt=v?v.getContext(M.value.outlet):null;if($e&&Ce.routeConfig===$e.routeConfig){const ci=function Ki(M,S,v){if("function"==typeof v)return v(M,S);switch(v){case"pathParamsChange":return!Ut(M.url,S.url);case"pathParamsOrQueryParamsChange":return!Ut(M.url,S.url)||!lt(M.queryParams,S.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!On(M,S)||!lt(M.queryParams,S.queryParams);default:return!On(M,S)}}($e,Ce,Ce.routeConfig.runGuardsAndResolvers);ci?ie.canActivateChecks.push(new Fo(L)):(Ce.data=$e.data,Ce._resolvedData=$e._resolvedData),Uo(M,S,Ce.component?Bt?Bt.children:null:v,L,ie),ci&&Bt&&Bt.outlet&&Bt.outlet.isActivated&&ie.canDeactivateChecks.push(new dr(Bt.outlet.component,$e))}else $e&&Sr(S,Bt,ie),ie.canActivateChecks.push(new Fo(L)),Uo(M,null,Ce.component?Bt?Bt.children:null:v,L,ie)})($e,Ce[$e.value.outlet],v,L.concat([$e.value]),ie),delete Ce[$e.value.outlet]}),oi(Ce,($e,Bt)=>Sr($e,v.getContext(Bt),ie)),ie}function Sr(M,S,v){const L=_i(M),ie=M.value;oi(L,(Ce,$e)=>{Sr(Ce,ie.component?S?S.children.getContext($e):null:S,v)}),v.canDeactivateChecks.push(new dr(ie.component&&S&&S.outlet&&S.outlet.isActivated?S.outlet.component:null,ie))}function ee(M){return"function"==typeof M}function Or(M){return M instanceof O||"EmptyError"===M?.name}const is=Symbol("INITIAL_VALUE");function eo(){return(0,ze.w)(M=>(0,X.a)(M.map(S=>S.pipe((0,Me.q)(1),(0,Pe.O)(is)))).pipe((0,Re.U)(S=>{for(const v of S)if(!0!==v){if(v===is)return is;if(!1===v||v instanceof te)return v}return!0}),(0,_e.h)(S=>S!==is),(0,Me.q)(1)))}function Yo(M){return(0,de.z)((0,rt.b)(S=>{if(At(S))throw Br(0,S)}),(0,Re.U)(S=>!0===S))}const Pr={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function kr(M,S,v,L,ie){const Ce=ns(M,S,v);return Ce.matched?function Yr(M,S,v,L){const ie=S.canMatch;if(!ie||0===ie.length)return(0,T.of)(!0);const Ce=ie.map($e=>{const Bt=zo($e,M);return dt(function En(M){return M&&ee(M.canMatch)}(Bt)?Bt.canMatch(S,v):M.runInContext(()=>Bt(S,v)))});return(0,T.of)(Ce).pipe(eo(),Yo())}(L=br(S,L),S,v).pipe((0,Re.U)($e=>!0===$e?Ce:{...Pr})):(0,T.of)(Ce)}function ns(M,S,v){if(""===S.path)return"full"===S.pathMatch&&(M.hasChildren()||v.length>0)?{...Pr}:{matched:!0,consumedSegments:[],remainingSegments:v,parameters:{},positionalParamSegments:{}};const ie=(S.matcher||it)(v,M,S);if(!ie)return{...Pr};const Ce={};oi(ie.posParams,(Bt,ci)=>{Ce[ci]=Bt.path});const $e=ie.consumed.length>0?{...Ce,...ie.consumed[ie.consumed.length-1].parameters}:Ce;return{matched:!0,consumedSegments:ie.consumed,remainingSegments:v.slice(ie.consumed.length),parameters:$e,positionalParamSegments:ie.posParams??{}}}function Gr(M,S,v,L){if(v.length>0&&function Fr(M,S,v){return v.some(L=>jr(M,S,L)&&Co(L)!==$)}(M,v,L)){const Ce=new Ae(S,function Js(M,S,v,L){const ie={};ie[$]=L,L._sourceSegment=M,L._segmentIndexShift=S.length;for(const Ce of v)if(""===Ce.path&&Co(Ce)!==$){const $e=new Ae([],{});$e._sourceSegment=M,$e._segmentIndexShift=S.length,ie[Co(Ce)]=$e}return ie}(M,S,L,new Ae(v,M.children)));return Ce._sourceSegment=M,Ce._segmentIndexShift=S.length,{segmentGroup:Ce,slicedSegments:[]}}if(0===v.length&&function xr(M,S,v){return v.some(L=>jr(M,S,L))}(M,v,L)){const Ce=new Ae(M.segments,function Os(M,S,v,L,ie){const Ce={};for(const $e of L)if(jr(M,v,$e)&&!ie[Co($e)]){const Bt=new Ae([],{});Bt._sourceSegment=M,Bt._segmentIndexShift=S.length,Ce[Co($e)]=Bt}return{...ie,...Ce}}(M,S,v,L,M.children));return Ce._sourceSegment=M,Ce._segmentIndexShift=S.length,{segmentGroup:Ce,slicedSegments:v}}const ie=new Ae(M.segments,M.children);return ie._sourceSegment=M,ie._segmentIndexShift=S.length,{segmentGroup:ie,slicedSegments:v}}function jr(M,S,v){return(!(M.hasChildren()||S.length>0)||"full"!==v.pathMatch)&&""===v.path}function os(M,S,v,L){return!!(Co(M)===L||L!==$&&jr(S,v,M))&&("**"===M.path||ns(S,M,v).matched)}function Xs(M,S,v){return 0===S.length&&!M.children[v]}const vs=!1;class ps{constructor(S){this.segmentGroup=S||null}}class ue{constructor(S){this.urlTree=S}}function x(M){return(0,Be._)(new ps(M))}function E(M){return(0,Be._)(new ue(M))}class Dt{constructor(S,v,L,ie,Ce){this.injector=S,this.configLoader=v,this.urlSerializer=L,this.urlTree=ie,this.config=Ce,this.allowRedirects=!0}apply(){const S=Gr(this.urlTree.root,[],[],this.config).segmentGroup,v=new Ae(S.segments,S.children);return this.expandSegmentGroup(this.injector,this.config,v,$).pipe((0,Re.U)(Ce=>this.createUrlTree(fe(Ce),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,Wt.K)(Ce=>{if(Ce instanceof ue)return this.allowRedirects=!1,this.match(Ce.urlTree);throw Ce instanceof ps?this.noMatchError(Ce):Ce}))}match(S){return this.expandSegmentGroup(this.injector,this.config,S.root,$).pipe((0,Re.U)(ie=>this.createUrlTree(fe(ie),S.queryParams,S.fragment))).pipe((0,Wt.K)(ie=>{throw ie instanceof ps?this.noMatchError(ie):ie}))}noMatchError(S){return new e.vHH(4002,vs)}createUrlTree(S,v,L){const ie=bt(S);return new te(ie,v,L)}expandSegmentGroup(S,v,L,ie){return 0===L.segments.length&&L.hasChildren()?this.expandChildren(S,v,L).pipe((0,Re.U)(Ce=>new Ae([],Ce))):this.expandSegment(S,L,v,L.segments,ie,!0)}expandChildren(S,v,L){const ie=[];for(const Ce of Object.keys(L.children))"primary"===Ce?ie.unshift(Ce):ie.push(Ce);return(0,s.D)(ie).pipe((0,kt.b)(Ce=>{const $e=L.children[Ce],Bt=ho(v,Ce);return this.expandSegmentGroup(S,Bt,$e,Ce).pipe((0,Re.U)(ci=>({segment:ci,outlet:Ce})))}),gi((Ce,$e)=>(Ce[$e.outlet]=$e.segment,Ce),{}),ai())}expandSegment(S,v,L,ie,Ce,$e){return(0,s.D)(L).pipe((0,kt.b)(Bt=>this.expandSegmentAgainstRoute(S,v,L,Bt,ie,Ce,$e).pipe((0,Wt.K)(Ti=>{if(Ti instanceof ps)return(0,T.of)(null);throw Ti}))),xe(Bt=>!!Bt),(0,Wt.K)((Bt,ci)=>{if(Or(Bt))return Xs(v,ie,Ce)?(0,T.of)(new Ae([],{})):x(v);throw Bt}))}expandSegmentAgainstRoute(S,v,L,ie,Ce,$e,Bt){return os(ie,v,Ce,$e)?void 0===ie.redirectTo?this.matchSegmentAgainstRoute(S,v,ie,Ce,$e):Bt&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(S,v,L,ie,Ce,$e):x(v):x(v)}expandSegmentAgainstRouteUsingRedirect(S,v,L,ie,Ce,$e){return"**"===ie.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(S,L,ie,$e):this.expandRegularSegmentAgainstRouteUsingRedirect(S,v,L,ie,Ce,$e)}expandWildCardWithParamsAgainstRouteUsingRedirect(S,v,L,ie){const Ce=this.applyRedirectCommands([],L.redirectTo,{});return L.redirectTo.startsWith("/")?E(Ce):this.lineralizeSegments(L,Ce).pipe((0,ge.z)($e=>{const Bt=new Ae($e,{});return this.expandSegment(S,Bt,v,$e,ie,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(S,v,L,ie,Ce,$e){const{matched:Bt,consumedSegments:ci,remainingSegments:Ti,positionalParamSegments:Ai}=ns(v,ie,Ce);if(!Bt)return x(v);const yn=this.applyRedirectCommands(ci,ie.redirectTo,Ai);return ie.redirectTo.startsWith("/")?E(yn):this.lineralizeSegments(ie,yn).pipe((0,ge.z)(Hi=>this.expandSegment(S,v,L,Hi.concat(Ti),$e,!1)))}matchSegmentAgainstRoute(S,v,L,ie,Ce){return"**"===L.path?(S=br(L,S),L.loadChildren?(L._loadedRoutes?(0,T.of)({routes:L._loadedRoutes,injector:L._loadedInjector}):this.configLoader.loadChildren(S,L)).pipe((0,Re.U)(Bt=>(L._loadedRoutes=Bt.routes,L._loadedInjector=Bt.injector,new Ae(ie,{})))):(0,T.of)(new Ae(ie,{}))):kr(v,L,ie,S).pipe((0,ze.w)(({matched:$e,consumedSegments:Bt,remainingSegments:ci})=>$e?this.getChildConfig(S=L._injector??S,L,ie).pipe((0,ge.z)(Ai=>{const yn=Ai.injector??S,Hi=Ai.routes,{segmentGroup:Kn,slicedSegments:wn}=Gr(v,Bt,ci,Hi),Bo=new Ae(Kn.segments,Kn.children);if(0===wn.length&&Bo.hasChildren())return this.expandChildren(yn,Hi,Bo).pipe((0,Re.U)(Ms=>new Ae(Bt,Ms)));if(0===Hi.length&&0===wn.length)return(0,T.of)(new Ae(Bt,{}));const mr=Co(L)===Ce;return this.expandSegment(yn,Bo,Hi,wn,mr?$:Ce,!0).pipe((0,Re.U)(vo=>new Ae(Bt.concat(vo.segments),vo.children)))})):x(v)))}getChildConfig(S,v,L){return v.children?(0,T.of)({routes:v.children,injector:S}):v.loadChildren?void 0!==v._loadedRoutes?(0,T.of)({routes:v._loadedRoutes,injector:v._loadedInjector}):function dn(M,S,v,L){const ie=S.canLoad;if(void 0===ie||0===ie.length)return(0,T.of)(!0);const Ce=ie.map($e=>{const Bt=zo($e,M);return dt(function V(M){return M&&ee(M.canLoad)}(Bt)?Bt.canLoad(S,v):M.runInContext(()=>Bt(S,v)))});return(0,T.of)(Ce).pipe(eo(),Yo())}(S,v,L).pipe((0,ge.z)(ie=>ie?this.configLoader.loadChildren(S,v).pipe((0,rt.b)(Ce=>{v._loadedRoutes=Ce.routes,v._loadedInjector=Ce.injector})):function ye(M){return(0,Be._)(Vr(vs,3))}())):(0,T.of)({routes:[],injector:S})}lineralizeSegments(S,v){let L=[],ie=v.root;for(;;){if(L=L.concat(ie.segments),0===ie.numberOfChildren)return(0,T.of)(L);if(ie.numberOfChildren>1||!ie.children[$])return S.redirectTo,(0,Be._)(new e.vHH(4e3,vs));ie=ie.children[$]}}applyRedirectCommands(S,v,L){return this.applyRedirectCreateUrlTree(v,this.urlSerializer.parse(v),S,L)}applyRedirectCreateUrlTree(S,v,L,ie){const Ce=this.createSegmentGroup(S,v.root,L,ie);return new te(Ce,this.createQueryParams(v.queryParams,this.urlTree.queryParams),v.fragment)}createQueryParams(S,v){const L={};return oi(S,(ie,Ce)=>{if("string"==typeof ie&&ie.startsWith(":")){const Bt=ie.substring(1);L[Ce]=v[Bt]}else L[Ce]=ie}),L}createSegmentGroup(S,v,L,ie){const Ce=this.createSegments(S,v.segments,L,ie);let $e={};return oi(v.children,(Bt,ci)=>{$e[ci]=this.createSegmentGroup(S,Bt,L,ie)}),new Ae(Ce,$e)}createSegments(S,v,L,ie){return v.map(Ce=>Ce.path.startsWith(":")?this.findPosParam(S,Ce,ie):this.findOrReturn(Ce,L))}findPosParam(S,v,L){const ie=L[v.path.substring(1)];if(!ie)throw new e.vHH(4001,vs);return ie}findOrReturn(S,v){let L=0;for(const ie of v){if(ie.path===S.path)return v.splice(L),ie;L++}return S}}class qt{}class fn{constructor(S,v,L,ie,Ce,$e,Bt){this.injector=S,this.rootComponentType=v,this.config=L,this.urlTree=ie,this.url=Ce,this.paramsInheritanceStrategy=$e,this.urlSerializer=Bt}recognize(){const S=Gr(this.urlTree.root,[],[],this.config.filter(v=>void 0===v.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,S,$).pipe((0,Re.U)(v=>{if(null===v)return null;const L=new It([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},$,this.rootComponentType,null,this.urlTree.root,-1,{}),ie=new co(L,v),Ce=new Ht(this.url,ie);return this.inheritParamsAndData(Ce._root),Ce}))}inheritParamsAndData(S){const v=S.value,L=F(v,this.paramsInheritanceStrategy);v.params=Object.freeze(L.params),v.data=Object.freeze(L.data),S.children.forEach(ie=>this.inheritParamsAndData(ie))}processSegmentGroup(S,v,L,ie){return 0===L.segments.length&&L.hasChildren()?this.processChildren(S,v,L):this.processSegment(S,v,L,L.segments,ie)}processChildren(S,v,L){return(0,s.D)(Object.keys(L.children)).pipe((0,kt.b)(ie=>{const Ce=L.children[ie],$e=ho(v,ie);return this.processSegmentGroup(S,$e,Ce,ie)}),gi((ie,Ce)=>ie&&Ce?(ie.push(...Ce),ie):null),(0,ot.o)(ie=>null!==ie),je(null),ai(),(0,Re.U)(ie=>{if(null===ie)return null;const Ce=Dn(ie);return function un(M){M.sort((S,v)=>S.value.outlet===$?-1:v.value.outlet===$?1:S.value.outlet.localeCompare(v.value.outlet))}(Ce),Ce}))}processSegment(S,v,L,ie,Ce){return(0,s.D)(v).pipe((0,kt.b)($e=>this.processSegmentAgainstRoute($e._injector??S,$e,L,ie,Ce)),xe($e=>!!$e),(0,Wt.K)($e=>{if(Or($e))return Xs(L,ie,Ce)?(0,T.of)([]):(0,T.of)(null);throw $e}))}processSegmentAgainstRoute(S,v,L,ie,Ce){if(v.redirectTo||!os(v,L,ie,Ce))return(0,T.of)(null);let $e;if("**"===v.path){const Bt=ie.length>0?Pt(ie).parameters:{},ci=R(L)+ie.length,Ti=new It(ie,Bt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,G(v),Co(v),v.component??v._loadedComponent??null,v,oo(L),ci,Oe(v));$e=(0,T.of)({snapshot:Ti,consumedSegments:[],remainingSegments:[]})}else $e=kr(L,v,ie,S).pipe((0,Re.U)(({matched:Bt,consumedSegments:ci,remainingSegments:Ti,parameters:Ai})=>{if(!Bt)return null;const yn=R(L)+ci.length;return{snapshot:new It(ci,Ai,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,G(v),Co(v),v.component??v._loadedComponent??null,v,oo(L),yn,Oe(v)),consumedSegments:ci,remainingSegments:Ti}}));return $e.pipe((0,ze.w)(Bt=>{if(null===Bt)return(0,T.of)(null);const{snapshot:ci,consumedSegments:Ti,remainingSegments:Ai}=Bt;S=v._injector??S;const yn=v._loadedInjector??S,Hi=function Zi(M){return M.children?M.children:M.loadChildren?M._loadedRoutes:[]}(v),{segmentGroup:Kn,slicedSegments:wn}=Gr(L,Ti,Ai,Hi.filter(mr=>void 0===mr.redirectTo));if(0===wn.length&&Kn.hasChildren())return this.processChildren(yn,Hi,Kn).pipe((0,Re.U)(mr=>null===mr?null:[new co(ci,mr)]));if(0===Hi.length&&0===wn.length)return(0,T.of)([new co(ci,[])]);const Bo=Co(v)===Ce;return this.processSegment(yn,Hi,Kn,wn,Bo?$:Ce).pipe((0,Re.U)(mr=>null===mr?null:[new co(ci,mr)]))}))}}function Qi(M){const S=M.value.routeConfig;return S&&""===S.path&&void 0===S.redirectTo}function Dn(M){const S=[],v=new Set;for(const L of M){if(!Qi(L)){S.push(L);continue}const ie=S.find(Ce=>L.value.routeConfig===Ce.value.routeConfig);void 0!==ie?(ie.children.push(...L.children),v.add(ie)):S.push(L)}for(const L of v){const ie=Dn(L.children);S.push(new co(L.value,ie))}return S.filter(L=>!v.has(L))}function oo(M){let S=M;for(;S._sourceSegment;)S=S._sourceSegment;return S}function R(M){let S=M,v=S._segmentIndexShift??0;for(;S._sourceSegment;)S=S._sourceSegment,v+=S._segmentIndexShift??0;return v-1}function G(M){return M.data||{}}function Oe(M){return M.resolve||{}}function en(M){return"string"==typeof M.title||null===M.title}function an(M){return(0,ze.w)(S=>{const v=M(S);return v?(0,s.D)(v).pipe((0,Re.U)(()=>S)):(0,T.of)(S)})}const fi=new e.OlP("ROUTES");let Oi=(()=>{class M{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,e.f3M)(e.Sil)}loadComponent(v){if(this.componentLoaders.get(v))return this.componentLoaders.get(v);if(v._loadedComponent)return(0,T.of)(v._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(v);const L=dt(v.loadComponent()).pipe((0,Re.U)(Ji),(0,rt.b)(Ce=>{this.onLoadEndListener&&this.onLoadEndListener(v),v._loadedComponent=Ce}),(0,j.x)(()=>{this.componentLoaders.delete(v)})),ie=new He.c(L,()=>new Qe.x).pipe((0,H.x)());return this.componentLoaders.set(v,ie),ie}loadChildren(v,L){if(this.childrenLoaders.get(L))return this.childrenLoaders.get(L);if(L._loadedRoutes)return(0,T.of)({routes:L._loadedRoutes,injector:L._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(L);const Ce=this.loadModuleFactoryOrRoutes(L.loadChildren).pipe((0,Re.U)(Bt=>{this.onLoadEndListener&&this.onLoadEndListener(L);let ci,Ti,Ai=!1;Array.isArray(Bt)?Ti=Bt:(ci=Bt.create(v).injector,Ti=ft(ci.get(fi,[],e.XFs.Self|e.XFs.Optional)));return{routes:Ti.map(Po),injector:ci}}),(0,j.x)(()=>{this.childrenLoaders.delete(L)})),$e=new He.c(Ce,()=>new Qe.x).pipe((0,H.x)());return this.childrenLoaders.set(L,$e),$e}loadModuleFactoryOrRoutes(v){return dt(v()).pipe((0,Re.U)(Ji),(0,ge.z)(L=>L instanceof e.YKP||Array.isArray(L)?(0,T.of)(L):(0,s.D)(this.compiler.compileModuleAsync(L))))}}return M.\u0275fac=function(v){return new(v||M)},M.\u0275prov=e.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"}),M})();function Ji(M){return function Vi(M){return M&&"object"==typeof M&&"default"in M}(M)?M.default:M}let zn=(()=>{class M{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new Qe.x,this.configLoader=(0,e.f3M)(Oi),this.environmentInjector=(0,e.f3M)(e.lqb),this.urlSerializer=(0,e.f3M)(be),this.rootContexts=(0,e.f3M)(bo),this.navigationId=0,this.afterPreactivation=()=>(0,T.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=ie=>this.events.next(new Zo(ie)),this.configLoader.onLoadStartListener=ie=>this.events.next(new So(ie))}complete(){this.transitions?.complete()}handleNavigationRequest(v){const L=++this.navigationId;this.transitions?.next({...this.transitions.value,...v,id:L})}setupNavigations(v){return this.transitions=new l.X({id:0,targetPageId:0,currentUrlTree:v.currentUrlTree,currentRawUrl:v.currentUrlTree,extractedUrl:v.urlHandlingStrategy.extract(v.currentUrlTree),urlAfterRedirects:v.urlHandlingStrategy.extract(v.currentUrlTree),rawUrl:v.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Ei,restoredState:null,currentSnapshot:v.routerState.snapshot,targetSnapshot:null,currentRouterState:v.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,_e.h)(L=>0!==L.id),(0,Re.U)(L=>({...L,extractedUrl:v.urlHandlingStrategy.extract(L.rawUrl)})),(0,ze.w)(L=>{let ie=!1,Ce=!1;return(0,T.of)(L).pipe((0,rt.b)($e=>{this.currentNavigation={id:$e.id,initialUrl:$e.rawUrl,extractedUrl:$e.extractedUrl,trigger:$e.source,extras:$e.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,ze.w)($e=>{const Bt=v.browserUrlTree.toString(),ci=!v.navigated||$e.extractedUrl.toString()!==Bt||Bt!==v.currentUrlTree.toString();if(!ci&&"reload"!==($e.extras.onSameUrlNavigation??v.onSameUrlNavigation)){const Ai="";return this.events.next(new Xn($e.id,v.serializeUrl(L.rawUrl),Ai,0)),v.rawUrlTree=$e.rawUrl,$e.resolve(null),Le.E}if(v.urlHandlingStrategy.shouldProcessUrl($e.rawUrl))return Wn($e.source)&&(v.browserUrlTree=$e.extractedUrl),(0,T.of)($e).pipe((0,ze.w)(Ai=>{const yn=this.transitions?.getValue();return this.events.next(new Mn(Ai.id,this.urlSerializer.serialize(Ai.extractedUrl),Ai.source,Ai.restoredState)),yn!==this.transitions?.getValue()?Le.E:Promise.resolve(Ai)}),function Ct(M,S,v,L){return(0,ze.w)(ie=>function tt(M,S,v,L,ie){return new Dt(M,S,v,L,ie).apply()}(M,S,v,ie.extractedUrl,L).pipe((0,Re.U)(Ce=>({...ie,urlAfterRedirects:Ce}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,v.config),(0,rt.b)(Ai=>{this.currentNavigation={...this.currentNavigation,finalUrl:Ai.urlAfterRedirects},L.urlAfterRedirects=Ai.urlAfterRedirects}),function ut(M,S,v,L,ie){return(0,ge.z)(Ce=>function Ii(M,S,v,L,ie,Ce,$e="emptyOnly"){return new fn(M,S,v,L,ie,$e,Ce).recognize().pipe((0,ze.w)(Bt=>null===Bt?function Mi(M){return new he.y(S=>S.error(M))}(new qt):(0,T.of)(Bt)))}(M,S,v,Ce.urlAfterRedirects,L.serialize(Ce.urlAfterRedirects),L,ie).pipe((0,Re.U)($e=>({...Ce,targetSnapshot:$e}))))}(this.environmentInjector,this.rootComponentType,v.config,this.urlSerializer,v.paramsInheritanceStrategy),(0,rt.b)(Ai=>{if(L.targetSnapshot=Ai.targetSnapshot,"eager"===v.urlUpdateStrategy){if(!Ai.extras.skipLocationChange){const Hi=v.urlHandlingStrategy.merge(Ai.urlAfterRedirects,Ai.rawUrl);v.setBrowserUrl(Hi,Ai)}v.browserUrlTree=Ai.urlAfterRedirects}const yn=new To(Ai.id,this.urlSerializer.serialize(Ai.extractedUrl),this.urlSerializer.serialize(Ai.urlAfterRedirects),Ai.targetSnapshot);this.events.next(yn)}));if(ci&&v.urlHandlingStrategy.shouldProcessUrl(v.rawUrlTree)){const{id:Ai,extractedUrl:yn,source:Hi,restoredState:Kn,extras:wn}=$e,Bo=new Mn(Ai,this.urlSerializer.serialize(yn),Hi,Kn);this.events.next(Bo);const mr=fo(yn,this.rootComponentType).snapshot;return L={...$e,targetSnapshot:mr,urlAfterRedirects:yn,extras:{...wn,skipLocationChange:!1,replaceUrl:!1}},(0,T.of)(L)}{const Ai="";return this.events.next(new Xn($e.id,v.serializeUrl(L.extractedUrl),Ai,1)),v.rawUrlTree=$e.rawUrl,$e.resolve(null),Le.E}}),(0,rt.b)($e=>{const Bt=new $o($e.id,this.urlSerializer.serialize($e.extractedUrl),this.urlSerializer.serialize($e.urlAfterRedirects),$e.targetSnapshot);this.events.next(Bt)}),(0,Re.U)($e=>L={...$e,guards:ir($e.targetSnapshot,$e.currentSnapshot,this.rootContexts)}),function bs(M,S){return(0,ge.z)(v=>{const{targetSnapshot:L,currentSnapshot:ie,guards:{canActivateChecks:Ce,canDeactivateChecks:$e}}=v;return 0===$e.length&&0===Ce.length?(0,T.of)({...v,guardsResult:!0}):function Rr(M,S,v,L){return(0,s.D)(M).pipe((0,ge.z)(ie=>function ms(M,S,v,L,ie){const Ce=S&&S.routeConfig?S.routeConfig.canDeactivate:null;if(!Ce||0===Ce.length)return(0,T.of)(!0);const $e=Ce.map(Bt=>{const ci=es(S)??ie,Ti=zo(Bt,ci);return dt(function Di(M){return M&&ee(M.canDeactivate)}(Ti)?Ti.canDeactivate(M,S,v,L):ci.runInContext(()=>Ti(M,S,v,L))).pipe(xe())});return(0,T.of)($e).pipe(eo())}(ie.component,ie.route,v,S,L)),xe(ie=>!0!==ie,!0))}($e,L,ie,M).pipe((0,ge.z)(Bt=>Bt&&function Q(M){return"boolean"==typeof M}(Bt)?function nr(M,S,v,L){return(0,s.D)(S).pipe((0,kt.b)(ie=>(0,q.z)(function Qs(M,S){return null!==M&&S&&S(new Xo(M)),(0,T.of)(!0)}(ie.route.parent,L),function Is(M,S){return null!==M&&S&&S(new Ro(M)),(0,T.of)(!0)}(ie.route,L),function pa(M,S,v){const L=S[S.length-1],Ce=S.slice(0,S.length-1).reverse().map($e=>function Lo(M){const S=M.routeConfig?M.routeConfig.canActivateChild:null;return S&&0!==S.length?{node:M,guards:S}:null}($e)).filter($e=>null!==$e).map($e=>(0,Ee.P)(()=>{const Bt=$e.guards.map(ci=>{const Ti=es($e.node)??v,Ai=zo(ci,Ti);return dt(function Mt(M){return M&&ee(M.canActivateChild)}(Ai)?Ai.canActivateChild(L,M):Ti.runInContext(()=>Ai(L,M))).pipe(xe())});return(0,T.of)(Bt).pipe(eo())}));return(0,T.of)(Ce).pipe(eo())}(M,ie.path,v),function Ba(M,S,v){const L=S.routeConfig?S.routeConfig.canActivate:null;if(!L||0===L.length)return(0,T.of)(!0);const ie=L.map(Ce=>(0,Ee.P)(()=>{const $e=es(S)??v,Bt=zo(Ce,$e);return dt(function Ne(M){return M&&ee(M.canActivate)}(Bt)?Bt.canActivate(S,M):$e.runInContext(()=>Bt(S,M))).pipe(xe())}));return(0,T.of)(ie).pipe(eo())}(M,ie.route,v))),xe(ie=>!0!==ie,!0))}(L,Ce,M,S):(0,T.of)(Bt)),(0,Re.U)(Bt=>({...v,guardsResult:Bt})))})}(this.environmentInjector,$e=>this.events.next($e)),(0,rt.b)($e=>{if(L.guardsResult=$e.guardsResult,At($e.guardsResult))throw Br(0,$e.guardsResult);const Bt=new Hn($e.id,this.urlSerializer.serialize($e.extractedUrl),this.urlSerializer.serialize($e.urlAfterRedirects),$e.targetSnapshot,!!$e.guardsResult);this.events.next(Bt)}),(0,_e.h)($e=>!!$e.guardsResult||(v.restoreHistory($e),this.cancelNavigationTransition($e,"",3),!1)),an($e=>{if($e.guards.canActivateChecks.length)return(0,T.of)($e).pipe((0,rt.b)(Bt=>{const ci=new Dr(Bt.id,this.urlSerializer.serialize(Bt.extractedUrl),this.urlSerializer.serialize(Bt.urlAfterRedirects),Bt.targetSnapshot);this.events.next(ci)}),(0,ze.w)(Bt=>{let ci=!1;return(0,T.of)(Bt).pipe(function Xt(M,S){return(0,ge.z)(v=>{const{targetSnapshot:L,guards:{canActivateChecks:ie}}=v;if(!ie.length)return(0,T.of)(v);let Ce=0;return(0,s.D)(ie).pipe((0,kt.b)($e=>function Kt(M,S,v,L){const ie=M.routeConfig,Ce=M._resolve;return void 0!==ie?.title&&!en(ie)&&(Ce[we]=ie.title),function ki(M,S,v,L){const ie=function sn(M){return[...Object.keys(M),...Object.getOwnPropertySymbols(M)]}(M);if(0===ie.length)return(0,T.of)({});const Ce={};return(0,s.D)(ie).pipe((0,ge.z)($e=>function Sn(M,S,v,L){const ie=es(S)??L,Ce=zo(M,ie);return dt(Ce.resolve?Ce.resolve(S,v):ie.runInContext(()=>Ce(S,v)))}(M[$e],S,v,L).pipe(xe(),(0,rt.b)(Bt=>{Ce[$e]=Bt}))),jt(1),(0,W.h)(Ce),(0,Wt.K)($e=>Or($e)?Le.E:(0,Be._)($e)))}(Ce,M,S,L).pipe((0,Re.U)($e=>(M._resolvedData=$e,M.data=F(M,v).resolve,ie&&en(ie)&&(M.data[we]=ie.title),null)))}($e.route,L,M,S)),(0,rt.b)(()=>Ce++),jt(1),(0,ge.z)($e=>Ce===ie.length?(0,T.of)(v):Le.E))})}(v.paramsInheritanceStrategy,this.environmentInjector),(0,rt.b)({next:()=>ci=!0,complete:()=>{ci||(v.restoreHistory(Bt),this.cancelNavigationTransition(Bt,"",2))}}))}),(0,rt.b)(Bt=>{const ci=new Eo(Bt.id,this.urlSerializer.serialize(Bt.extractedUrl),this.urlSerializer.serialize(Bt.urlAfterRedirects),Bt.targetSnapshot);this.events.next(ci)}))}),an($e=>{const Bt=ci=>{const Ti=[];ci.routeConfig?.loadComponent&&!ci.routeConfig._loadedComponent&&Ti.push(this.configLoader.loadComponent(ci.routeConfig).pipe((0,rt.b)(Ai=>{ci.component=Ai}),(0,Re.U)(()=>{})));for(const Ai of ci.children)Ti.push(...Bt(Ai));return Ti};return(0,X.a)(Bt($e.targetSnapshot.root)).pipe(je(),(0,Me.q)(1))}),an(()=>this.afterPreactivation()),(0,Re.U)($e=>{const Bt=function ko(M,S,v){const L=io(M,S._root,v?v._root:void 0);return new rn(L,S)}(v.routeReuseStrategy,$e.targetSnapshot,$e.currentRouterState);return L={...$e,targetRouterState:Bt}}),(0,rt.b)($e=>{v.currentUrlTree=$e.urlAfterRedirects,v.rawUrlTree=v.urlHandlingStrategy.merge($e.urlAfterRedirects,$e.rawUrl),v.routerState=$e.targetRouterState,"deferred"===v.urlUpdateStrategy&&($e.extras.skipLocationChange||v.setBrowserUrl(v.rawUrlTree,$e),v.browserUrlTree=$e.urlAfterRedirects)}),((M,S,v)=>(0,Re.U)(L=>(new cr(S,L.targetRouterState,L.currentRouterState,v).activate(M),L)))(this.rootContexts,v.routeReuseStrategy,$e=>this.events.next($e)),(0,Me.q)(1),(0,rt.b)({next:$e=>{ie=!0,this.lastSuccessfulNavigation=this.currentNavigation,v.navigated=!0,this.events.next(new Tn($e.id,this.urlSerializer.serialize($e.extractedUrl),this.urlSerializer.serialize(v.currentUrlTree))),v.titleStrategy?.updateTitle($e.targetRouterState.snapshot),$e.resolve(!0)},complete:()=>{ie=!0}}),(0,j.x)(()=>{ie||Ce||this.cancelNavigationTransition(L,"",1),this.currentNavigation?.id===L.id&&(this.currentNavigation=null)}),(0,Wt.K)($e=>{if(Ce=!0,Xr($e)){Hr($e)||(v.navigated=!0,v.restoreHistory(L,!0));const Bt=new Li(L.id,this.urlSerializer.serialize(L.extractedUrl),$e.message,$e.cancellationCode);if(this.events.next(Bt),Hr($e)){const ci=v.urlHandlingStrategy.merge($e.url,v.rawUrlTree),Ti={skipLocationChange:L.extras.skipLocationChange,replaceUrl:"eager"===v.urlUpdateStrategy||Wn(L.source)};v.scheduleNavigation(ci,Ei,null,Ti,{resolve:L.resolve,reject:L.reject,promise:L.promise})}else L.resolve(!1)}else{v.restoreHistory(L,!0);const Bt=new Gn(L.id,this.urlSerializer.serialize(L.extractedUrl),$e,L.targetSnapshot??void 0);this.events.next(Bt);try{L.resolve(v.errorHandler($e))}catch(ci){L.reject(ci)}}return Le.E}))}))}cancelNavigationTransition(v,L,ie){const Ce=new Li(v.id,this.urlSerializer.serialize(v.extractedUrl),L,ie);this.events.next(Ce),v.resolve(!1)}}return M.\u0275fac=function(v){return new(v||M)},M.\u0275prov=e.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"}),M})();function Wn(M){return M!==Ei}let Io=(()=>{class M{buildTitle(v){let L,ie=v.root;for(;void 0!==ie;)L=this.getResolvedTitleForRoute(ie)??L,ie=ie.children.find(Ce=>Ce.outlet===$);return L}getResolvedTitleForRoute(v){return v.data[we]}}return M.\u0275fac=function(v){return new(v||M)},M.\u0275prov=e.Yz7({token:M,factory:function(){return(0,e.f3M)(kn)},providedIn:"root"}),M})(),kn=(()=>{class M extends Io{constructor(v){super(),this.title=v}updateTitle(v){const L=this.buildTitle(v);void 0!==L&&this.title.setTitle(L)}}return M.\u0275fac=function(v){return new(v||M)(e.LFG(Y.Dx))},M.\u0275prov=e.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"}),M})(),Rs=(()=>{class M{}return M.\u0275fac=function(v){return new(v||M)},M.\u0275prov=e.Yz7({token:M,factory:function(){return(0,e.f3M)(Go)},providedIn:"root"}),M})();class Ps{shouldDetach(S){return!1}store(S,v){}shouldAttach(S){return!1}retrieve(S){return null}shouldReuseRoute(S,v){return S.routeConfig===v.routeConfig}}let Go=(()=>{class M extends Ps{}return M.\u0275fac=function(){let S;return function(L){return(S||(S=e.n5z(M)))(L||M)}}(),M.\u0275prov=e.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"}),M})();const vn=new e.OlP("",{providedIn:"root",factory:()=>({})});let or=(()=>{class M{}return M.\u0275fac=function(v){return new(v||M)},M.\u0275prov=e.Yz7({token:M,factory:function(){return(0,e.f3M)(ur)},providedIn:"root"}),M})(),ur=(()=>{class M{shouldProcessUrl(v){return!0}extract(v){return v}merge(v,L){return v}}return M.\u0275fac=function(v){return new(v||M)},M.\u0275prov=e.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"}),M})();function hr(M){throw M}function ga(M,S,v){return S.parse("/")}const wr={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ys={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let No=(()=>{class M{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){if("computed"===this.canceledNavigationResolution)return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,e.f3M)(e.c2e),this.isNgZoneEnabled=!1,this.options=(0,e.f3M)(vn,{optional:!0})||{},this.errorHandler=this.options.errorHandler||hr,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||ga,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,e.f3M)(or),this.routeReuseStrategy=(0,e.f3M)(Rs),this.urlCreationStrategy=(0,e.f3M)(Jr),this.titleStrategy=(0,e.f3M)(Io),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=ft((0,e.f3M)(fi,{optional:!0})??[]),this.navigationTransitions=(0,e.f3M)(zn),this.urlSerializer=(0,e.f3M)(be),this.location=(0,e.f3M)(pt.Ye),this.isNgZoneEnabled=(0,e.f3M)(e.R0b)instanceof e.R0b&&e.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new te,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=fo(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this).subscribe(v=>{this.lastSuccessfulId=v.id,this.currentPageId=this.browserPageId??0},v=>{this.console.warn(`Unhandled Navigation Error: ${v}`)})}resetRootComponentType(v){this.routerState.root.component=v,this.navigationTransitions.rootComponentType=v}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const v=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Ei,v)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(v=>{const L="popstate"===v.type?"popstate":"hashchange";"popstate"===L&&setTimeout(()=>{this.navigateToSyncWithBrowser(v.url,L,v.state)},0)}))}navigateToSyncWithBrowser(v,L,ie){const Ce={replaceUrl:!0},$e=ie?.navigationId?ie:null;if(ie){const ci={...ie};delete ci.navigationId,delete ci.\u0275routerPageId,0!==Object.keys(ci).length&&(Ce.state=ci)}const Bt=this.parseUrl(v);this.scheduleNavigation(Bt,L,$e,Ce)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(v){this.config=v.map(Po),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(v,L={}){const{relativeTo:ie,queryParams:Ce,fragment:$e,queryParamsHandling:Bt,preserveFragment:ci}=L,Ti=ci?this.currentUrlTree.fragment:$e;let Ai=null;switch(Bt){case"merge":Ai={...this.currentUrlTree.queryParams,...Ce};break;case"preserve":Ai=this.currentUrlTree.queryParams;break;default:Ai=Ce||null}return null!==Ai&&(Ai=this.removeEmptyProps(Ai)),this.urlCreationStrategy.createUrlTree(ie,this.routerState,this.currentUrlTree,v,Ai,Ti??null)}navigateByUrl(v,L={skipLocationChange:!1}){const ie=At(v)?v:this.parseUrl(v),Ce=this.urlHandlingStrategy.merge(ie,this.rawUrlTree);return this.scheduleNavigation(Ce,Ei,null,L)}navigate(v,L={skipLocationChange:!1}){return function xs(M){for(let S=0;S<M.length;S++){const v=M[S];if(null==v)throw new e.vHH(4008,false)}}(v),this.navigateByUrl(this.createUrlTree(v,L),L)}serializeUrl(v){return this.urlSerializer.serialize(v)}parseUrl(v){let L;try{L=this.urlSerializer.parse(v)}catch(ie){L=this.malformedUriErrorHandler(ie,this.urlSerializer,v)}return L}isActive(v,L){let ie;if(ie=!0===L?{...wr}:!1===L?{...ys}:L,At(v))return re(this.currentUrlTree,v,ie);const Ce=this.parseUrl(v);return re(this.currentUrlTree,Ce,ie)}removeEmptyProps(v){return Object.keys(v).reduce((L,ie)=>{const Ce=v[ie];return null!=Ce&&(L[ie]=Ce),L},{})}scheduleNavigation(v,L,ie,Ce,$e){if(this.disposed)return Promise.resolve(!1);let Bt,ci,Ti,Ai;return $e?(Bt=$e.resolve,ci=$e.reject,Ti=$e.promise):Ti=new Promise((yn,Hi)=>{Bt=yn,ci=Hi}),Ai="computed"===this.canceledNavigationResolution?ie&&ie.\u0275routerPageId?ie.\u0275routerPageId:(this.browserPageId??0)+1:0,this.navigationTransitions.handleNavigationRequest({targetPageId:Ai,source:L,restoredState:ie,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:v,extras:Ce,resolve:Bt,reject:ci,promise:Ti,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Ti.catch(yn=>Promise.reject(yn))}setBrowserUrl(v,L){const ie=this.urlSerializer.serialize(v);if(this.location.isCurrentPathEqualTo(ie)||L.extras.replaceUrl){const $e={...L.extras.state,...this.generateNgRouterState(L.id,this.browserPageId)};this.location.replaceState(ie,"",$e)}else{const Ce={...L.extras.state,...this.generateNgRouterState(L.id,L.targetPageId)};this.location.go(ie,"",Ce)}}restoreHistory(v,L=!1){if("computed"===this.canceledNavigationResolution){const Ce=this.currentPageId-(this.browserPageId??this.currentPageId);0!==Ce?this.location.historyGo(Ce):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===Ce&&(this.resetState(v),this.browserUrlTree=v.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(L&&this.resetState(v),this.resetUrlToCurrentUrlTree())}resetState(v){this.routerState=v.currentRouterState,this.currentUrlTree=v.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,v.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(v,L){return"computed"===this.canceledNavigationResolution?{navigationId:v,\u0275routerPageId:L}:{navigationId:v}}}return M.\u0275fac=function(v){return new(v||M)},M.\u0275prov=e.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"}),M})(),Fs=(()=>{class M{constructor(v,L,ie,Ce,$e,Bt){this.router=v,this.route=L,this.tabIndexAttribute=ie,this.renderer=Ce,this.el=$e,this.locationStrategy=Bt,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new Qe.x;const ci=$e.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===ci||"area"===ci,this.isAnchorElement?this.subscription=v.events.subscribe(Ti=>{Ti instanceof Tn&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(v){this._preserveFragment=(0,e.D6c)(v)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(v){this._skipLocationChange=(0,e.D6c)(v)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(v){this._replaceUrl=(0,e.D6c)(v)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(v){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",v)}ngOnChanges(v){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(v){null!=v?(this.commands=Array.isArray(v)?v:[v],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(v,L,ie,Ce,$e){return!!(null===this.urlTree||this.isAnchorElement&&(0!==v||L||ie||Ce||$e||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const v=null===this.href?null:(0,e.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",v)}applyAttributeValue(v,L){const ie=this.renderer,Ce=this.el.nativeElement;null!==L?ie.setAttribute(Ce,v,L):ie.removeAttribute(Ce,v)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return M.\u0275fac=function(v){return new(v||M)(e.Y36(No),e.Y36(qe),e.$8M("tabindex"),e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(pt.S$))},M.\u0275dir=e.lG2({type:M,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(v,L){1&v&&e.NdJ("click",function(Ce){return L.onClick(Ce.button,Ce.ctrlKey,Ce.shiftKey,Ce.altKey,Ce.metaKey)}),2&v&&e.uIk("target",L.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[e.TTD]}),M})(),Ls=(()=>{class M{get isActive(){return this._isActive}constructor(v,L,ie,Ce,$e){this.router=v,this.element=L,this.renderer=ie,this.cdr=Ce,this.link=$e,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new e.vpe,this.routerEventsSubscription=v.events.subscribe(Bt=>{Bt instanceof Tn&&this.update()})}ngAfterContentInit(){(0,T.of)(this.links.changes,(0,T.of)(null)).pipe((0,C.J)()).subscribe(v=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const v=[...this.links.toArray(),this.link].filter(L=>!!L).map(L=>L.onChanges);this.linkInputChangesSubscription=(0,s.D)(v).pipe((0,C.J)()).subscribe(L=>{this._isActive!==this.isLinkActive(this.router)(L)&&this.update()})}set routerLinkActive(v){const L=Array.isArray(v)?v:v.split(" ");this.classes=L.filter(ie=>!!ie)}ngOnChanges(v){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||Promise.resolve().then(()=>{const v=this.hasActiveLinks();this._isActive!==v&&(this._isActive=v,this.cdr.markForCheck(),this.classes.forEach(L=>{v?this.renderer.addClass(this.element.nativeElement,L):this.renderer.removeClass(this.element.nativeElement,L)}),v&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(v))})}isLinkActive(v){const L=function Va(M){return!!M.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return ie=>!!ie.urlTree&&v.isActive(ie.urlTree,L)}hasActiveLinks(){const v=this.isLinkActive(this.router);return this.link&&v(this.link)||this.links.some(v)}}return M.\u0275fac=function(v){return new(v||M)(e.Y36(No),e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(e.sBO),e.Y36(Fs,8))},M.\u0275dir=e.lG2({type:M,selectors:[["","routerLinkActive",""]],contentQueries:function(v,L,ie){if(1&v&&e.Suo(ie,Fs,5),2&v){let Ce;e.iGM(Ce=e.CRH())&&(L.links=Ce)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[e.TTD]}),M})();class Ns{}let rs=(()=>{class M{constructor(v,L,ie,Ce,$e){this.router=v,this.injector=ie,this.preloadingStrategy=Ce,this.loader=$e}setUpPreloading(){this.subscription=this.router.events.pipe((0,_e.h)(v=>v instanceof Tn),(0,kt.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(v,L){const ie=[];for(const Ce of L){Ce.providers&&!Ce._injector&&(Ce._injector=(0,e.MMx)(Ce.providers,v,`Route: ${Ce.path}`));const $e=Ce._injector??v,Bt=Ce._loadedInjector??$e;(Ce.loadChildren&&!Ce._loadedRoutes&&void 0===Ce.canLoad||Ce.loadComponent&&!Ce._loadedComponent)&&ie.push(this.preloadConfig($e,Ce)),(Ce.children||Ce._loadedRoutes)&&ie.push(this.processRoutes(Bt,Ce.children??Ce._loadedRoutes))}return(0,s.D)(ie).pipe((0,C.J)())}preloadConfig(v,L){return this.preloadingStrategy.preload(L,()=>{let ie;ie=L.loadChildren&&void 0===L.canLoad?this.loader.loadChildren(v,L):(0,T.of)(null);const Ce=ie.pipe((0,ge.z)($e=>null===$e?(0,T.of)(void 0):(L._loadedRoutes=$e.routes,L._loadedInjector=$e.injector,this.processRoutes($e.injector??v,$e.routes))));if(L.loadComponent&&!L._loadedComponent){const $e=this.loader.loadComponent(L);return(0,s.D)([Ce,$e]).pipe((0,C.J)())}return Ce})}}return M.\u0275fac=function(v){return new(v||M)(e.LFG(No),e.LFG(e.Sil),e.LFG(e.lqb),e.LFG(Ns),e.LFG(Oi))},M.\u0275prov=e.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"}),M})();const qs=new e.OlP("");let Xi=(()=>{class M{constructor(v,L,ie,Ce,$e={}){this.urlSerializer=v,this.transitions=L,this.viewportScroller=ie,this.zone=Ce,this.options=$e,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},$e.scrollPositionRestoration=$e.scrollPositionRestoration||"disabled",$e.anchorScrolling=$e.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(v=>{v instanceof Mn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=v.navigationTrigger,this.restoredId=v.restoredState?v.restoredState.navigationId:0):v instanceof Tn&&(this.lastId=v.id,this.scheduleScrollEvent(v,this.urlSerializer.parse(v.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(v=>{v instanceof fr&&(v.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(v.position):v.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(v.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(v,L){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new fr(v,"popstate"===this.lastSource?this.store[this.restoredId]:null,L))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return M.\u0275fac=function(v){e.$Z()},M.\u0275prov=e.Yz7({token:M,factory:M.\u0275fac}),M})();var go=(()=>((go=go||{})[go.COMPLETE=0]="COMPLETE",go[go.FAILED=1]="FAILED",go[go.REDIRECTING=2]="REDIRECTING",go))();const ws=!1;function as(M,S){return{\u0275kind:M,\u0275providers:S}}const ba=new e.OlP("",{providedIn:"root",factory:()=>!1});function Nr(){const M=(0,e.f3M)(e.zs3);return S=>{const v=M.get(e.z2F);if(S!==v.components[0])return;const L=M.get(No),ie=M.get(rr);1===M.get(ia)&&L.initialNavigation(),M.get(Nn,null,e.XFs.Optional)?.setUpPreloading(),M.get(qs,null,e.XFs.Optional)?.init(),L.resetRootComponentType(v.componentTypes[0]),ie.closed||(ie.next(),ie.complete(),ie.unsubscribe())}}const rr=new e.OlP(ws?"bootstrap done indicator":"",{factory:()=>new Qe.x}),ia=new e.OlP(ws?"initial navigation":"",{providedIn:"root",factory:()=>1});function Cs(){let M=[];return M=ws?[{provide:e.Xts,multi:!0,useFactory:()=>{const S=(0,e.f3M)(No);return()=>S.events.subscribe(v=>{console.group?.(`Router Event: ${v.constructor.name}`),console.log(function lr(M){if(!("type"in M))return`Unknown Router Event: ${M.constructor.name}`;switch(M.type){case 14:return`ActivationEnd(path: '${M.snapshot.routeConfig?.path||""}')`;case 13:return`ActivationStart(path: '${M.snapshot.routeConfig?.path||""}')`;case 12:return`ChildActivationEnd(path: '${M.snapshot.routeConfig?.path||""}')`;case 11:return`ChildActivationStart(path: '${M.snapshot.routeConfig?.path||""}')`;case 8:return`GuardsCheckEnd(id: ${M.id}, url: '${M.url}', urlAfterRedirects: '${M.urlAfterRedirects}', state: ${M.state}, shouldActivate: ${M.shouldActivate})`;case 7:return`GuardsCheckStart(id: ${M.id}, url: '${M.url}', urlAfterRedirects: '${M.urlAfterRedirects}', state: ${M.state})`;case 2:return`NavigationCancel(id: ${M.id}, url: '${M.url}')`;case 16:return`NavigationSkipped(id: ${M.id}, url: '${M.url}')`;case 1:return`NavigationEnd(id: ${M.id}, url: '${M.url}', urlAfterRedirects: '${M.urlAfterRedirects}')`;case 3:return`NavigationError(id: ${M.id}, url: '${M.url}', error: ${M.error})`;case 0:return`NavigationStart(id: ${M.id}, url: '${M.url}')`;case 6:return`ResolveEnd(id: ${M.id}, url: '${M.url}', urlAfterRedirects: '${M.urlAfterRedirects}', state: ${M.state})`;case 5:return`ResolveStart(id: ${M.id}, url: '${M.url}', urlAfterRedirects: '${M.urlAfterRedirects}', state: ${M.state})`;case 10:return`RouteConfigLoadEnd(path: ${M.route.path})`;case 9:return`RouteConfigLoadStart(path: ${M.route.path})`;case 4:return`RoutesRecognized(id: ${M.id}, url: '${M.url}', urlAfterRedirects: '${M.urlAfterRedirects}', state: ${M.state})`;case 15:return`Scroll(anchor: '${M.anchor}', position: '${M.position?`${M.position[0]}, ${M.position[1]}`:null}')`}}(v)),console.log(v),console.groupEnd?.()})}}]:[],as(1,M)}const Nn=new e.OlP(ws?"router preloader":"");function Bl(M){return as(0,[{provide:Nn,useExisting:rs},{provide:Ns,useExisting:M}])}const ln=!1,jo=new e.OlP(ln?"router duplicate forRoot guard":"ROUTER_FORROOT_GUARD"),Ds=[pt.Ye,{provide:be,useClass:st},No,bo,{provide:qe,useFactory:function ea(M){return M.routerState.root},deps:[No]},Oi,ln?{provide:ba,useValue:!0}:[]];function Tc(){return new e.PXZ("Router",No)}let Ha=(()=>{class M{constructor(v){}static forRoot(v,L){return{ngModule:M,providers:[Ds,ln&&L?.enableTracing?Cs().\u0275providers:[],{provide:fi,multi:!0,useValue:v},{provide:jo,useFactory:za,deps:[[No,new e.FiY,new e.tp0]]},{provide:vn,useValue:L||{}},L?.useHash?{provide:pt.S$,useClass:pt.Do}:{provide:pt.S$,useClass:pt.b0},{provide:qs,useFactory:()=>{const M=(0,e.f3M)(pt.EM),S=(0,e.f3M)(e.R0b),v=(0,e.f3M)(vn),L=(0,e.f3M)(zn),ie=(0,e.f3M)(be);return v.scrollOffset&&M.setOffset(v.scrollOffset),new Xi(ie,L,M,S,v)}},L?.preloadingStrategy?Bl(L.preloadingStrategy).\u0275providers:[],{provide:e.PXZ,multi:!0,useFactory:Tc},L?.initialNavigation?An(L):[],[{provide:Wr,useFactory:Nr},{provide:e.tb,multi:!0,useExisting:Wr}]]}}static forChild(v){return{ngModule:M,providers:[{provide:fi,multi:!0,useValue:v}]}}}return M.\u0275fac=function(v){return new(v||M)(e.LFG(jo,8))},M.\u0275mod=e.oAB({type:M}),M.\u0275inj=e.cJS({imports:[tr]}),M})();function za(M){if(ln&&M)throw new e.vHH(4007,"The Router was provided more than once. This can happen if 'forRoot' is used outside of the root injector. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function An(M){return["disabled"===M.initialNavigation?as(3,[{provide:e.ip1,multi:!0,useFactory:()=>{const S=(0,e.f3M)(No);return()=>{S.setUpLocationChangeListener()}}},{provide:ia,useValue:2}]).\u0275providers:[],"enabledBlocking"===M.initialNavigation?as(2,[{provide:ia,useValue:0},{provide:e.ip1,multi:!0,deps:[e.zs3],useFactory:S=>{const v=S.get(pt.V_,Promise.resolve());return()=>v.then(()=>new Promise(L=>{const ie=S.get(No),Ce=S.get(rr);(function $r(M,S){M.events.pipe((0,_e.h)(v=>v instanceof Tn||v instanceof Li||v instanceof Gn||v instanceof Xn),(0,Re.U)(v=>v instanceof Tn||v instanceof Xn?go.COMPLETE:v instanceof Li&&(0===v.code||1===v.code)?go.REDIRECTING:go.FAILED),(0,_e.h)(v=>v!==go.REDIRECTING),(0,Me.q)(1)).subscribe(()=>{S()})})(ie,()=>{L(!0)}),S.get(zn).afterPreactivation=()=>(L(!0),Ce.closed?(0,T.of)(void 0):Ce),ie.initialNavigation()}))}}]).\u0275providers:[]]}const Wr=new e.OlP(ln?"Router Initializer":"")},4906:(ri,mt,p)=>{p.d(mt,{P:()=>O,t:()=>X});var e=p(4650),s=p(6895),T=p(1281);function l(q,Ee){if(1&q){const de=e.EpF();e.TgZ(0,"button",1),e.NdJ("click",function(){e.CHM(de);const he=e.oxw();return e.KtG(he._onClosed())}),e.TgZ(1,"span",2),e._uU(2,"\xd7"),e.qZA()()}}const b=["*"];let O=(()=>{class q{get _hostClassList(){return`mtx-alert-${this.type} mat-elevation-z${this.elevation}`}get dismissible(){return this._dismissible}set dismissible(de){this._dismissible=(0,T.Ig)(de)}constructor(de){this._changeDetectorRef=de,this.type="default",this._dismissible=!1,this.elevation=0,this.closed=new e.vpe}_onClosed(){this._changeDetectorRef.markForCheck(),this.closed.emit(this)}}return q.\u0275fac=function(de){return new(de||q)(e.Y36(e.sBO))},q.\u0275cmp=e.Xpm({type:q,selectors:[["mtx-alert"]],hostAttrs:["role","alert"],hostVars:6,hostBindings:function(de,Be){2&de&&(e.Tol(Be._hostClassList),e.ekj("mtx-alert",!0)("mtx-alert-dismissible",Be.dismissible))},inputs:{type:"type",dismissible:"dismissible",elevation:"elevation"},outputs:{closed:"closed"},exportAs:["mtxAlert"],ngContentSelectors:b,decls:2,vars:1,consts:[[3,"ngIf"],["type","button","aria-label","Close",1,"mtx-alert-close",3,"click"],["aria-hidden","true"]],template:function(de,Be){1&de&&(e.F$t(),e.Hsn(0),e.YNc(1,l,3,0,"ng-template",0)),2&de&&(e.xp6(1),e.Q6J("ngIf",Be.dismissible))},dependencies:[s.O5],styles:[".mtx-alert{position:relative;display:block;padding:.75rem 1.25rem;margin-bottom:1rem;border:1px solid transparent;border-radius:.25rem}.mtx-alert-close{position:absolute;top:0;bottom:0;right:0;padding:0 1.25rem;font-size:1.5rem;line-height:1;color:inherit;opacity:.5;background-color:transparent;border:0;cursor:pointer}[dir=rtl] .mtx-alert-close{right:auto;left:0}.mtx-alert-close:hover{opacity:.75}.mtx-alert-dismissible{padding-right:4rem}\n"],encapsulation:2,changeDetection:0}),q})(),X=(()=>{class q{}return q.\u0275fac=function(de){return new(de||q)},q.\u0275mod=e.oAB({type:q}),q.\u0275inj=e.cJS({imports:[s.ez]}),q})()},6455:(ri,mt,p)=>{p.d(mt,{l:()=>X,r:()=>O});var e=p(4650),s=p(6895),T=p(4859),l=p(1572),b=p(1281);let O=(()=>{class q{get loading(){return this._loading}set loading(de){this._loading=(0,b.Ig)(de)}get disabled(){return this._disabled}set disabled(de){this._disabled=(0,b.Ig)(de)}constructor(de,Be,he){this._elementRef=de,this._viewContainerRef=Be,this._renderer=he,this._loading=!1,this._disabled=!1}ngOnChanges(de){de.loading&&(de.loading.currentValue?(this._elementRef.nativeElement.classList.add("mat-button-loading"),setTimeout(()=>this._elementRef.nativeElement.setAttribute("disabled","")),this.createSpinner()):de.loading.firstChange||(this._elementRef.nativeElement.classList.remove("mat-button-loading"),setTimeout(()=>this._elementRef.nativeElement.removeAttribute("disabled")),this.destroySpinner()))}createSpinner(){this.spinner||(this.spinner=this._viewContainerRef.createComponent(l.Ou),this.spinner.instance.color=this.color,this.spinner.instance.diameter=24,this.spinner.instance.mode="indeterminate",this._renderer.appendChild(this._elementRef.nativeElement,this.spinner.instance._elementRef.nativeElement))}destroySpinner(){this.spinner&&(this.spinner.destroy(),this.spinner=null)}}return q.\u0275fac=function(de){return new(de||q)(e.Y36(e.SBq),e.Y36(e.s_b),e.Y36(e.Qsj))},q.\u0275dir=e.lG2({type:q,selectors:[["","mat-button","","loading",""],["","mat-raised-button","","loading",""],["","mat-stroked-button","","loading",""],["","mat-flat-button","","loading",""],["","mat-icon-button","","loading",""],["","mat-fab","","loading",""],["","mat-mini-fab","","loading",""]],inputs:{loading:"loading",disabled:"disabled",color:"color"},features:[e.TTD]}),q})(),X=(()=>{class q{}return q.\u0275fac=function(de){return new(de||q)},q.\u0275mod=e.oAB({type:q}),q.\u0275inj=e.cJS({imports:[s.ez,T.ot,l.Cq]}),q})()},6597:(ri,mt,p)=>{p.d(mt,{Jr:()=>pt,U7:()=>Qe,yd:()=>He});var e=p(4650),s=p(6895),T=p(5191),l=p(9646);function Ee(Re,ze){const Me=Array(Re);for(let Pe=0;Pe<Re;Pe++)Me[Pe]=ze(Pe);return Me}new e.OlP("mtx-datetime-formats"),Ee(24,Re=>String(Re)),Ee(60,Re=>String(Re));let He=(()=>{class Re{transform(Me){return(0,T.b)(Me)?Me:(0,l.of)(Me)}}return Re.\u0275fac=function(Me){return new(Me||Re)},Re.\u0275pipe=e.Yjl({name:"toObservable",type:Re,pure:!0}),Re})(),Qe=(()=>{class Re{transform(Me){return Me instanceof e.Rgc}}return Re.\u0275fac=function(Me){return new(Me||Re)},Re.\u0275pipe=e.Yjl({name:"isTemplateRef",type:Re,pure:!0}),Re})(),pt=(()=>{class Re{}return Re.\u0275fac=function(Me){return new(Me||Re)},Re.\u0275mod=e.oAB({type:Re}),Re.\u0275inj=e.cJS({imports:[s.ez]}),Re})()},2445:(ri,mt,p)=>{p.d(mt,{Zp:()=>Ke,cP:()=>je});var e=p(4650),s=p(6895),T=p(5412),l=p(4859),b=p(7392),O=p(6597);function X(Ge,vt){if(1&Ge){const xe=e.EpF();e.TgZ(0,"button",6),e.NdJ("click",function(){e.CHM(xe);const rt=e.oxw(2);return e.KtG(rt._onClose())}),e.TgZ(1,"mat-icon"),e._uU(2,"close"),e.qZA()()}}function q(Ge,vt){if(1&Ge&&(e.TgZ(0,"h1",4)(1,"span"),e._uU(2),e.ALo(3,"async"),e.ALo(4,"toObservable"),e.qZA(),e.YNc(5,X,3,0,"button",5),e.qZA()),2&Ge){const xe=e.oxw();e.xp6(2),e.Oqu(e.lcZ(3,2,e.lcZ(4,4,xe.data.title))),e.xp6(3),e.Q6J("ngIf",xe.data.showCloseIcon)}}function Ee(Ge,vt){if(1&Ge&&(e.TgZ(0,"div",7)(1,"p"),e._uU(2),e.ALo(3,"async"),e.ALo(4,"toObservable"),e.qZA()()),2&Ge){const xe=e.oxw();e.xp6(2),e.Oqu(e.lcZ(3,1,e.lcZ(4,3,xe.data.description)))}}function de(Ge,vt){if(1&Ge){const xe=e.EpF();e.TgZ(0,"button",13),e.NdJ("click",function(){e.CHM(xe);const rt=e.oxw(2).$implicit,Wt=e.oxw();return e.KtG(Wt._onClick(rt.onClick))}),e._uU(1),e.ALo(2,"async"),e.ALo(3,"toObservable"),e.qZA()}if(2&Ge){const xe=e.oxw(2).$implicit;e.Q6J("color",xe.color)("ngClass",xe.class),e.xp6(1),e.hij(" ",e.lcZ(2,3,e.lcZ(3,5,xe.text))," ")}}function Be(Ge,vt){if(1&Ge){const xe=e.EpF();e.TgZ(0,"button",14),e.NdJ("click",function(){e.CHM(xe);const rt=e.oxw(2).$implicit,Wt=e.oxw();return e.KtG(Wt._onClick(rt.onClick))}),e._uU(1),e.ALo(2,"async"),e.ALo(3,"toObservable"),e.qZA()}if(2&Ge){const xe=e.oxw(2).$implicit;e.Q6J("color",xe.color)("ngClass",xe.class),e.xp6(1),e.hij(" ",e.lcZ(2,3,e.lcZ(3,5,xe.text))," ")}}function he(Ge,vt){if(1&Ge&&(e.ynx(0),e.YNc(1,de,4,7,"button",11),e.YNc(2,Be,4,7,"button",12),e.BQk()),2&Ge){const xe=e.oxw().$implicit;e.xp6(1),e.Q6J("ngIf",xe.focusInitial),e.xp6(1),e.Q6J("ngIf",!xe.focusInitial)}}function Le(Ge,vt){if(1&Ge){const xe=e.EpF();e.TgZ(0,"button",17),e.NdJ("click",function(){e.CHM(xe);const rt=e.oxw(2).$implicit,Wt=e.oxw();return e.KtG(Wt._onClick(rt.onClick))}),e._uU(1),e.ALo(2,"async"),e.ALo(3,"toObservable"),e.qZA()}if(2&Ge){const xe=e.oxw(2).$implicit;e.Q6J("color",xe.color)("ngClass",xe.class),e.xp6(1),e.hij(" ",e.lcZ(2,3,e.lcZ(3,5,xe.text))," ")}}function He(Ge,vt){if(1&Ge){const xe=e.EpF();e.TgZ(0,"button",18),e.NdJ("click",function(){e.CHM(xe);const rt=e.oxw(2).$implicit,Wt=e.oxw();return e.KtG(Wt._onClick(rt.onClick))}),e._uU(1),e.ALo(2,"async"),e.ALo(3,"toObservable"),e.qZA()}if(2&Ge){const xe=e.oxw(2).$implicit;e.Q6J("color",xe.color)("ngClass",xe.class),e.xp6(1),e.hij(" ",e.lcZ(2,3,e.lcZ(3,5,xe.text))," ")}}function Qe(Ge,vt){if(1&Ge&&(e.ynx(0),e.YNc(1,Le,4,7,"button",15),e.YNc(2,He,4,7,"button",16),e.BQk()),2&Ge){const xe=e.oxw().$implicit;e.xp6(1),e.Q6J("ngIf",xe.focusInitial),e.xp6(1),e.Q6J("ngIf",!xe.focusInitial)}}function pt(Ge,vt){if(1&Ge){const xe=e.EpF();e.TgZ(0,"button",21),e.NdJ("click",function(){e.CHM(xe);const rt=e.oxw(2).$implicit,Wt=e.oxw();return e.KtG(Wt._onClick(rt.onClick))}),e._uU(1),e.ALo(2,"async"),e.ALo(3,"toObservable"),e.qZA()}if(2&Ge){const xe=e.oxw(2).$implicit;e.Q6J("color",xe.color)("ngClass",xe.class),e.xp6(1),e.hij(" ",e.lcZ(2,3,e.lcZ(3,5,xe.text))," ")}}function Re(Ge,vt){if(1&Ge){const xe=e.EpF();e.TgZ(0,"button",22),e.NdJ("click",function(){e.CHM(xe);const rt=e.oxw(2).$implicit,Wt=e.oxw();return e.KtG(Wt._onClick(rt.onClick))}),e._uU(1),e.ALo(2,"async"),e.ALo(3,"toObservable"),e.qZA()}if(2&Ge){const xe=e.oxw(2).$implicit;e.Q6J("color",xe.color)("ngClass",xe.class),e.xp6(1),e.hij(" ",e.lcZ(2,3,e.lcZ(3,5,xe.text))," ")}}function ze(Ge,vt){if(1&Ge&&(e.ynx(0),e.YNc(1,pt,4,7,"button",19),e.YNc(2,Re,4,7,"button",20),e.BQk()),2&Ge){const xe=e.oxw().$implicit;e.xp6(1),e.Q6J("ngIf",xe.focusInitial),e.xp6(1),e.Q6J("ngIf",!xe.focusInitial)}}function Me(Ge,vt){if(1&Ge){const xe=e.EpF();e.TgZ(0,"button",25),e.NdJ("click",function(){e.CHM(xe);const rt=e.oxw(2).$implicit,Wt=e.oxw();return e.KtG(Wt._onClick(rt.onClick))}),e._uU(1),e.ALo(2,"async"),e.ALo(3,"toObservable"),e.qZA()}if(2&Ge){const xe=e.oxw(2).$implicit;e.Q6J("color",xe.color)("ngClass",xe.class),e.xp6(1),e.hij(" ",e.lcZ(2,3,e.lcZ(3,5,xe.text))," ")}}function Pe(Ge,vt){if(1&Ge){const xe=e.EpF();e.TgZ(0,"button",26),e.NdJ("click",function(){e.CHM(xe);const rt=e.oxw(2).$implicit,Wt=e.oxw();return e.KtG(Wt._onClick(rt.onClick))}),e._uU(1),e.ALo(2,"async"),e.ALo(3,"toObservable"),e.qZA()}if(2&Ge){const xe=e.oxw(2).$implicit;e.Q6J("color",xe.color)("ngClass",xe.class),e.xp6(1),e.hij(" ",e.lcZ(2,3,e.lcZ(3,5,xe.text))," ")}}function _e(Ge,vt){if(1&Ge&&(e.ynx(0),e.YNc(1,Me,4,7,"button",23),e.YNc(2,Pe,4,7,"button",24),e.BQk()),2&Ge){const xe=e.oxw().$implicit;e.xp6(1),e.Q6J("ngIf",xe.focusInitial),e.xp6(1),e.Q6J("ngIf",!xe.focusInitial)}}function ge(Ge,vt){if(1&Ge&&(e.ynx(0)(1,8),e.YNc(2,he,3,2,"ng-container",9),e.YNc(3,Qe,3,2,"ng-container",9),e.YNc(4,ze,3,2,"ng-container",9),e.YNc(5,_e,3,2,"ng-container",10),e.BQk()()),2&Ge){const xe=vt.$implicit;e.xp6(1),e.Q6J("ngSwitch",xe.type),e.xp6(1),e.Q6J("ngSwitchCase","raised"),e.xp6(1),e.Q6J("ngSwitchCase","stroked"),e.xp6(1),e.Q6J("ngSwitchCase","flat")}}let le=(()=>{class Ge{constructor(xe,kt){this.dialogRef=xe,this.data=kt}_onClick(xe){xe&&xe.call(this),this._onClose()}_onClose(){this.dialogRef.close()}}return Ge.\u0275fac=function(xe){return new(xe||Ge)(e.Y36(T.so),e.Y36(T.WI))},Ge.\u0275cmp=e.Xpm({type:Ge,selectors:[["mtx-dialog-container"]],hostAttrs:[1,"mtx-dialog-container"],exportAs:["mtxDialogContainer"],decls:4,vars:3,consts:[["class","mtx-dialog-title",4,"ngIf"],["class","mtx-dialog-content",4,"ngIf"],[1,"mtx-dialog-actions"],[4,"ngFor","ngForOf"],[1,"mtx-dialog-title"],["mat-icon-button","",3,"click",4,"ngIf"],["mat-icon-button","",3,"click"],[1,"mtx-dialog-content"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["mat-raised-button","","cdkFocusInitial","",3,"color","ngClass","click",4,"ngIf"],["mat-raised-button","",3,"color","ngClass","click",4,"ngIf"],["mat-raised-button","","cdkFocusInitial","",3,"color","ngClass","click"],["mat-raised-button","",3,"color","ngClass","click"],["mat-stroked-button","","cdkFocusInitial","",3,"color","ngClass","click",4,"ngIf"],["mat-stroked-button","",3,"color","ngClass","click",4,"ngIf"],["mat-stroked-button","","cdkFocusInitial","",3,"color","ngClass","click"],["mat-stroked-button","",3,"color","ngClass","click"],["mat-flat-button","","cdkFocusInitial","",3,"color","ngClass","click",4,"ngIf"],["mat-flat-button","",3,"color","ngClass","click",4,"ngIf"],["mat-flat-button","","cdkFocusInitial","",3,"color","ngClass","click"],["mat-flat-button","",3,"color","ngClass","click"],["mat-button","","cdkFocusInitial","",3,"color","ngClass","click",4,"ngIf"],["mat-button","",3,"color","ngClass","click",4,"ngIf"],["mat-button","","cdkFocusInitial","",3,"color","ngClass","click"],["mat-button","",3,"color","ngClass","click"]],template:function(xe,kt){1&xe&&(e.YNc(0,q,6,6,"h1",0),e.YNc(1,Ee,5,5,"div",1),e.TgZ(2,"div",2),e.YNc(3,ge,6,4,"ng-container",3),e.qZA()),2&xe&&(e.Q6J("ngIf",kt.data.title),e.xp6(1),e.Q6J("ngIf",kt.data.description),e.xp6(2),e.Q6J("ngForOf",kt.data.buttons))},dependencies:[s.mk,s.sg,s.O5,s.RF,s.n9,s.ED,l.lW,l.RK,b.Hw,s.Ov,O.yd],styles:[".mtx-dialog-title{display:flex;justify-content:space-between;align-items:center;padding:8px 24px;margin:0;line-height:48px;font-weight:500;font-size:20px}.mtx-dialog-title .mat-mdc-button-base{margin-right:-16px}[dir=rtl] .mtx-dialog-title .mat-mdc-button-base{margin-right:0;margin-left:-16px}.mtx-dialog-content{display:block;max-height:65vh;padding:0 24px;overflow:auto;-webkit-overflow-scrolling:touch}.mtx-dialog-content p{margin-top:0}.mtx-dialog-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:8px}.mtx-dialog-actions .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mtx-dialog-actions .mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,changeDetection:0}),Ge})();const Se={title:"",description:"",buttons:[{color:"warn",text:"OK",focusInitial:!0,onClick:()=>{}},{text:"CLOSE",onClick:()=>{}}],showCloseIcon:!1,disableClose:!0,width:"300px"};let je=(()=>{class Ge{constructor(xe){this.dialog=xe}originalOpen(xe=le,kt){return this.dialog.open(xe,kt)}open(xe,kt=le){const rt=Object.assign({},Se,xe);return this.dialog.open(kt,{...rt,data:rt})}alert(xe,kt="",rt=(()=>{})){this.open({title:xe,description:kt,buttons:[{color:"warn",text:"OK",onClick:()=>rt()}]})}confirm(xe,kt="",rt=(()=>{}),Wt=(()=>{})){this.open({title:xe,description:kt,buttons:[{color:"warn",text:"OK",onClick:()=>rt()},{text:"CLOSE",onClick:()=>Wt()}]})}}return Ge.\u0275fac=function(xe){return new(xe||Ge)(e.LFG(T.uw))},Ge.\u0275prov=e.Yz7({token:Ge,factory:Ge.\u0275fac}),Ge})(),Ke=(()=>{class Ge{}return Ge.\u0275fac=function(xe){return new(xe||Ge)},Ge.\u0275mod=e.oAB({type:Ge}),Ge.\u0275inj=e.cJS({providers:[je],imports:[s.ez,T.Is,l.ot,b.Ps,O.Jr]}),Ge})()},5717:(ri,mt,p)=>{p.d(mt,{u8:()=>Ed,kp:()=>$u});var e=p(4650),s=p(6895),T=p(4006),l=p(3626),b=p(6308),O=p(8739),X=p(6709),q=p(4859),Ee=p(3162),de=p(7331),Be=p(266),he=p(7392),Le=p(4385),He=p(9549),Qe=p(8255),pt=p(2673),Re=p(7376),ze=p(3353),Me=p(1281),Pe=p(2687),_e=p(7579),ge=p(727),le=p(4986),Se=p(5963),Ke=p(6406),Ge=p(9751),vt=p(6451),xe=p(2722),kt=p(8675),rt=p(4004),Wt=p(5698),yi=p(8505),gi=p(3900),jt=p(445);function ai(d,g,r){for(let _ in g)if(g.hasOwnProperty(_)){const P=g[_];P?d.setProperty(_,P,r?.has(_)?"important":""):d.removeProperty(_)}return d}function ot(d,g){const r=g?"":"none";ai(d.style,{"touch-action":g?"":"none","-webkit-user-drag":g?"":"none","-webkit-tap-highlight-color":g?"":"transparent","user-select":r,"-ms-user-select":r,"-webkit-user-select":r,"-moz-user-select":r})}function W(d,g,r){ai(d.style,{position:g?"":"fixed",top:g?"":"0",opacity:g?"":"0",left:g?"":"-999em"},r)}function j(d,g){return g&&"none"!=g?d+" "+g:d}function H(d){const g=d.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(d)*g}function Y(d,g){return d.getPropertyValue(g).split(",").map(_=>_.trim())}function $(d){const g=d.getBoundingClientRect();return{top:g.top,right:g.right,bottom:g.bottom,left:g.left,width:g.width,height:g.height,x:g.x,y:g.y}}function we(d,g,r){const{top:_,bottom:P,left:ne,right:nt}=d;return r>=_&&r<=P&&g>=ne&&g<=nt}function Fe(d,g,r){d.top+=g,d.bottom=d.top+d.height,d.left+=r,d.right=d.left+d.width}function _t(d,g,r,_){const{top:P,right:ne,bottom:nt,left:St,width:ti,height:ui}=d,hi=ti*g,Ni=ui*g;return _>P-Ni&&_<nt+Ni&&r>St-hi&&r<ne+hi}class it{constructor(g){this._document=g,this.positions=new Map}clear(){this.positions.clear()}cache(g){this.clear(),this.positions.set(this._document,{scrollPosition:this.getViewportScrollPosition()}),g.forEach(r=>{this.positions.set(r,{scrollPosition:{top:r.scrollTop,left:r.scrollLeft},clientRect:$(r)})})}handleScroll(g){const r=(0,ze.sA)(g),_=this.positions.get(r);if(!_)return null;const P=_.scrollPosition;let ne,nt;if(r===this._document){const ui=this.getViewportScrollPosition();ne=ui.top,nt=ui.left}else ne=r.scrollTop,nt=r.scrollLeft;const St=P.top-ne,ti=P.left-nt;return this.positions.forEach((ui,hi)=>{ui.clientRect&&r!==hi&&r.contains(hi)&&Fe(ui.clientRect,St,ti)}),P.top=ne,P.left=nt,{top:St,left:ti}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function Nt(d){const g=d.cloneNode(!0),r=g.querySelectorAll("[id]"),_=d.nodeName.toLowerCase();g.removeAttribute("id");for(let P=0;P<r.length;P++)r[P].removeAttribute("id");return"canvas"===_?Pt(d,g):("input"===_||"select"===_||"textarea"===_)&&ft(d,g),lt("canvas",d,g,Pt),lt("input, textarea, select",d,g,ft),g}function lt(d,g,r,_){const P=g.querySelectorAll(d);if(P.length){const ne=r.querySelectorAll(d);for(let nt=0;nt<P.length;nt++)_(P[nt],ne[nt])}}let zt=0;function ft(d,g){"file"!==g.type&&(g.value=d.value),"radio"===g.type&&g.name&&(g.name=`mat-clone-${g.name}-${zt++}`)}function Pt(d,g){const r=g.getContext("2d");if(r)try{r.drawImage(d,0,0)}catch{}}const li=(0,ze.i$)({passive:!0}),oi=(0,ze.i$)({passive:!1}),yt=new Set(["position"]);class ve{get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(g){const r=(0,Me.Ig)(g);r!==this._disabled&&(this._disabled=r,this._toggleNativeDragInteractions(),this._handles.forEach(_=>ot(_,r)))}constructor(g,r,_,P,ne,nt){this._config=r,this._document=_,this._ngZone=P,this._viewportRuler=ne,this._dragDropRegistry=nt,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._hasStartedDragging=!1,this._moveEvents=new _e.x,this._pointerMoveSubscription=ge.w0.EMPTY,this._pointerUpSubscription=ge.w0.EMPTY,this._scrollSubscription=ge.w0.EMPTY,this._resizeSubscription=ge.w0.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new _e.x,this.started=new _e.x,this.released=new _e.x,this.ended=new _e.x,this.entered=new _e.x,this.exited=new _e.x,this.dropped=new _e.x,this.moved=this._moveEvents,this._pointerDown=St=>{if(this.beforeStarted.next(),this._handles.length){const ti=this._getTargetHandle(St);ti&&!this._disabledHandles.has(ti)&&!this.disabled&&this._initializeDragSequence(ti,St)}else this.disabled||this._initializeDragSequence(this._rootElement,St)},this._pointerMove=St=>{const ti=this._getPointerPositionOnPage(St);if(!this._hasStartedDragging){if(Math.abs(ti.x-this._pickupPositionOnPage.x)+Math.abs(ti.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const tn=Date.now()>=this._dragStartTime+this._getDragStartDelay(St),Cn=this._dropContainer;if(!tn)return void this._endDragSequence(St);(!Cn||!Cn.isDragging()&&!Cn.isReceiving())&&(St.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(St)))}return}St.preventDefault();const ui=this._getConstrainedPointerPosition(ti);if(this._hasMoved=!0,this._lastKnownPointerPosition=ti,this._updatePointerDirectionDelta(ui),this._dropContainer)this._updateActiveDropContainer(ui,ti);else{const hi=this.constrainPosition?this._initialClientRect:this._pickupPositionOnPage,Ni=this._activeTransform;Ni.x=ui.x-hi.x+this._passiveTransform.x,Ni.y=ui.y-hi.y+this._passiveTransform.y,this._applyRootElementTransform(Ni.x,Ni.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:ui,event:St,distance:this._getDragDistance(ui),delta:this._pointerDirectionDelta})})},this._pointerUp=St=>{this._endDragSequence(St)},this._nativeDragStart=St=>{if(this._handles.length){const ti=this._getTargetHandle(St);ti&&!this._disabledHandles.has(ti)&&!this.disabled&&St.preventDefault()}else this.disabled||St.preventDefault()},this.withRootElement(g).withParent(r.parentDragRef||null),this._parentPositions=new it(_),nt.registerDragItem(this)}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(g){this._handles=g.map(_=>(0,Me.fI)(_)),this._handles.forEach(_=>ot(_,this.disabled)),this._toggleNativeDragInteractions();const r=new Set;return this._disabledHandles.forEach(_=>{this._handles.indexOf(_)>-1&&r.add(_)}),this._disabledHandles=r,this}withPreviewTemplate(g){return this._previewTemplate=g,this}withPlaceholderTemplate(g){return this._placeholderTemplate=g,this}withRootElement(g){const r=(0,Me.fI)(g);return r!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{r.addEventListener("mousedown",this._pointerDown,oi),r.addEventListener("touchstart",this._pointerDown,li),r.addEventListener("dragstart",this._nativeDragStart,oi)}),this._initialTransform=void 0,this._rootElement=r),typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(g){return this._boundaryElement=g?(0,Me.fI)(g):null,this._resizeSubscription.unsubscribe(),g&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(g){return this._parentDragRef=g,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&this._rootElement?.remove(),this._anchor?.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(g){!this._disabledHandles.has(g)&&this._handles.indexOf(g)>-1&&(this._disabledHandles.add(g),ot(g,!0))}enableHandle(g){this._disabledHandles.has(g)&&(this._disabledHandles.delete(g),ot(g,this.disabled))}withDirection(g){return this._direction=g,this}_withDropContainer(g){this._dropContainer=g}getFreeDragPosition(){const g=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:g.x,y:g.y}}setFreeDragPosition(g){return this._activeTransform={x:0,y:0},this._passiveTransform.x=g.x,this._passiveTransform.y=g.y,this._dropContainer||this._applyRootElementTransform(g.x,g.y),this}withPreviewContainer(g){return this._previewContainer=g,this}_sortFromLastPointerPosition(){const g=this._lastKnownPointerPosition;g&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(g),g)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){this._preview?.remove(),this._previewRef?.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(g){if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this,event:g}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(g),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const r=this._getPointerPositionOnPage(g);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(r),dropPoint:r,event:g})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(g){We(g)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const r=this._dropContainer;if(r){const _=this._rootElement,P=_.parentNode,ne=this._placeholder=this._createPlaceholderElement(),nt=this._anchor=this._anchor||this._document.createComment(""),St=this._getShadowRoot();P.insertBefore(nt,_),this._initialTransform=_.style.transform||"",this._preview=this._createPreviewElement(),W(_,!1,yt),this._document.body.appendChild(P.replaceChild(ne,_)),this._getPreviewInsertionPoint(P,St).appendChild(this._preview),this.started.next({source:this,event:g}),r.start(),this._initialContainer=r,this._initialIndex=r.getItemIndex(this)}else this.started.next({source:this,event:g}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(r?r.getScrollableParents():[])}_initializeDragSequence(g,r){this._parentDragRef&&r.stopPropagation();const _=this.isDragging(),P=We(r),ne=!P&&0!==r.button,nt=this._rootElement,St=(0,ze.sA)(r),ti=!P&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),ui=P?(0,Pe.yG)(r):(0,Pe.X6)(r);if(St&&St.draggable&&"mousedown"===r.type&&r.preventDefault(),_||ne||ti||ui)return;if(this._handles.length){const wi=nt.style;this._rootElementTapHighlight=wi.webkitTapHighlightColor||"",wi.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._initialClientRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(wi=>this._updateOnScroll(wi)),this._boundaryElement&&(this._boundaryRect=$(this._boundaryElement));const hi=this._previewTemplate;this._pickupPositionInElement=hi&&hi.template&&!hi.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialClientRect,g,r);const Ni=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(r);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:Ni.x,y:Ni.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,r)}_cleanupDragArtifacts(g){W(this._rootElement,!0,yt),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._initialClientRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const r=this._dropContainer,_=r.getItemIndex(this),P=this._getPointerPositionOnPage(g),ne=this._getDragDistance(P),nt=r._isOverContainer(P.x,P.y);this.ended.next({source:this,distance:ne,dropPoint:P,event:g}),this.dropped.next({item:this,currentIndex:_,previousIndex:this._initialIndex,container:r,previousContainer:this._initialContainer,isPointerOverContainer:nt,distance:ne,dropPoint:P,event:g}),r.drop(this,_,this._initialIndex,this._initialContainer,nt,ne,P,g),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:g,y:r},{x:_,y:P}){let ne=this._initialContainer._getSiblingContainerFromPosition(this,g,r);!ne&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(g,r)&&(ne=this._initialContainer),ne&&ne!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=ne,this._dropContainer.enter(this,g,r,ne===this._initialContainer&&ne.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:ne,currentIndex:ne.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(_,P),this._dropContainer._sortItem(this,g,r,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(g,r):this._applyPreviewTransform(g-this._pickupPositionInElement.x,r-this._pickupPositionInElement.y))}_createPreviewElement(){const g=this._previewTemplate,r=this.previewClass,_=g?g.template:null;let P;if(_&&g){const ne=g.matchSize?this._initialClientRect:null,nt=g.viewContainer.createEmbeddedView(_,g.context);nt.detectChanges(),P=wt(nt,this._document),this._previewRef=nt,g.matchSize?Yt(P,ne):P.style.transform=N(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else P=Nt(this._rootElement),Yt(P,this._initialClientRect),this._initialTransform&&(P.style.transform=this._initialTransform);return ai(P.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":`${this._config.zIndex||1e3}`},yt),ot(P,!1),P.classList.add("cdk-drag-preview"),P.setAttribute("dir",this._direction),r&&(Array.isArray(r)?r.forEach(ne=>P.classList.add(ne)):P.classList.add(r)),P}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const g=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._applyPreviewTransform(g.left,g.top);const r=function C(d){const g=getComputedStyle(d),r=Y(g,"transition-property"),_=r.find(St=>"transform"===St||"all"===St);if(!_)return 0;const P=r.indexOf(_),ne=Y(g,"transition-duration"),nt=Y(g,"transition-delay");return H(ne[P])+H(nt[P])}(this._preview);return 0===r?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(_=>{const P=nt=>{(!nt||(0,ze.sA)(nt)===this._preview&&"transform"===nt.propertyName)&&(this._preview?.removeEventListener("transitionend",P),_(),clearTimeout(ne))},ne=setTimeout(P,1.5*r);this._preview.addEventListener("transitionend",P)}))}_createPlaceholderElement(){const g=this._placeholderTemplate,r=g?g.template:null;let _;return r?(this._placeholderRef=g.viewContainer.createEmbeddedView(r,g.context),this._placeholderRef.detectChanges(),_=wt(this._placeholderRef,this._document)):_=Nt(this._rootElement),_.style.pointerEvents="none",_.classList.add("cdk-drag-placeholder"),_}_getPointerPositionInElement(g,r,_){const P=r===this._rootElement?null:r,ne=P?P.getBoundingClientRect():g,nt=We(_)?_.targetTouches[0]:_,St=this._getViewportScrollPosition();return{x:ne.left-g.left+(nt.pageX-ne.left-St.left),y:ne.top-g.top+(nt.pageY-ne.top-St.top)}}_getPointerPositionOnPage(g){const r=this._getViewportScrollPosition(),_=We(g)?g.touches[0]||g.changedTouches[0]||{pageX:0,pageY:0}:g,P=_.pageX-r.left,ne=_.pageY-r.top;if(this._ownerSVGElement){const nt=this._ownerSVGElement.getScreenCTM();if(nt){const St=this._ownerSVGElement.createSVGPoint();return St.x=P,St.y=ne,St.matrixTransform(nt.inverse())}}return{x:P,y:ne}}_getConstrainedPointerPosition(g){const r=this._dropContainer?this._dropContainer.lockAxis:null;let{x:_,y:P}=this.constrainPosition?this.constrainPosition(g,this,this._initialClientRect,this._pickupPositionInElement):g;if("x"===this.lockAxis||"x"===r?P=this._pickupPositionOnPage.y:("y"===this.lockAxis||"y"===r)&&(_=this._pickupPositionOnPage.x),this._boundaryRect){const{x:ne,y:nt}=this._pickupPositionInElement,St=this._boundaryRect,{width:ti,height:ui}=this._getPreviewRect(),hi=St.top+nt,Ni=St.bottom-(ui-nt);_=re(_,St.left+ne,St.right-(ti-ne)),P=re(P,hi,Ni)}return{x:_,y:P}}_updatePointerDirectionDelta(g){const{x:r,y:_}=g,P=this._pointerDirectionDelta,ne=this._pointerPositionAtLastDirectionChange,nt=Math.abs(r-ne.x),St=Math.abs(_-ne.y);return nt>this._config.pointerDirectionChangeThreshold&&(P.x=r>ne.x?1:-1,ne.x=r),St>this._config.pointerDirectionChangeThreshold&&(P.y=_>ne.y?1:-1,ne.y=_),P}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const g=this._handles.length>0||!this.isDragging();g!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=g,ot(this._rootElement,g))}_removeRootElementListeners(g){g.removeEventListener("mousedown",this._pointerDown,oi),g.removeEventListener("touchstart",this._pointerDown,li),g.removeEventListener("dragstart",this._nativeDragStart,oi)}_applyRootElementTransform(g,r){const _=N(g,r),P=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=P.transform&&"none"!=P.transform?P.transform:""),P.transform=j(_,this._initialTransform)}_applyPreviewTransform(g,r){const _=this._previewTemplate?.template?void 0:this._initialTransform,P=N(g,r);this._preview.style.transform=j(P,_)}_getDragDistance(g){const r=this._pickupPositionOnPage;return r?{x:g.x-r.x,y:g.y-r.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:g,y:r}=this._passiveTransform;if(0===g&&0===r||this.isDragging()||!this._boundaryElement)return;const _=this._rootElement.getBoundingClientRect(),P=this._boundaryElement.getBoundingClientRect();if(0===P.width&&0===P.height||0===_.width&&0===_.height)return;const ne=P.left-_.left,nt=_.right-P.right,St=P.top-_.top,ti=_.bottom-P.bottom;P.width>_.width?(ne>0&&(g+=ne),nt>0&&(g-=nt)):g=0,P.height>_.height?(St>0&&(r+=St),ti>0&&(r-=ti)):r=0,(g!==this._passiveTransform.x||r!==this._passiveTransform.y)&&this.setFreeDragPosition({y:r,x:g})}_getDragStartDelay(g){const r=this.dragStartDelay;return"number"==typeof r?r:We(g)?r.touch:r?r.mouse:0}_updateOnScroll(g){const r=this._parentPositions.handleScroll(g);if(r){const _=(0,ze.sA)(g);this._boundaryRect&&_!==this._boundaryElement&&_.contains(this._boundaryElement)&&Fe(this._boundaryRect,r.top,r.left),this._pickupPositionOnPage.x+=r.left,this._pickupPositionOnPage.y+=r.top,this._dropContainer||(this._activeTransform.x-=r.left,this._activeTransform.y-=r.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=(0,ze.kV)(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(g,r){const _=this._previewContainer||"global";if("parent"===_)return g;if("global"===_){const P=this._document;return r||P.fullscreenElement||P.webkitFullscreenElement||P.mozFullScreenElement||P.msFullscreenElement||P.body}return(0,Me.fI)(_)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialClientRect),this._previewRect}_getTargetHandle(g){return this._handles.find(r=>g.target&&(g.target===r||r.contains(g.target)))}}function N(d,g){return`translate3d(${Math.round(d)}px, ${Math.round(g)}px, 0)`}function re(d,g,r){return Math.max(g,Math.min(r,d))}function We(d){return"t"===d.type[0]}function wt(d,g){const r=d.rootNodes;if(1===r.length&&r[0].nodeType===g.ELEMENT_NODE)return r[0];const _=g.createElement("div");return r.forEach(P=>_.appendChild(P)),_}function Yt(d,g){d.style.width=`${g.width}px`,d.style.height=`${g.height}px`,d.style.transform=N(g.left,g.top)}function $t(d,g,r){const _=te(g,d.length-1),P=te(r,d.length-1);if(_===P)return;const ne=d[_],nt=P<_?-1:1;for(let St=_;St!==P;St+=nt)d[St]=d[St+nt];d[P]=ne}function te(d,g){return Math.max(0,Math.min(g,d))}class Ae{constructor(g,r){this._element=g,this._dragDropRegistry=r,this._itemPositions=[],this.orientation="vertical",this._previousSwap={drag:null,delta:0,overlaps:!1}}start(g){this.withItems(g)}sort(g,r,_,P){const ne=this._itemPositions,nt=this._getItemIndexFromPointerPosition(g,r,_,P);if(-1===nt&&ne.length>0)return null;const St="horizontal"===this.orientation,ti=ne.findIndex(h=>h.drag===g),ui=ne[nt],Ni=ui.clientRect,wi=ti>nt?1:-1,tn=this._getItemOffsetPx(ne[ti].clientRect,Ni,wi),Cn=this._getSiblingOffsetPx(ti,ne,wi),$i=ne.slice();return $t(ne,ti,nt),ne.forEach((h,u)=>{if($i[u]===h)return;const a=h.drag===g,f=a?tn:Cn,k=a?g.getPlaceholderElement():h.drag.getRootElement();h.offset+=f,St?(k.style.transform=j(`translate3d(${Math.round(h.offset)}px, 0, 0)`,h.initialTransform),Fe(h.clientRect,0,f)):(k.style.transform=j(`translate3d(0, ${Math.round(h.offset)}px, 0)`,h.initialTransform),Fe(h.clientRect,f,0))}),this._previousSwap.overlaps=we(Ni,r,_),this._previousSwap.drag=ui.drag,this._previousSwap.delta=St?P.x:P.y,{previousIndex:ti,currentIndex:nt}}enter(g,r,_,P){const ne=null==P||P<0?this._getItemIndexFromPointerPosition(g,r,_):P,nt=this._activeDraggables,St=nt.indexOf(g),ti=g.getPlaceholderElement();let ui=nt[ne];if(ui===g&&(ui=nt[ne+1]),!ui&&(null==ne||-1===ne||ne<nt.length-1)&&this._shouldEnterAsFirstChild(r,_)&&(ui=nt[0]),St>-1&&nt.splice(St,1),ui&&!this._dragDropRegistry.isDragging(ui)){const hi=ui.getRootElement();hi.parentElement.insertBefore(ti,hi),nt.splice(ne,0,g)}else(0,Me.fI)(this._element).appendChild(ti),nt.push(g);ti.style.transform="",this._cacheItemPositions()}withItems(g){this._activeDraggables=g.slice(),this._cacheItemPositions()}withSortPredicate(g){this._sortPredicate=g}reset(){this._activeDraggables.forEach(g=>{const r=g.getRootElement();if(r){const _=this._itemPositions.find(P=>P.drag===g)?.initialTransform;r.style.transform=_||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(g){return("horizontal"===this.orientation&&"rtl"===this.direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(_=>_.drag===g)}updateOnScroll(g,r){this._itemPositions.forEach(({clientRect:_})=>{Fe(_,g,r)}),this._itemPositions.forEach(({drag:_})=>{this._dragDropRegistry.isDragging(_)&&_._sortFromLastPointerPosition()})}_cacheItemPositions(){const g="horizontal"===this.orientation;this._itemPositions=this._activeDraggables.map(r=>{const _=r.getVisibleElement();return{drag:r,offset:0,initialTransform:_.style.transform||"",clientRect:$(_)}}).sort((r,_)=>g?r.clientRect.left-_.clientRect.left:r.clientRect.top-_.clientRect.top)}_getItemOffsetPx(g,r,_){const P="horizontal"===this.orientation;let ne=P?r.left-g.left:r.top-g.top;return-1===_&&(ne+=P?r.width-g.width:r.height-g.height),ne}_getSiblingOffsetPx(g,r,_){const P="horizontal"===this.orientation,ne=r[g].clientRect,nt=r[g+-1*_];let St=ne[P?"width":"height"]*_;if(nt){const ti=P?"left":"top",ui=P?"right":"bottom";-1===_?St-=nt.clientRect[ti]-ne[ui]:St+=ne[ti]-nt.clientRect[ui]}return St}_shouldEnterAsFirstChild(g,r){if(!this._activeDraggables.length)return!1;const _=this._itemPositions,P="horizontal"===this.orientation;if(_[0].drag!==this._activeDraggables[0]){const nt=_[_.length-1].clientRect;return P?g>=nt.right:r>=nt.bottom}{const nt=_[0].clientRect;return P?g<=nt.left:r<=nt.top}}_getItemIndexFromPointerPosition(g,r,_,P){const ne="horizontal"===this.orientation,nt=this._itemPositions.findIndex(({drag:St,clientRect:ti})=>St!==g&&((!P||St!==this._previousSwap.drag||!this._previousSwap.overlaps||(ne?P.x:P.y)!==this._previousSwap.delta)&&(ne?r>=Math.floor(ti.left)&&r<Math.floor(ti.right):_>=Math.floor(ti.top)&&_<Math.floor(ti.bottom))));return-1!==nt&&this._sortPredicate(nt,g)?nt:-1}}const pe=.05;class Ut{constructor(g,r,_,P,ne){this._dragDropRegistry=r,this._ngZone=P,this._viewportRuler=ne,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.autoScrollStep=2,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.beforeStarted=new _e.x,this.entered=new _e.x,this.exited=new _e.x,this.dropped=new _e.x,this.sorted=new _e.x,this.receivingStarted=new _e.x,this.receivingStopped=new _e.x,this._isDragging=!1,this._draggables=[],this._siblings=[],this._activeSiblings=new Set,this._viewportScrollSubscription=ge.w0.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new _e.x,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function je(d=0,g=le.z){return d<0&&(d=0),(0,Se.H)(d,d,g)}(0,Ke.Z).pipe((0,xe.R)(this._stopScrollTimers)).subscribe(()=>{const nt=this._scrollNode,St=this.autoScrollStep;1===this._verticalScrollDirection?nt.scrollBy(0,-St):2===this._verticalScrollDirection&&nt.scrollBy(0,St),1===this._horizontalScrollDirection?nt.scrollBy(-St,0):2===this._horizontalScrollDirection&&nt.scrollBy(St,0)})},this.element=(0,Me.fI)(g),this._document=_,this.withScrollableParents([this.element]),r.registerDropContainer(this),this._parentPositions=new it(_),this._sortStrategy=new Ae(this.element,r),this._sortStrategy.withSortPredicate((nt,St)=>this.sortPredicate(nt,St,this))}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this.receivingStarted.complete(),this.receivingStopped.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(g,r,_,P){this._draggingStarted(),null==P&&this.sortingDisabled&&(P=this._draggables.indexOf(g)),this._sortStrategy.enter(g,r,_,P),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:g,container:this,currentIndex:this.getItemIndex(g)})}exit(g){this._reset(),this.exited.next({item:g,container:this})}drop(g,r,_,P,ne,nt,St,ti={}){this._reset(),this.dropped.next({item:g,currentIndex:r,previousIndex:_,container:this,previousContainer:P,isPointerOverContainer:ne,distance:nt,dropPoint:St,event:ti})}withItems(g){const r=this._draggables;return this._draggables=g,g.forEach(_=>_._withDropContainer(this)),this.isDragging()&&(r.filter(P=>P.isDragging()).every(P=>-1===g.indexOf(P))?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(g){return this._sortStrategy.direction=g,this}connectedTo(g){return this._siblings=g.slice(),this}withOrientation(g){return this._sortStrategy.orientation=g,this}withScrollableParents(g){const r=(0,Me.fI)(this.element);return this._scrollableElements=-1===g.indexOf(r)?[r,...g]:g.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(g){return this._isDragging?this._sortStrategy.getItemIndex(g):this._draggables.indexOf(g)}isReceiving(){return this._activeSiblings.size>0}_sortItem(g,r,_,P){if(this.sortingDisabled||!this._clientRect||!_t(this._clientRect,.05,r,_))return;const ne=this._sortStrategy.sort(g,r,_,P);ne&&this.sorted.next({previousIndex:ne.previousIndex,currentIndex:ne.currentIndex,container:this,item:g})}_startScrollingIfNecessary(g,r){if(this.autoScrollDisabled)return;let _,P=0,ne=0;if(this._parentPositions.positions.forEach((nt,St)=>{St===this._document||!nt.clientRect||_||_t(nt.clientRect,.05,g,r)&&([P,ne]=function st(d,g,r,_){const P=Vt(g,_),ne=be(g,r);let nt=0,St=0;if(P){const ti=d.scrollTop;1===P?ti>0&&(nt=1):d.scrollHeight-ti>d.clientHeight&&(nt=2)}if(ne){const ti=d.scrollLeft;1===ne?ti>0&&(St=1):d.scrollWidth-ti>d.clientWidth&&(St=2)}return[nt,St]}(St,nt.clientRect,g,r),(P||ne)&&(_=St))}),!P&&!ne){const{width:nt,height:St}=this._viewportRuler.getViewportSize(),ti={width:nt,height:St,top:0,right:nt,bottom:St,left:0};P=Vt(ti,r),ne=be(ti,g),_=window}_&&(P!==this._verticalScrollDirection||ne!==this._horizontalScrollDirection||_!==this._scrollNode)&&(this._verticalScrollDirection=P,this._horizontalScrollDirection=ne,this._scrollNode=_,(P||ne)&&_?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const g=(0,Me.fI)(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=g.msScrollSnapType||g.scrollSnapType||"",g.scrollSnapType=g.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const g=(0,Me.fI)(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(g).clientRect}_reset(){this._isDragging=!1;const g=(0,Me.fI)(this.element).style;g.scrollSnapType=g.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(r=>r._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_isOverContainer(g,r){return null!=this._clientRect&&we(this._clientRect,g,r)}_getSiblingContainerFromPosition(g,r,_){return this._siblings.find(P=>P._canReceive(g,r,_))}_canReceive(g,r,_){if(!this._clientRect||!we(this._clientRect,r,_)||!this.enterPredicate(g,this))return!1;const P=this._getShadowRoot().elementFromPoint(r,_);if(!P)return!1;const ne=(0,Me.fI)(this.element);return P===ne||ne.contains(P)}_startReceiving(g,r){const _=this._activeSiblings;!_.has(g)&&r.every(P=>this.enterPredicate(P,this)||this._draggables.indexOf(P)>-1)&&(_.add(g),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:g,receiver:this,items:r}))}_stopReceiving(g){this._activeSiblings.delete(g),this._viewportScrollSubscription.unsubscribe(),this.receivingStopped.next({initiator:g,receiver:this})}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(g=>{if(this.isDragging()){const r=this._parentPositions.handleScroll(g);r&&this._sortStrategy.updateOnScroll(r.top,r.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const g=(0,ze.kV)((0,Me.fI)(this.element));this._cachedShadowRoot=g||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const g=this._sortStrategy.getActiveItemsSnapshot().filter(r=>r.isDragging());this._siblings.forEach(r=>r._startReceiving(this,g))}}function Vt(d,g){const{top:r,bottom:_,height:P}=d,ne=P*pe;return g>=r-ne&&g<=r+ne?1:g>=_-ne&&g<=_+ne?2:0}function be(d,g){const{left:r,right:_,width:P}=d,ne=P*pe;return g>=r-ne&&g<=r+ne?1:g>=_-ne&&g<=_+ne?2:0}const Z=(0,ze.i$)({passive:!1,capture:!0});let ke=(()=>{class d{constructor(r,_){this._ngZone=r,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=P=>P.isDragging(),this.pointerMove=new _e.x,this.pointerUp=new _e.x,this.scroll=new _e.x,this._preventDefaultWhileDragging=P=>{this._activeDragInstances.length>0&&P.preventDefault()},this._persistentTouchmoveListener=P=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&P.preventDefault(),this.pointerMove.next(P))},this._document=_}registerDropContainer(r){this._dropInstances.has(r)||this._dropInstances.add(r)}registerDragItem(r){this._dragInstances.add(r),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,Z)})}removeDropContainer(r){this._dropInstances.delete(r)}removeDragItem(r){this._dragInstances.delete(r),this.stopDragging(r),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,Z)}startDragging(r,_){if(!(this._activeDragInstances.indexOf(r)>-1)&&(this._activeDragInstances.push(r),1===this._activeDragInstances.length)){const P=_.type.startsWith("touch");this._globalListeners.set(P?"touchend":"mouseup",{handler:ne=>this.pointerUp.next(ne),options:!0}).set("scroll",{handler:ne=>this.scroll.next(ne),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:Z}),P||this._globalListeners.set("mousemove",{handler:ne=>this.pointerMove.next(ne),options:Z}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((ne,nt)=>{this._document.addEventListener(nt,ne.handler,ne.options)})})}}stopDragging(r){const _=this._activeDragInstances.indexOf(r);_>-1&&(this._activeDragInstances.splice(_,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(r){return this._activeDragInstances.indexOf(r)>-1}scrolled(r){const _=[this.scroll];return r&&r!==this._document&&_.push(new Ge.y(P=>this._ngZone.runOutsideAngular(()=>{const nt=St=>{this._activeDragInstances.length&&P.next(St)};return r.addEventListener("scroll",nt,!0),()=>{r.removeEventListener("scroll",nt,!0)}}))),(0,vt.T)(..._)}ngOnDestroy(){this._dragInstances.forEach(r=>this.removeDragItem(r)),this._dropInstances.forEach(r=>this.removeDropContainer(r)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((r,_)=>{this._document.removeEventListener(_,r.handler,r.options)}),this._globalListeners.clear()}}return d.\u0275fac=function(r){return new(r||d)(e.LFG(e.R0b),e.LFG(s.K0))},d.\u0275prov=e.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();const gt={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let Rt=(()=>{class d{constructor(r,_,P,ne){this._document=r,this._ngZone=_,this._viewportRuler=P,this._dragDropRegistry=ne}createDrag(r,_=gt){return new ve(r,_,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(r){return new Ut(r,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return d.\u0275fac=function(r){return new(r||d)(e.LFG(s.K0),e.LFG(e.R0b),e.LFG(Re.rL),e.LFG(ke))},d.\u0275prov=e.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();const se=new e.OlP("CDK_DRAG_PARENT"),z=new e.OlP("CdkDropListGroup"),me=new e.OlP("CDK_DRAG_CONFIG");let Ot=0;const ii=new e.OlP("CdkDropList");let Ci=(()=>{class d{get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(r){this._dropListRef.disabled=this._disabled=(0,Me.Ig)(r)}constructor(r,_,P,ne,nt,St,ti){this.element=r,this._changeDetectorRef=P,this._scrollDispatcher=ne,this._dir=nt,this._group=St,this._destroyed=new _e.x,this.connectedTo=[],this.id="cdk-drop-list-"+Ot++,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.dropped=new e.vpe,this.entered=new e.vpe,this.exited=new e.vpe,this.sorted=new e.vpe,this._unsortedItems=new Set,this._dropListRef=_.createDropList(r),this._dropListRef.data=this,ti&&this._assignDefaults(ti),this._dropListRef.enterPredicate=(ui,hi)=>this.enterPredicate(ui.data,hi.data),this._dropListRef.sortPredicate=(ui,hi,Ni)=>this.sortPredicate(ui,hi.data,Ni.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),d._dropLists.push(this),St&&St._items.add(this)}addItem(r){this._unsortedItems.add(r),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(r){this._unsortedItems.delete(r),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((r,_)=>r._dragRef.getVisibleElement().compareDocumentPosition(_._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const r=d._dropLists.indexOf(this);r>-1&&d._dropLists.splice(r,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(r){this._dir&&this._dir.change.pipe((0,kt.O)(this._dir.value),(0,xe.R)(this._destroyed)).subscribe(_=>r.withDirection(_)),r.beforeStarted.subscribe(()=>{const _=(0,Me.Eq)(this.connectedTo).map(P=>"string"==typeof P?d._dropLists.find(nt=>nt.id===P):P);if(this._group&&this._group._items.forEach(P=>{-1===_.indexOf(P)&&_.push(P)}),!this._scrollableParentsResolved){const P=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(ne=>ne.getElementRef().nativeElement);this._dropListRef.withScrollableParents(P),this._scrollableParentsResolved=!0}r.disabled=this.disabled,r.lockAxis=this.lockAxis,r.sortingDisabled=(0,Me.Ig)(this.sortingDisabled),r.autoScrollDisabled=(0,Me.Ig)(this.autoScrollDisabled),r.autoScrollStep=(0,Me.su)(this.autoScrollStep,2),r.connectedTo(_.filter(P=>P&&P!==this).map(P=>P._dropListRef)).withOrientation(this.orientation)})}_handleEvents(r){r.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),r.entered.subscribe(_=>{this.entered.emit({container:this,item:_.item.data,currentIndex:_.currentIndex})}),r.exited.subscribe(_=>{this.exited.emit({container:this,item:_.item.data}),this._changeDetectorRef.markForCheck()}),r.sorted.subscribe(_=>{this.sorted.emit({previousIndex:_.previousIndex,currentIndex:_.currentIndex,container:this,item:_.item.data})}),r.dropped.subscribe(_=>{this.dropped.emit({previousIndex:_.previousIndex,currentIndex:_.currentIndex,previousContainer:_.previousContainer.data,container:_.container.data,item:_.item.data,isPointerOverContainer:_.isPointerOverContainer,distance:_.distance,dropPoint:_.dropPoint,event:_.event}),this._changeDetectorRef.markForCheck()}),(0,vt.T)(r.receivingStarted,r.receivingStopped).subscribe(()=>this._changeDetectorRef.markForCheck())}_assignDefaults(r){const{lockAxis:_,draggingDisabled:P,sortingDisabled:ne,listAutoScrollDisabled:nt,listOrientation:St}=r;this.disabled=P??!1,this.sortingDisabled=ne??!1,this.autoScrollDisabled=nt??!1,this.orientation=St||"vertical",_&&(this.lockAxis=_)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(r=>r._dragRef))}}return d._dropLists=[],d.\u0275fac=function(r){return new(r||d)(e.Y36(e.SBq),e.Y36(Rt),e.Y36(e.sBO),e.Y36(Re.mF),e.Y36(jt.Is,8),e.Y36(z,12),e.Y36(me,8))},d.\u0275dir=e.lG2({type:d,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(r,_){2&r&&(e.uIk("id",_.id),e.ekj("cdk-drop-list-disabled",_.disabled)("cdk-drop-list-dragging",_._dropListRef.isDragging())("cdk-drop-list-receiving",_._dropListRef.isReceiving()))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],data:["cdkDropListData","data"],orientation:["cdkDropListOrientation","orientation"],id:"id",lockAxis:["cdkDropListLockAxis","lockAxis"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],sortPredicate:["cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],autoScrollStep:["cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],standalone:!0,features:[e._Bn([{provide:z,useValue:void 0},{provide:ii,useExisting:d}])]}),d})();const Si=new e.OlP("CdkDragHandle"),vi=new e.OlP("CdkDragPlaceholder"),Et=new e.OlP("CdkDragPreview");let bt=(()=>{class d{get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(r){this._disabled=(0,Me.Ig)(r),this._dragRef.disabled=this._disabled}constructor(r,_,P,ne,nt,St,ti,ui,hi,Ni,wi){this.element=r,this.dropContainer=_,this._ngZone=ne,this._viewContainerRef=nt,this._dir=ti,this._changeDetectorRef=hi,this._selfHandle=Ni,this._parentDrag=wi,this._destroyed=new _e.x,this.started=new e.vpe,this.released=new e.vpe,this.ended=new e.vpe,this.entered=new e.vpe,this.exited=new e.vpe,this.dropped=new e.vpe,this.moved=new Ge.y(tn=>{const Cn=this._dragRef.moved.pipe((0,rt.U)($i=>({source:this,pointerPosition:$i.pointerPosition,event:$i.event,delta:$i.delta,distance:$i.distance}))).subscribe(tn);return()=>{Cn.unsubscribe()}}),this._dragRef=ui.createDrag(r,{dragStartThreshold:St&&null!=St.dragStartThreshold?St.dragStartThreshold:5,pointerDirectionChangeThreshold:St&&null!=St.pointerDirectionChangeThreshold?St.pointerDirectionChangeThreshold:5,zIndex:St?.zIndex}),this._dragRef.data=this,d._dragInstances.push(this),St&&this._assignDefaults(St),_&&(this._dragRef._withDropContainer(_._dropListRef),_.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(r){this._dragRef.setFreeDragPosition(r)}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,Wt.q)(1),(0,xe.R)(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})})}ngOnChanges(r){const _=r.rootElementSelector,P=r.freeDragPosition;_&&!_.firstChange&&this._updateRootElement(),P&&!P.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const r=d._dragInstances.indexOf(this);r>-1&&d._dragInstances.splice(r,1),this._ngZone.runOutsideAngular(()=>{this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_updateRootElement(){const r=this.element.nativeElement;let _=r;this.rootElementSelector&&(_=void 0!==r.closest?r.closest(this.rootElementSelector):r.parentElement?.closest(this.rootElementSelector)),this._dragRef.withRootElement(_||r)}_getBoundaryElement(){const r=this.boundaryElement;return r?"string"==typeof r?this.element.nativeElement.closest(r):(0,Me.fI)(r):null}_syncInputs(r){r.beforeStarted.subscribe(()=>{if(!r.isDragging()){const _=this._dir,P=this.dragStartDelay,ne=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,nt=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;r.disabled=this.disabled,r.lockAxis=this.lockAxis,r.dragStartDelay="object"==typeof P&&P?P:(0,Me.su)(P),r.constrainPosition=this.constrainPosition,r.previewClass=this.previewClass,r.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(ne).withPreviewTemplate(nt).withPreviewContainer(this.previewContainer||"global"),_&&r.withDirection(_.value)}}),r.beforeStarted.pipe((0,Wt.q)(1)).subscribe(()=>{if(this._parentDrag)return void r.withParent(this._parentDrag._dragRef);let _=this.element.nativeElement.parentElement;for(;_;){if(_.classList.contains("cdk-drag")){r.withParent(d._dragInstances.find(P=>P.element.nativeElement===_)?._dragRef||null);break}_=_.parentElement}})}_handleEvents(r){r.started.subscribe(_=>{this.started.emit({source:this,event:_.event}),this._changeDetectorRef.markForCheck()}),r.released.subscribe(_=>{this.released.emit({source:this,event:_.event})}),r.ended.subscribe(_=>{this.ended.emit({source:this,distance:_.distance,dropPoint:_.dropPoint,event:_.event}),this._changeDetectorRef.markForCheck()}),r.entered.subscribe(_=>{this.entered.emit({container:_.container.data,item:this,currentIndex:_.currentIndex})}),r.exited.subscribe(_=>{this.exited.emit({container:_.container.data,item:this})}),r.dropped.subscribe(_=>{this.dropped.emit({previousIndex:_.previousIndex,currentIndex:_.currentIndex,previousContainer:_.previousContainer.data,container:_.container.data,isPointerOverContainer:_.isPointerOverContainer,item:this,distance:_.distance,dropPoint:_.dropPoint,event:_.event})})}_assignDefaults(r){const{lockAxis:_,dragStartDelay:P,constrainPosition:ne,previewClass:nt,boundaryElement:St,draggingDisabled:ti,rootElementSelector:ui,previewContainer:hi}=r;this.disabled=ti??!1,this.dragStartDelay=P||0,_&&(this.lockAxis=_),ne&&(this.constrainPosition=ne),nt&&(this.previewClass=nt),St&&(this.boundaryElement=St),ui&&(this.rootElementSelector=ui),hi&&(this.previewContainer=hi)}_setupHandlesListener(){this._handles.changes.pipe((0,kt.O)(this._handles),(0,yi.b)(r=>{const _=r.filter(P=>P._parentDrag===this).map(P=>P.element);this._selfHandle&&this.rootElementSelector&&_.push(this.element),this._dragRef.withHandles(_)}),(0,gi.w)(r=>(0,vt.T)(...r.map(_=>_._stateChanges.pipe((0,kt.O)(_))))),(0,xe.R)(this._destroyed)).subscribe(r=>{const _=this._dragRef,P=r.element.nativeElement;r.disabled?_.disableHandle(P):_.enableHandle(P)})}}return d._dragInstances=[],d.\u0275fac=function(r){return new(r||d)(e.Y36(e.SBq),e.Y36(ii,12),e.Y36(s.K0),e.Y36(e.R0b),e.Y36(e.s_b),e.Y36(me,8),e.Y36(jt.Is,8),e.Y36(Rt),e.Y36(e.sBO),e.Y36(Si,10),e.Y36(se,12))},d.\u0275dir=e.lG2({type:d,selectors:[["","cdkDrag",""]],contentQueries:function(r,_,P){if(1&r&&(e.Suo(P,Et,5),e.Suo(P,vi,5),e.Suo(P,Si,5)),2&r){let ne;e.iGM(ne=e.CRH())&&(_._previewTemplate=ne.first),e.iGM(ne=e.CRH())&&(_._placeholderTemplate=ne.first),e.iGM(ne=e.CRH())&&(_._handles=ne)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(r,_){2&r&&e.ekj("cdk-drag-disabled",_.disabled)("cdk-drag-dragging",_._dragRef.isDragging())},inputs:{data:["cdkDragData","data"],lockAxis:["cdkDragLockAxis","lockAxis"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],boundaryElement:["cdkDragBoundary","boundaryElement"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"],disabled:["cdkDragDisabled","disabled"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],previewContainer:["cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],standalone:!0,features:[e._Bn([{provide:se,useExisting:d}]),e.TTD]}),d})(),Ze=(()=>{class d{}return d.\u0275fac=function(r){return new(r||d)},d.\u0275mod=e.oAB({type:d}),d.\u0275inj=e.cJS({providers:[Rt],imports:[Re.ZD]}),d})();var At=p(6597),si=p(2445),Gi=p(7340),nn=p(5017),Wi=p(4968),Un=p(9841),to=p(9300),Bn=p(9718),xo=p(4482),gn=p(5403);function Yn(){return(0,xo.e)((d,g)=>{let r,_=!1;d.subscribe((0,gn.x)(g,P=>{const ne=r;r=P,_&&g.next([ne,P]),_=!0}))})}var Pn=p(1884),Vn=p(3099),Jn=p(5684),wo=p(5013),Jo=p(4080),ao=p(9521);const at=".cdk-header-cell, .mat-header-cell",xt=".cdk-header-row, .mat-header-row";function J(d,g){return d.matches?d.matches(g):d.msMatchesSelector(g)}function Ie(d,g){if(!(d instanceof Node))return null;let r=d;for(;null!=r&&!(r instanceof Element);)r=r.parentNode;return r&&(ei?r.closest(g):function Xe(d,g){let r=d;for(;null!=r&&!(r instanceof Element&&J(r,g));)r=r.parentNode;return r||null}(r,g))}const ei=!!Element.prototype.closest,Ei="cdk-column-resize-hover-or-active";let Mn=0,Tn=(()=>{class d{constructor(){this.destroyed=new _e.x,this.selectorId=""+ ++Mn}ngAfterViewInit(){this.elementRef.nativeElement.classList.add(this.getUniqueCssClass()),this._listenForRowHoverEvents(),this._listenForResizeActivity(),this._listenForHoverActivity()}ngOnDestroy(){this.destroyed.next(),this.destroyed.complete()}getUniqueCssClass(){return`cdk-column-resize-${this.selectorId}`}setResized(){this.elementRef.nativeElement.classList.add("cdk-column-resize-with-resized-column")}_listenForRowHoverEvents(){this.ngZone.runOutsideAngular(()=>{const r=this.elementRef.nativeElement;(0,Wi.R)(r,"mouseover").pipe((0,rt.U)(_=>Ie(_.target,at)),(0,xe.R)(this.destroyed)).subscribe(this.eventDispatcher.headerCellHovered),(0,Wi.R)(r,"mouseleave").pipe((0,to.h)(_=>!!_.relatedTarget&&!J(_.relatedTarget,".mat-column-resize-overlay-thumb")),(0,Bn.h)(null),(0,xe.R)(this.destroyed)).subscribe(this.eventDispatcher.headerCellHovered)})}_listenForResizeActivity(){(0,vt.T)(this.eventDispatcher.overlayHandleActiveForCell.pipe((0,Bn.h)(void 0)),this.notifier.triggerResize.pipe((0,Bn.h)(void 0)),this.notifier.resizeCompleted.pipe((0,Bn.h)(void 0))).pipe((0,Wt.q)(1),(0,xe.R)(this.destroyed)).subscribe(()=>{this.setResized()})}_listenForHoverActivity(){this.eventDispatcher.headerRowHoveredOrActiveDistinct.pipe((0,kt.O)(null),Yn(),(0,xe.R)(this.destroyed)).subscribe(([r,_])=>{_&&_.classList.add(Ei),r&&r.classList.remove(Ei)})}}return d.\u0275fac=function(r){return new(r||d)},d.\u0275dir=e.lG2({type:d}),d})(),Li=(()=>{class d{constructor(){this.resizeCanceled=new _e.x,this.resizeCompleted=new _e.x,this.triggerResize=new _e.x}}return d.\u0275fac=function(r){return new(r||d)},d.\u0275prov=e.Yz7({token:d,factory:d.\u0275fac}),d})(),Xn=(()=>{class d{constructor(r){this._source=r,this.resizeCompleted=this._source.resizeCompleted}resize(r,_){this._source.triggerResize.next({columnId:r,size:_,completeImmediately:!0,isStickyColumn:!0})}}return d.\u0275fac=function(r){return new(r||d)(e.LFG(Li))},d.\u0275prov=e.Yz7({token:d,factory:d.\u0275fac}),d})(),Gn=(()=>{class d{constructor(r){this._ngZone=r,this.headerCellHovered=new _e.x,this.overlayHandleActiveForCell=new _e.x,this.headerCellHoveredDistinct=this.headerCellHovered.pipe((0,Pn.x)(),(0,Vn.B)()),this.headerRowHoveredOrActiveDistinct=(0,Un.a)(this.headerCellHoveredDistinct.pipe((0,rt.U)(_=>Ie(_,xt)),(0,kt.O)(null),(0,Pn.x)()),this.overlayHandleActiveForCell.pipe((0,rt.U)(_=>Ie(_,xt)),(0,kt.O)(null),(0,Pn.x)())).pipe((0,Jn.T)(1),(0,rt.U)(([_,P])=>P||_),(0,Pn.x)(),(0,Vn.B)()),this._headerRowHoveredOrActiveDistinctReenterZone=this.headerRowHoveredOrActiveDistinct.pipe(this._enterZone(),(0,Vn.B)()),this._lastSeenRow=null,this._lastSeenRowHover=null}resizeOverlayVisibleForHeaderRow(r){return r!==this._lastSeenRow&&(this._lastSeenRow=r,this._lastSeenRowHover=this._headerRowHoveredOrActiveDistinctReenterZone.pipe((0,rt.U)(_=>_===r),(0,Pn.x)(),(0,Vn.B)())),this._lastSeenRowHover}_enterZone(){return r=>new Ge.y(_=>r.subscribe({next:P=>this._ngZone.run(()=>_.next(P)),error:P=>_.error(P),complete:()=>_.complete()}))}}return d.\u0275fac=function(r){return new(r||d)(e.LFG(e.R0b))},d.\u0275prov=e.Yz7({token:d,factory:d.\u0275fac}),d})(),To=(()=>{class d{constructor(){this._pendingResizeDelta=null}updateTableWidthAndStickyColumns(r){if(null===this._pendingResizeDelta){const _=this.columnResize.elementRef.nativeElement,P=Eo(_);this.styleScheduler.schedule(()=>{_.style.width=(0,Me.HM)(P+this._pendingResizeDelta),this._pendingResizeDelta=null}),this.styleScheduler.scheduleEnd(()=>{this.table.updateStickyColumnStyles()})}this._pendingResizeDelta=(this._pendingResizeDelta??0)+r}}return d.\u0275fac=function(r){return new(r||d)},d.\u0275prov=e.Yz7({token:d,factory:d.\u0275fac}),d})(),$o=(()=>{class d extends To{constructor(r,_,P){super(),this.columnResize=r,this.styleScheduler=_,this.table=P}applyColumnSize(r,_,P,ne){const nt=P-(ne??Eo(_));0!==nt&&(this.styleScheduler.schedule(()=>{_.style.width=(0,Me.HM)(P)}),this.updateTableWidthAndStickyColumns(nt))}applyMinColumnSize(r,_,P){const ne=Eo(_),nt=Math.max(ne,P);this.applyColumnSize(r,_,nt,ne)}applyMaxColumnSize(r,_,P){const ne=Eo(_),nt=Math.min(ne,P);this.applyColumnSize(r,_,nt,ne)}}return d.\u0275fac=function(r){return new(r||d)(e.LFG(Tn),e.LFG(wo.nl),e.LFG(wo.zC))},d.\u0275prov=e.Yz7({token:d,factory:d.\u0275fac}),d})();function Eo(d){return function Dr(d){return Number(d.match(/(\d+)px/)?.[1])}(d.style.width)||d.offsetWidth}const Zo={provide:To,useClass:$o};class jn{constructor(g,r,_,P){this.origin=g,this.overlayRef=r,this.minWidthPx=_,this.maxWidthPx=P}}const Jr="cdk-resizable-overlay-thumb-active";let qn=(()=>{class d{constructor(){this.isResizable=!0,this.minWidthPxInternal=0,this.maxWidthPxInternal=Number.MAX_SAFE_INTEGER,this.destroyed=new _e.x,this._viewInitialized=!1}get minWidthPx(){return this.minWidthPxInternal}set minWidthPx(r){r&&(this.minWidthPxInternal=r),this.columnResize.setResized(),this.elementRef.nativeElement&&this._viewInitialized&&this._applyMinWidthPx()}get maxWidthPx(){return this.maxWidthPxInternal}set maxWidthPx(r){r&&(this.maxWidthPxInternal=r),this.columnResize.setResized(),this.elementRef.nativeElement&&this._viewInitialized&&this._applyMaxWidthPx()}ngAfterViewInit(){this.isResizable&&(this._listenForRowHoverEvents(),this._listenForResizeEvents(),this._appendInlineHandle(),this.styleScheduler.scheduleEnd(()=>{this._viewInitialized=!0,this._applyMinWidthPx(),this._applyMaxWidthPx()}))}ngOnDestroy(){this.destroyed.next(),this.destroyed.complete(),this.inlineHandle&&this.elementRef.nativeElement.removeChild(this.inlineHandle),this.overlayRef&&this.overlayRef.dispose()}_createOverlayForHandle(){const r="rtl"===this.directionality.value,_=this.overlay.position().flexibleConnectedTo(this.elementRef.nativeElement).withFlexibleDimensions(!1).withGrowAfterOpen(!1).withPush(!1).withDefaultOffsetX(r?1:0).withPositions([{originX:r?"start":"end",originY:"top",overlayX:"center",overlayY:"top"}]);return this.overlay.create({direction:"ltr",disposeOnNavigation:!0,positionStrategy:_,scrollStrategy:this.overlay.scrollStrategies.reposition(),width:"16px"})}_listenForRowHoverEvents(){const r=this.elementRef.nativeElement,_=(0,xe.R)(this.destroyed);this.eventDispatcher.resizeOverlayVisibleForHeaderRow(Ie(r,xt)).pipe(_).subscribe(P=>{P?(this.overlayRef||(this.overlayRef=this._createOverlayForHandle()),this._showHandleOverlay()):this.overlayRef&&this.overlayRef.detach()})}_listenForResizeEvents(){const r=(0,xe.R)(this.destroyed);(0,vt.T)(this.resizeNotifier.resizeCanceled,this.resizeNotifier.triggerResize).pipe(r,(0,to.h)(_=>_.columnId===this.columnDef.name)).subscribe(({size:_,previousSize:P,completeImmediately:ne})=>{this.elementRef.nativeElement.classList.add(Jr),this._applySize(_,P),ne&&this._completeResizeOperation()}),(0,vt.T)(this.resizeNotifier.resizeCanceled,this.resizeNotifier.resizeCompleted).pipe(r).subscribe(_=>{this._cleanUpAfterResize(_)})}_completeResizeOperation(){this.ngZone.run(()=>{this.resizeNotifier.resizeCompleted.next({columnId:this.columnDef.name,size:this.elementRef.nativeElement.offsetWidth})})}_cleanUpAfterResize(r){this.elementRef.nativeElement.classList.remove(Jr),this.overlayRef&&this.overlayRef.hasAttached()&&(this._updateOverlayHandleHeight(),this.overlayRef.updatePosition(),r.columnId===this.columnDef.name&&this.inlineHandle.focus())}_createHandlePortal(){const r=e.zs3.create({parent:this.injector,providers:[{provide:jn,useValue:new jn(this.elementRef,this.overlayRef,this.minWidthPx,this.maxWidthPx)}]});return new Jo.C5(this.getOverlayHandleComponentType(),this.viewContainerRef,r)}_showHandleOverlay(){this._updateOverlayHandleHeight(),this.overlayRef.attach(this._createHandlePortal()),this.changeDetectorRef.markForCheck()}_updateOverlayHandleHeight(){this.overlayRef.updateSize({height:this.elementRef.nativeElement.offsetHeight})}_applySize(r,_){const P=Math.min(Math.max(r,this.minWidthPx,0),this.maxWidthPx);this.resizeStrategy.applyColumnSize(this.columnDef.cssClassFriendlyName,this.elementRef.nativeElement,P,_)}_applyMinWidthPx(){this.resizeStrategy.applyMinColumnSize(this.columnDef.cssClassFriendlyName,this.elementRef.nativeElement,this.minWidthPx)}_applyMaxWidthPx(){this.resizeStrategy.applyMaxColumnSize(this.columnDef.cssClassFriendlyName,this.elementRef.nativeElement,this.maxWidthPx)}_appendInlineHandle(){this.styleScheduler.schedule(()=>{this.inlineHandle=this.document.createElement("div"),this.inlineHandle.tabIndex=0,this.inlineHandle.className=this.getInlineHandleCssClassName(),this.elementRef.nativeElement.appendChild(this.inlineHandle)})}}return d.\u0275fac=function(r){return new(r||d)},d.\u0275dir=e.lG2({type:d}),d})(),lo=(()=>{class d{constructor(){this.destroyed=new _e.x}ngAfterViewInit(){this._listenForMouseEvents()}ngOnDestroy(){this.destroyed.next(),this.destroyed.complete()}_listenForMouseEvents(){this.ngZone.runOutsideAngular(()=>{(0,Wi.R)(this.elementRef.nativeElement,"mouseenter").pipe((0,Bn.h)(this.resizeRef.origin.nativeElement),(0,xe.R)(this.destroyed)).subscribe(r=>this.eventDispatcher.headerCellHovered.next(r)),(0,Wi.R)(this.elementRef.nativeElement,"mouseleave").pipe((0,rt.U)(r=>r.relatedTarget&&Ie(r.relatedTarget,at)),(0,xe.R)(this.destroyed)).subscribe(r=>this.eventDispatcher.headerCellHovered.next(r)),(0,Wi.R)(this.elementRef.nativeElement,"mousedown").pipe((0,xe.R)(this.destroyed)).subscribe(r=>{this._dragStarted(r)})})}_dragStarted(r){if(0!==r.button)return;const _=(0,Wi.R)(this.document,"mouseup"),P=(0,Wi.R)(this.document,"mousemove"),ne=(0,Wi.R)(this.document,"keyup").pipe((0,to.h)(wi=>wi.keyCode===ao.hY)),nt=r.screenX,St=this._getOriginWidth();let ti=0,ui=this._getOriginOffset(),hi=St,Ni=0;this.updateResizeActive(!0),_.pipe((0,xe.R)((0,vt.T)(ne,this.destroyed))).subscribe(({screenX:wi})=>{this.styleScheduler.scheduleEnd(()=>{this._notifyResizeEnded(hi,wi!==nt)})}),ne.pipe((0,xe.R)((0,vt.T)(_,this.destroyed))).subscribe(()=>{this._notifyResizeEnded(St)}),P.pipe((0,rt.U)(({screenX:wi})=>wi),(0,kt.O)(nt),(0,Pn.x)(),Yn(),(0,xe.R)((0,vt.T)(_,ne,this.destroyed))).subscribe(([wi,tn])=>{let Cn=tn-wi;if(0!==Ni){if(Ni<0&&Cn<0||Ni>0&&Cn>0)return void(Ni+=Cn);{const h=Ni+Cn;if(Ni=Ni>0?Math.max(h,0):Math.min(h,0),Cn=h-Ni,0===Cn)return}}let $i=hi+(this._isLtr()?Cn:-Cn);$i=Math.min(Math.max($i,this.resizeRef.minWidthPx,0),this.resizeRef.maxWidthPx),this.resizeNotifier.triggerResize.next({columnId:this.columnDef.name,size:$i,previousSize:hi,isStickyColumn:this.columnDef.sticky||this.columnDef.stickyEnd}),this.styleScheduler.scheduleEnd(()=>{const h=this._getOriginWidth(),u=this._getOriginOffset(),a=u-ui,f=h-hi;hi=h,ui=u,Ni+=Cn+(this._isLtr()?-f:f),ti+=a+(this._isLtr()?f:0),this._updateOverlayOffset(ti)})})}updateResizeActive(r){this.eventDispatcher.overlayHandleActiveForCell.next(r?this.resizeRef.origin.nativeElement:null)}_getOriginWidth(){return this.resizeRef.origin.nativeElement.offsetWidth}_getOriginOffset(){return this.resizeRef.origin.nativeElement.offsetLeft}_updateOverlayOffset(r){this.resizeRef.overlayRef.overlayElement.style.transform=`translateX(${(0,Me.HM)(r)})`}_isLtr(){return"ltr"===this.directionality.value}_notifyResizeEnded(r,_=!1){this.updateResizeActive(!1),this.ngZone.run(()=>{const P={columnId:this.columnDef.name,size:r};_?this.resizeNotifier.resizeCompleted.next(P):this.resizeNotifier.resizeCanceled.next(P)})}}return d.\u0275fac=function(r){return new(r||d)},d.\u0275dir=e.lG2({type:d}),d})();var qo=p(8184),co=function(d,g){return new co.fn.init(d,g)};const _i=co;var rn=window.document,fo=[],De=fo.concat,qe=fo.filter,F=fo.slice,Te={},It={},Ht={"column-count":1,columns:1,"font-weight":1,"line-height":1,opacity:1,"z-index":1,zoom:1},bi=/^\s*<(\w+|!)[^>]*>/,mn=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,$n=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,On=/^(?:body|html)$/i,io=["val","css","html","text","data","width","height","offset"],uo=rn.createElement("table"),Mr=rn.createElement("tr"),hs={tr:rn.createElement("tbody"),tbody:uo,thead:uo,tfoot:uo,td:Mr,th:Mr,"*":rn.createElement("div")},Br=/^[\w-]*$/,Vr={},Hr=Vr.toString,Xr=rn.createElement("div"),bo=Array.isArray||function(d){return"[object Array]"===Object.prototype.toString.call(d)},Ko=rn.documentElement.contains?function(d,g){return d!==g&&d.contains(g)}:function(d,g){for(;g&&(g=g.parentNode);)if(g===d)return!0;return!1};function er(d){return null==d?String(d):Vr[Hr.call(d)]||"object"}function Tr(d){return"string"==typeof d}function _r(d){return"function"==er(d)}function tr(d){return null!=d&&d==d.window}function br(d){return null!=d&&d.nodeType==d.DOCUMENT_NODE}function Er(d){return"object"==er(d)}function vr(d){return Er(d)&&!tr(d)&&Object.getPrototypeOf(d)==Object.prototype}function zr(d){var g=!!d&&"length"in d&&d.length,r=er(d);return"function"!=r&&!tr(d)&&("array"==r||0===g||"number"==typeof g&&g>0&&g-1 in d)}function no(d){return d.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()}function Ur(d,g){return"number"!=typeof g||Ht[no(d)]?g:g+"px"}function Ln(d){return d.replace(/-+(.)?/g,function(g,r){return r?r.toUpperCase():""})}function Po(d){return d in It?It[d]:It[d]=new RegExp("(^|\\s)"+d+"(\\s|$)")}function yr(d){return d instanceof _i}function dr(d,g,r,_){return _r(g)?g.call(d,r,_):g}function ir(d,g,r){null==r?d.removeAttribute(g):d.setAttribute(g,r)}function Lo(d,g){var r=d.className||"",_=r&&void 0!==r.baseVal;if(void 0===g)return _?r.baseVal:r;_?r.baseVal=g:d.className=g}function E(d,g){var r=d.replace(/./,function(P){return P[0].toUpperCase()}),_=this[0];return void 0===g?tr(_)?_.document.documentElement["client"+r]:br(_)?_.documentElement["scroll"+r]:function x(d,g){var r={width:["padding-left","padding-right","border-left-width","border-right-width"],height:["padding-top","padding-bottom","border-top-width","border-bottom-width"]};return"border-box"!==d.css("box-sizing")||function ue(){return window.navigator.userAgent.indexOf("MSIE ")>0||!!navigator.userAgent.match(/Trident.*rv:11\./)}()?parseFloat(d.css(g)):parseFloat(d.css(g))-parseFloat(d.css(r[g][0]))-parseFloat(d.css(r[g][1]))-parseFloat(d.css(r[g][2]))-parseFloat(d.css(r[g][3]))}(this,d):this.each(function(P){(_=_i(this)).css(d,dr(this,g,P,_[d]()))})}_i.fn=_i.prototype={constuctor:_i,length:0,forEach:fo.forEach,reduce:fo.reduce,push:fo.push,sort:fo.sort,splice:fo.splice,indexOf:fo.indexOf,init:function(d,g){var r;if(!d)return this;if("string"==typeof d)if("<"==(d=d.trim())[0]&&bi.test(d))r=_i.fragment(d,RegExp.$1,g),d=null;else{if(void 0!==g)return _i(g).find(d);r=_i.qsa(rn,d)}else{if(_r(d))return _i(rn).ready(d);if(yr(d))return d;if(bo(d))r=function qr(d){return qe.call(d,function(g){return null!=g})}(d);else if(Er(d))r=[d],d=null;else{if(void 0!==g)return _i(g).find(d);r=_i.qsa(rn,d)}}return _i.makeArray(r,d,this)},concat:function(){var d,g,r=[];for(d=0;d<arguments.length;d++)r[d]=yr(g=arguments[d])?g.toArray():g;return De.apply(yr(this)?this.toArray():this,r)},pluck:function(d){return _i.map(this,function(g){return g[d]})},toArray:function(){return this.get()},get:function(d){return void 0===d?F.call(this):this[d>=0?d:d+this.length]},size:function(){return this.length},each:function(d){return fo.every.call(this,function(g,r){return!1!==d.call(g,r,g)}),this},map:function(d){return _i(_i.map(this,function(g,r){return d.call(g,r,g)}))},slice:function(){return _i(F.apply(this,arguments))},first:function(){var d=this[0];return d&&!Er(d)?d:_i(d)},last:function(){var d=this[this.length-1];return d&&!Er(d)?d:_i(d)},eq:function(d){return-1===d?this.slice(d):this.slice(d,+d+1)}},_i.extend=_i.fn.extend=function(){var d,g,r,_,P,ne,nt=arguments[0]||{},St=1,ti=arguments.length,ui=!1;for("boolean"==typeof nt&&(ui=nt,nt=arguments[St]||{},St++),"object"!=typeof nt&&!_r(nt)&&(nt={}),St===ti&&(nt=this,St--);St<ti;St++)if(null!=(d=arguments[St]))for(g in d)r=nt[g],nt!==(_=d[g])&&(ui&&_&&(vr(_)||(P=bo(_)))?(P?(P=!1,ne=r&&bo(r)?r:[]):ne=r&&vr(r)?r:{},nt[g]=_i.extend(ui,ne,_)):void 0!==_&&(nt[g]=_));return nt},_i.extend({makeArray:function(d,g,r){var _,P=d?d.length:0;for(_=0;_<P;_++)r[_]=d[_];return r.length=P,r.selector=g||"",r},merge:function(d,g){for(var r=+g.length,_=0,P=d.length;_<r;_++)d[P++]=g[_];return d.length=P,d},qsa:function(d,g){var r,_="#"==g[0],P=!_&&"."==g[0],ne=_||P?g.slice(1):g,nt=Br.test(ne);return d.getElementById&&nt&&_?(r=d.getElementById(ne))?[r]:[]:1!==d.nodeType&&9!==d.nodeType&&11!==d.nodeType?[]:F.call(nt&&!_&&d.getElementsByClassName?P?d.getElementsByClassName(ne):d.getElementsByTagName(g):d.querySelectorAll(g))},fragment:function(d,g,r){var _,P,ne;return mn.test(d)&&(_=_i(rn.createElement(RegExp.$1))),_||(d.replace&&(d=d.replace($n,"<$1></$2>")),void 0===g&&(g=bi.test(d)&&RegExp.$1),g in hs||(g="*"),(ne=hs[g]).innerHTML=""+d,_=_i.each(F.call(ne.childNodes),function(){ne.removeChild(this)})),vr(r)&&(P=_i(_),_i.each(r,function(nt,St){io.indexOf(nt)>-1?P[nt](St):P.attr(nt,St)})),_},matches:function(d,g){if(!g||!d||1!==d.nodeType)return!1;var r=d.matches||d.webkitMatchesSelector||d.mozMatchesSelector||d.oMatchesSelector||d.matchesSelector;if(r)return r.call(d,g);var _,P=d.parentNode,ne=!P;return ne&&(P=Xr).appendChild(d),_=~_i.qsa(P,g).indexOf(d),ne&&Xr.removeChild(d),_},each:function(d,g){var r,_;if(zr(d)){for(r=0;r<d.length;r++)if(!1===g.call(d[r],r,d[r]))return d}else for(_ in d)if(!1===g.call(d[_],_,d[_]))return d;return d},map:function(d,g){var r,P,ne,_=[];if(zr(d))for(P=0;P<d.length;P++)null!=(r=g(d[P],P))&&_.push(r);else for(ne in d)null!=(r=g(d[ne],ne))&&_.push(r);return function ho(d){return d.length>0?_i.fn.concat.apply([],d):d}(_)}}),_i.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(d,g){Vr["[object "+g+"]"]=g.toLowerCase()}),_i.fn.init.prototype=_i.fn;var tt=1,Dt={},Ct="onfocusin"in window,Zt={focus:"focusin",blur:"focusout"},qt={mouseenter:"mouseover",mouseleave:"mouseout"},Mi=/^([A-Z]|returnValue$|layer[XY]$|webkitMovement[XY]$)/,Ii=function(){return!0},fn=function(){return!1},un={preventDefault:"isDefaultPrevented",stopImmediatePropagation:"isImmediatePropagationStopped",stopPropagation:"isPropagationStopped"};function Zi(d){return d._zid||(d._zid=tt++)}function Qi(d,g){if(g||!d.isDefaultPrevented){g||(g=d),_i.each(un,function(r,_){var P=g[r];d[r]=function(){return this[_]=Ii,P&&P.apply(g,arguments)},d[_]=fn});try{d.timeStamp||(d.timeStamp=Date.now())}catch(r){console.warn(r)}(void 0!==g.defaultPrevented?g.defaultPrevented:"returnValue"in g?!1===g.returnValue:g.getPreventDefault&&g.getPreventDefault())&&(d.isDefaultPrevented=Ii)}return d}function Dn(d){var g=(""+d).split(".");return{e:g[0],ns:g.slice(1).sort().join(" ")}}function R(d,g){return d.del&&!Ct&&d.e in Zt||!!g}function ae(d){return qt[d]||Ct&&Zt[d]||d}function Oe(d,g,r,_,P){var ne=Zi(d);(g||"").split(/\s/).forEach(function(nt){(function oo(d,g,r,_){if((g=Dn(g)).ns)var P=function Rn(d){return new RegExp("(?:^| )"+d.replace(" "," .* ?")+"(?: |$)")}(g.ns);return(Dt[Zi(d)]||[]).filter(function(ne){return ne&&(!g.e||ne.e==g.e)&&(!g.ns||P.test(ne.ns))&&(!r||Zi(ne.fn)===Zi(r))&&(!_||ne.sel==_)})})(d,nt,r,_).forEach(function(St){delete Dt[ne][St.i],"removeEventListener"in d&&d.removeEventListener(ae(St.e),St.proxy,R(St,P))})})}function Xt(d,g){g(d);for(var r=0,_=d.childNodes.length;r<_;r++)Xt(d.childNodes[r],g)}function Kt(d,g,r,_){var P,nt,ne=_i.map(g,function(ti){var ui=[];return"array"==(P=er(ti))?(ti.forEach(function(hi){return void 0!==hi.nodeType?ui.push(hi):yr(hi)?ui=ui.concat(hi.get()):void(ui=ui.concat(_i.fragment(hi)))}),ui):"object"==P||null==ti?ti:_i.fragment(ti)}),St=d.length>1;return ne.length<1?d:d.each(function(ti,ui){var hi=Ko(rn.documentElement,nt=_?ui:ui.parentNode);ne.forEach(function(Ni){if(St)Ni=Ni.cloneNode(!0);else if(!nt)return _i(Ni).remove();r.call(ui,Ni),hi&&Xt(Ni,function(wi){if(!(null==wi.nodeName||"SCRIPT"!==wi.nodeName.toUpperCase()||wi.type&&"text/javascript"!==wi.type||wi.src)){var tn=wi.ownerDocument?wi.ownerDocument.defaultView:window;tn.eval.call(tn,wi.innerHTML)}})})})}var ys,wr="",xs=rn.createElement("div"),Fs=xs.style.transitionProperty;function Ls(d){return ys?ys+d:d.toLowerCase()}void 0===xs.style.transform&&_i.each({Webkit:"webkit",Moz:"",O:"o"},function(d,g){if(void 0!==xs.style[d+"TransitionProperty"])return wr="-"+d.toLowerCase()+"-",ys=g,!1}),xs=null,_i.fx={off:void 0===ys&&void 0===Fs,speeds:{_default:400,fast:200,slow:600},cssPrefix:wr,transitionEnd:Ls("TransitionEnd"),animationEnd:Ls("AnimationEnd")};var Ns,Nl,_a,rs,qs,Xi,go,$r,ws,Va=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i,ss={};function ea(d){return d.replace(/([A-Z])/g,"-$1").toLowerCase()}function ta(){return this.each(function(){"none"==this.style.display&&(this.style.display=""),"none"==getComputedStyle(this,"").getPropertyValue("display")&&(this.style.display=function Co(d){var g,r;return Te[d]||(g=rn.createElement(d),rn.body.appendChild(g),r=getComputedStyle(g,"").getPropertyValue("display"),g.parentNode.removeChild(g),"none"==r&&(r="block"),Te[d]=r),Te[d]}(this.nodeName))})}function Bs(){return this.css("display","none")}function Nr(d,g,r,_,P){"function"==typeof g&&!P&&(P=g,g=void 0);var ne={opacity:r};return _&&(ne.scale=_,d.css(_i.fx.cssPrefix+"transform-origin","0 0")),d.animate(ne,g,null,P)}Ns=wr+"transform",ss[Nl=wr+"transition-property"]=ss[_a=wr+"transition-duration"]=ss[qs=wr+"transition-delay"]=ss[rs=wr+"transition-timing-function"]=ss[Xi=wr+"animation-name"]=ss[go=wr+"animation-duration"]=ss[ws=wr+"animation-delay"]=ss[$r=wr+"animation-timing-function"]="";const dl={find:function Yo(d){var r=this;return d?"object"==typeof d?_i(d).filter(function(){var _=this;return fo.some.call(r,function(P){return Ko(P,_)})}):1==this.length?_i(_i.qsa(this[0],d)):this.map(function(){return _i.qsa(this,d)}):_i()},closest:function Js(d,g){var r=[],_="object"==typeof d&&_i(d);return this.each(function(P,ne){for(;ne&&!(_?_.indexOf(ne)>=0:_i.matches(ne,d));)ne=ne!==g&&!br(ne)&&ne.parentNode;ne&&r.indexOf(ne)<0&&r.push(ne)}),_i(r)},css:function V(d,g){if(arguments.length<2){var r=this[0];if("string"==typeof d)return r?r.style[Ln(d)]||getComputedStyle(r,"").getPropertyValue(d):void 0;if(bo(d)){if(!r)return;var _={},P=getComputedStyle(r,"");return _i.each(d,function(St,ti){_[ti]=r.style[Ln(ti)]||P.getPropertyValue(ti)}),_}}var ne="";if("string"==er(d))g||0===g?ne=no(d)+":"+Ur(d,g):this.each(function(){this.style.removeProperty(no(d))});else for(var nt in d)d[nt]||0===d[nt]?ne+=no(nt)+":"+Ur(nt,d[nt])+";":this.each(function(){this.style.removeProperty(no(nt))});return this.each(function(){this.style.cssText+=";"+ne})},addClass:function Mt(d){var g=[];return d?this.each(function(r){if("className"in this){g=[];var _=Lo(this);dr(this,d,r,_).split(/\s+/g).forEach(function(ne){_i(this).hasClass(ne)||g.push(ne)},this),g.length&&Lo(this,_+(_?" ":"")+g.join(" "))}}):this},hasClass:function Ne(d){return!!d&&fo.some.call(this,function(g){return this.test(Lo(g))},Po(d))},removeClass:function Di(d){var g=[];return this.each(function(r){if("className"in this){if(void 0===d)return Lo(this,"");g=Lo(this),dr(this,d,r,g).split(/\s+/g).forEach(function(_){g=g.replace(Po(_)," ")}),Lo(this,g.trim())}})},attr:function bs(d,g){var r;return"string"!=typeof d||1 in arguments?this.each(function(_){if(1===this.nodeType)if(Er(d))for(var P in d)ir(this,P,d[P]);else ir(this,d,dr(this,g,_,this.getAttribute(d)))}):0 in this&&1==this[0].nodeType&&null!=(r=this[0].getAttribute(d))?r:void 0},removeAttr:function Rr(d){return this.each(function(){1===this.nodeType&&d.split(" ").forEach(function(g){ir(this,g)},this)})},append:function Vi(){return Kt(this,arguments,function(d){this.insertBefore(d,null)},!0)},remove:function Sn(){return this.each(function(){1===this.nodeType&&function sn(d){for(var g,r,_=0;void 0!==(r=d[_]);_++)r._zid&&(g=Dt[r._zid])&&g.forEach(P=>{const ne=P.e+"."+P.ns.split(" ").join(".");Oe(r,ne,P.fn,P.sel)})}(function ki(d,g){var r;return r=typeof d.getElementsByTagName<"u"?d.getElementsByTagName(g||"*"):typeof d.querySelectorAll<"u"?d.querySelectorAll(g||"*"):[],void 0===g||g&&function Sr(d,g){return d.nodeName&&d.nodeName.toLowerCase()===g.toLowerCase()}(d,g)?_i.merge([d],r):r}(this)),null!=this.parentNode&&this.parentNode.removeChild(this)})},empty:function en(){return this.each(function(){this.innerHTML=""})},html:function Zn(d){return 0 in arguments?this.each(function(g){var r=this.innerHTML;_i(this).empty().append(dr(this,d,g,r))}):0 in this?this[0].innerHTML:null},width:function K(d){return E.call(this,"width",d)},height:function ye(d){return E.call(this,"height",d)},scrollTop:function Or(d){if(this.length){var g="scrollTop"in this[0];return void 0===d?g?this[0].scrollTop:tr(this[0])?this[0].pageYOffset:this[0].defaultView.pageYOffset:this.each(g?function(){this.scrollTop=d}:function(){this.scrollTo(this.scrollX,d)})}},scrollLeft:function is(d){if(this.length){var g="scrollLeft"in this[0];return void 0===d?g?this[0].scrollLeft:tr(this[0])?this[0].pageXOffset:this[0].defaultView.pageXOffset:this.each(g?function(){this.scrollLeft=d}:function(){this.scrollTo(d,this.scrollY)})}},offset:function ni(d){if(d)return this.each(function(r){var _=_i(this),P=dr(this,d,r,_.offset()),ne=_.offsetParent().offset(),nt={top:P.top-ne.top,left:P.left-ne.left};"static"==_.css("position")&&(nt.position="relative"),_.css(nt)});if(!this.length)return null;if(rn.documentElement!==this[0]&&!Ko(rn.documentElement,this[0]))return{top:0,left:0};var g=this[0].getBoundingClientRect();return{left:g.left+window.pageXOffset,top:g.top+window.pageYOffset,width:Math.round(g.width),height:Math.round(g.height)}},offsetParent:function eo(){return this.map(function(){for(var d=this.offsetParent||rn.body;d&&!On.test(d.nodeName)&&"static"==_i(d).css("position");)d=d.offsetParent;return d})},position:function pn(){if(this.length){var g,d=this[0],r=this.offsetParent(),_=On.test(r[0].nodeName)?{top:0,left:0}:r.offset();return"fixed"===_i(d).css("position")?g=d.getBoundingClientRect():(g=this.offset(),_.top+=parseFloat(_i(r[0]).css("border-top-width"))||0,_.left+=parseFloat(_i(r[0]).css("border-left-width"))||0),{top:g.top-_.top-parseFloat(_i(d).css("margin-top"))||0,left:g.left-_.left-parseFloat(_i(d).css("margin-left"))||0}}},on:function Lr(d,g,r,_,P){var ne,nt,St=this;return d&&!Tr(d)?(_i.each(d,function(ti,ui){St.on(ti,g,r,ui,P)}),St):(!Tr(g)&&!_r(_)&&!1!==_&&(_=r,r=g,g=void 0),(void 0===_||!1===r)&&(_=r,r=void 0),!1===_&&(_=fn),St.each(function(ti,ui){P&&(ne=function(hi){return Oe(ui,hi.type,_),_.apply(this,arguments)}),g&&(nt=function(hi){var Ni,wi=_i(hi.target).closest(g,ui).get(0);if(wi&&wi!==ui)return Ni=_i.extend(function ut(d){var g,r={originalEvent:d};for(g in d)!Mi.test(g)&&void 0!==d[g]&&(r[g]=d[g]);return Qi(r,d)}(hi),{currentTarget:wi,liveFired:ui}),(ne||_).apply(wi,[Ni].concat(F.call(arguments,1)))}),function G(d,g,r,_,P,ne,nt){var St=Zi(d),ti=Dt[St]||(Dt[St]=[]);g.split(/\s/).forEach(function(ui){if("ready"==ui)return _i(rn).ready(r);var hi=Dn(ui);hi.fn=r,hi.sel=P,hi.e in qt&&(r=function(wi){var tn=wi.relatedTarget;if(!tn||tn!==this&&!Ko(this,tn))return hi.fn.apply(this,arguments)}),hi.del=ne;var Ni=ne||r;hi.proxy=function(wi){if(!(wi=Qi(wi)).isImmediatePropagationStopped()){wi.data=_;var tn=Ni.apply(d,null==wi._args?[wi]:[wi].concat(wi._args));return!1===tn&&(wi.preventDefault(),wi.stopPropagation()),tn}},hi.i=ti.length,ti.push(hi),"addEventListener"in d&&d.addEventListener(ae(hi.e),hi.proxy,R(hi,nt))})}(ui,d,_,r,g,nt||ne)}))},off:function vn(d,g,r){var _=this;return d&&!Tr(d)?(_i.each(d,function(P,ne){_.off(P,g,ne)}),_):(!Tr(g)&&!_r(r)&&!1!==r&&(r=g,g=void 0),!1===r&&(r=fn),_.each(function(){Oe(this,d,r,g)}))},show:function ia(d,g){return ta.call(this),void 0===d?d=0:this.css("opacity",0),Nr(this,d,1,"1,1",g)},hide:function ro(d,g){return void 0===d?Bs.call(this):function rr(d,g,r,_){return Nr(d,g,0,r,function(){Bs.call(_i(this)),_&&_.call(this)})}(this,d,"0,0",g)},anim:function as(d,g,r,_,P){var ne,St,hi,nt={},ti="",ui=this,Ni=_i.fx.transitionEnd,wi=!1;if(void 0===g&&(g=_i.fx.speeds._default/1e3),void 0===P&&(P=0),_i.fx.off&&(g=0),"string"==typeof d)nt[Xi]=d,nt[go]=g+"s",nt[ws]=P+"s",nt[$r]=r||"linear",Ni=_i.fx.animationEnd;else{for(ne in St=[],d)Va.test(ne)?ti+=ne+"("+d[ne]+") ":(nt[ne]=d[ne],St.push(ea(ne)));ti&&(nt[Ns]=ti,St.push(Ns)),g>0&&"object"==typeof d&&(nt[Nl]=St.join(", "),nt[_a]=g+"s",nt[qs]=P+"s",nt[rs]=r||"linear")}return hi=function(tn){if(typeof tn<"u"){if(tn.target!==tn.currentTarget)return;_i(tn.target).off(Ni,hi)}else _i(this).off(Ni,hi);wi=!0,_i(this).css(ss),_&&_.call(this)},g>0&&(this.on(Ni,hi),setTimeout(function(){wi||hi.call(ui)},1e3*(g+P)+25)),this.size()&&this.get(0),this.css(nt),g<=0&&setTimeout(function(){ui.each(function(){hi.call(this)})},0),this},animate:function ba(d,g,r,_,P){return _r(g)&&(_=g,r=void 0,g=void 0),_r(r)&&(_=r,r=void 0),vr(g)&&(r=g.easing,_=g.complete,P=g.delay,g=g.duration),g&&(g=("number"==typeof g?g:_i.fx.speeds[g]||_i.fx.speeds._default)/1e3),P&&(P=parseFloat(P)/1e3),this.anim(d,g,r,_,P)},fadeTo:function Cs(d,g,r){return Nr(this,d,g,null,r)},fadeIn:function Nn(d,g){var r=this.css("opacity");return r>0?this.css("opacity",0):r=1,ta.call(this).fadeTo(d,r,g)}};_i.extend({isPlainObject:vr,isArray:bo,isFunction:_r,noop:function Q(){}}),_i.fn.extend(dl);const ln=_i,Mc={draggable:!0,resizable:!0,movable:!0,keyboard:!0,title:!0,modalWidth:320,modalHeight:320,fixedModalSize:!1,initMaximized:!1,gapThreshold:.02,ratioThreshold:.1,minRatio:.05,maxRatio:16,headerToolbar:["maximize","close"],footerToolbar:["zoomIn","zoomOut","prev","fullscreen","next","actualSize","rotateRight"],icons:{minimize:'<svg viewBox="0 0 24 24" class="svg-inline-icon">\n        <path fill="currentColor" d="M20,14H4V10H20"></path>\n      </svg>',maximize:'<svg viewBox="0 0 24 24" class="svg-inline-icon">\n        <path fill="currentColor" d="M4,4H20V20H4V4M6,8V18H18V8H6Z"></path>\n      </svg>',close:'<svg viewBox="0 0 24 24" class="svg-inline-icon">\n        <path fill="currentColor" d="M13.46,12L19,17.54V19H17.54L12,13.46L6.46,19H5V17.54L10.54,12\n        L5,6.46V5H6.46L12,10.54L17.54,5H19V6.46L13.46,12Z"></path>\n      </svg>',zoomIn:'<svg viewBox="0 0 24 24" class="svg-inline-icon">\n        <path fill="currentColor" d="M15.5,14L20.5,19L19,20.5L14,15.5V14.71L13.73,14.43\n        C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3A6.5,6.5 0 0,1 16,9.5\n        C16,11.11 15.41,12.59 14.43,13.73L14.71,14H15.5M9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5\n        C7,5 5,7 5,9.5C5,12 7,14 9.5,14M12,10H10V12H9V10H7V9H9V7H10V9H12V10Z"></path>\n      </svg>',zoomOut:'<svg viewBox="0 0 24 24" class="svg-inline-icon">\n        <path fill="currentColor" d="M15.5,14H14.71L14.43,13.73C15.41,12.59 16,11.11 16,9.5\n        A6.5,6.5 0 0,0 9.5,3A6.5,6.5 0 0,0 3,9.5A6.5,6.5 0 0,0 9.5,16\n        C11.11,16 12.59,15.41 13.73,14.43L14,14.71V15.5L19,20.5L20.5,19L15.5,14M9.5,14\n        C7,14 5,12 5,9.5C5,7 7,5 9.5,5C12,5 14,7 14,9.5C14,12 12,14 9.5,14M7,9H12V10H7V9Z"></path>\n      </svg>',prev:'<svg viewBox="0 0 24 24" class="svg-inline-icon">\n        <path fill="currentColor" d="M6,18V6H8V18H6M9.5,12L18,6V18L9.5,12Z"></path>\n      </svg>',next:'<svg viewBox="0 0 24 24" class="svg-inline-icon">\n        <path fill="currentColor" d="M16,18H18V6H16M6,18L14.5,12L6,6V18Z"></path>\n      </svg>',fullscreen:'<svg viewBox="0 0 24 24" class="svg-inline-icon">\n        <path fill="currentColor" d="M8.5,12.5L11,15.5L14.5,11L19,17H5M23,18V6A2,2 0 0,0 21,4H3\n        A2,2 0 0,0 1,6V18A2,2 0 0,0 3,20H21A2,2 0 0,0 23,18Z"></path>\n      </svg>',actualSize:'<svg viewBox="0 0 24 24" class="svg-inline-icon">\n        <path fill="currentColor" d="M9.5,13.09L10.91,14.5L6.41,19H10V21H3V14H5V17.59L9.5,13.09\n        M10.91,9.5L9.5,10.91L5,6.41V10H3V3H10V5H6.41L10.91,9.5M14.5,13.09L19,17.59V14H21V21H14V19\n        H17.59L13.09,14.5L14.5,13.09M13.09,9.5L17.59,5H14V3H21V10H19V6.41L14.5,10.91\n        L13.09,9.5Z"></path>\n      </svg>',rotateLeft:'<svg viewBox="0 0 24 24" class="svg-inline-icon">\n        <path fill="currentColor" d="M13,4.07V1L8.45,5.55L13,10V6.09C15.84,6.57 18,9.03 18,12\n        C18,14.97 15.84,17.43 13,17.91V19.93C16.95,19.44 20,16.08 20,12C20,7.92 16.95,4.56 13,4.07\n        M7.1,18.32C8.26,19.22 9.61,19.76 11,19.93V17.9C10.13,17.75 9.29,17.41 8.54,16.87L7.1,18.32\n        M6.09,13H4.07C4.24,14.39 4.79,15.73 5.69,16.89L7.1,15.47C6.58,14.72 6.23,13.88 6.09,13\n        M7.11,8.53L5.7,7.11C4.8,8.27 4.24,9.61 4.07,11H6.09C6.23,10.13 6.58,9.28 7.11,8.53Z"></path>\n      </svg>',rotateRight:'<svg viewBox="0 0 24 24" class="svg-inline-icon">\n        <path fill="currentColor" d="M16.89,15.5L18.31,16.89C19.21,15.73 19.76,14.39 19.93,13H17.91\n        C17.77,13.87 17.43,14.72 16.89,15.5M13,17.9V19.92C14.39,19.75 15.74,19.21 16.9,18.31\n        L15.46,16.87C14.71,17.41 13.87,17.76 13,17.9M19.93,11C19.76,9.61 19.21,8.27 18.31,7.11\n        L16.89,8.53C17.43,9.28 17.77,10.13 17.91,11M15.55,5.55L11,1V4.07C7.06,4.56 4,7.92 4,12\n        C4,16.08 7.05,19.44 11,19.93V17.91C8.16,17.43 6,14.97 6,12C6,9.03 8.16,6.57 11,6.09V10\n        L15.55,5.55Z"></path>\n      </svg>'},i18n:{minimize:"Minimize",maximize:"Maximize (Alt+X)",close:"Close (Q)",zoomIn:"Zoom-in (+)",zoomOut:"Zoom-out (-)",prev:"Prev (\u2190)",next:"Next (\u2192)",fullscreen:"Fullscreen (F)",actualSize:"Actual-size (Ctrl+Alt+0)",rotateLeft:"Rotate-left (Ctrl+,)",rotateRight:"Rotate-right (Ctrl+.)"},multiInstances:!0,initAnimation:!0,animationDuration:400,animationEasing:"ease-in-out",fixedModalPos:!1,zIndex:1090,dragHandle:null,callbacks:{beforeOpen:ln.noop,opened:ln.noop,beforeClose:ln.noop,closed:ln.noop,beforeChange:ln.noop,changed:ln.noop},index:0,progressiveLoading:!0,appendTo:"body",customButtons:{},positionFixed:!0,initModalPos:null,errorMsg:""},jo=window.document;function Wr(d,g,r,_){const P=_?d.h:d.w,ne=_?d.w:d.h;(ne>g.h||P>g.w)&&r.addClass("is-grab"),ne<=g.h&&P<=g.w&&r.removeClass("is-grab")}function oa(){return!!("ontouchstart"in window||window.DocumentTouch&&jo instanceof window.DocumentTouch)}function Hs(d){return/^(?:body|html)$/i.test(d.nodeName)}function M(d,g){return g.reduce((r,_)=>r+parseFloat(d.css(_)),0)}function S(d){return"border-box"===d.css("box-sizing")}function v(d,g,r,_,P){let ne=1;return ne=P?Math.min(r/g,_/d,1):Math.min(r/d,_/g,1),ne}const L=ln(window),ie=ln(jo),Ce="click",Ti=oa()?"touchstart":"mousedown",Ai=oa()?"touchmove":"mousemove",yn=oa()?"touchend":"mouseup",Hi="photoviewer",Kn="."+Hi,wn="."+Hi,Bo={isMoving:!1,isResizing:!1,zIndex:0},ya=`html, body, .${Hi}-modal, .${Hi}-stage, .${Hi}-button, .${Hi}-resizable-handle`,Ms=`html, body, .${Hi}-modal, .${Hi}-stage, .${Hi}-button`;let cs=(()=>{class d{static instances=[];isOpened=!1;isMaximized=!1;isRotated=!1;rotationDegree=0;imageData={};modalData={width:null,height:null,left:null,top:null};prevIndex=null;_lastTimestamp=0;constructor(r,_){this.init(r,_)}init(r,_){this.options=ln.extend(!0,{},Mc,_),_&&ln.isArray(_.footerToolbar)&&(this.options.footerToolbar=_.footerToolbar),_&&ln.isArray(_.headerToolbar)&&(this.options.headerToolbar=_.headerToolbar),Bo.zIndex=0===Bo.zIndex?this.options.zIndex:Bo.zIndex,this.open(),this.images=r,this.index=this.options.index,this._loadImage(this.index),this.options.draggable&&this.draggable(this.$photoviewer,this.dragHandle,Kn+"-button"),this.options.movable&&this.movable(this.$stage,this.$image),this.options.resizable&&this.resizable(this.$photoviewer,this.$stage,this.$image,this.options)}_createBtns(r){const _=["minimize","maximize","close","zoomIn","zoomOut","prev","next","fullscreen","actualSize","rotateLeft","rotateRight"];let P="";return ln.each(r,(ne,nt)=>{const St=`${Hi}-button ${Hi}-button-${nt}`;_.indexOf(nt)>=0?P+=`<button class="${St}" title="${this.options.i18n[nt]}">\n          ${this.options.icons[nt]}\n          </button>`:this.options.customButtons[nt]&&(P+=`<button class="${St}" title="${this.options.customButtons[nt].title||""}">\n          ${this.options.customButtons[nt].text}\n          </button>`)}),P}_createTitle(){return this.options.title?`<div class="${Hi}-title"></div>`:""}_createTemplate(){return`<div class="${Hi}-modal" tabindex="0" role="dialog">\n        <div class="${Hi}-inner">\n          <div class="${Hi}-header">\n            <div class="${Hi}-toolbar ${Hi}-toolbar-header">\n            ${this._createBtns(this.options.headerToolbar)}\n            </div>\n            ${this._createTitle()}\n          </div>\n          <div class="${Hi}-stage">\n            <img class="${Hi}-image" src="" alt="" />\n          </div>\n          <div class="${Hi}-footer">\n            <div class="${Hi}-toolbar ${Hi}-toolbar-footer">\n            ${this._createBtns(this.options.footerToolbar)}\n            </div>\n          </div>\n        </div>\n      </div>`.replace(/>\s+</g,"><")}_build(){const r=this._createTemplate(),_=ln(r);this.$photoviewer=_,this.$stage=_.find(Kn+"-stage"),this.$title=_.find(Kn+"-title"),this.$image=_.find(Kn+"-image"),this.$close=_.find(Kn+"-button-close"),this.$maximize=_.find(Kn+"-button-maximize"),this.$minimize=_.find(Kn+"-button-minimize"),this.$zoomIn=_.find(Kn+"-button-zoomIn"),this.$zoomOut=_.find(Kn+"-button-zoomOut"),this.$actualSize=_.find(Kn+"-button-actualSize"),this.$fullscreen=_.find(Kn+"-button-fullscreen"),this.$rotateLeft=_.find(Kn+"-button-rotateLeft"),this.$rotateRight=_.find(Kn+"-button-rotateRight"),this.$prev=_.find(Kn+"-button-prev"),this.$next=_.find(Kn+"-button-next"),this.$photoviewer.css("z-index",Bo.zIndex),this.options.positionFixed&&this.$photoviewer.css({position:"fixed"}),this.dragHandle=this.options.dragHandle&&this.options.dragHandle!==Kn+"-modal"?this.$photoviewer.find(this.options.dragHandle):this.$photoviewer,ln(this.options.appendTo).eq(0).append(this.$photoviewer),this._stageEdgeValue={horizontal:M(this.$stage,["left","right","border-left-width","border-right-width"]),vertical:M(this.$stage,["top","bottom","border-top-width","border-bottom-width"])},this._modalEdgeValue={horizontal:M(this.$photoviewer,["padding-left","padding-right","border-left-width","border-right-width"]),vertical:M(this.$photoviewer,["padding-top","padding-bottom","border-top-width","border-bottom-width"])},this._addEvents(),this._addCustomButtonEvents()}open(){this._triggerHook("beforeOpen",this),!this.options.multiInstances&&d.instances.length>0&&d.instances[0].close(),this._build(),this._setInitModalPos(),d.instances.push(this),this._triggerHook("opened",this)}close(){this._triggerHook("beforeClose",this),this.$photoviewer.remove(),d.instances=d.instances.filter(r=>r!==this),0===d.instances.length&&(Bo.zIndex=this.options.zIndex,L.off("resize"+wn)),this._triggerHook("closed",this)}_getOffsetParentData(){const r=ln(this.options.appendTo)[0];return{width:this.options.positionFixed||Hs(r)?L.width():r.clientWidth,height:this.options.positionFixed||Hs(r)?L.height():r.clientHeight,scrollLeft:this.options.positionFixed?0:Hs(r)?ie.scrollLeft():r.scrollLeft,scrollTop:this.options.positionFixed?0:Hs(r)?ie.scrollTop():r.scrollTop}}_setModalToCenter(){let r,_,P,ne,nt=0,St=0;if(S(this.$photoviewer)||(nt+=this._modalEdgeValue.horizontal,St+=this._modalEdgeValue.vertical),ln.isPlainObject(this.options.initModalPos))r=this.options.initModalPos.left,_=this.options.initModalPos.top,P=this.options.initModalPos.right,ne=this.options.initModalPos.bottom;else{const ui=this._getOffsetParentData();r=(ui.width-this.options.modalWidth-nt)/2+ui.scrollLeft,_=(ui.height-this.options.modalHeight-St)/2+ui.scrollTop}this.$photoviewer.css({width:this.modalData.width||this.options.modalWidth,height:this.modalData.height||this.options.modalHeight,left:this.modalData.left||r,top:this.modalData.top||_,right:this.modalData.right||P,bottom:this.modalData.bottom||ne})}_setInitModalPos(){this.options.initMaximized?(this.maximize(),this.isOpened=!0):this._setModalToCenter(),this.$photoviewer[0].focus()}_setModalSize(){let r=this.imageData.originalWidth+this._stageEdgeValue.horizontal,_=this.imageData.originalHeight+this._stageEdgeValue.vertical,P=0,ne=0;S(this.$photoviewer)?(r+=this._modalEdgeValue.horizontal,_+=this._modalEdgeValue.vertical):(P+=this._modalEdgeValue.horizontal,ne+=this._modalEdgeValue.vertical);const nt=this._getOffsetParentData(),St=Math.max(this.options.gapThreshold,0)+1,ti=Math.min(nt.width/((r+P)*St),nt.height/((_+ne)*St),1);let Ni,wi,tn,Cn,ui=Math.max(r*ti,this.options.modalWidth),hi=Math.max(_*ti,this.options.modalHeight);ui=this.options.fixedModalSize?this.options.modalWidth:Math.round(ui),hi=this.options.fixedModalSize?this.options.modalHeight:Math.round(hi),ln.isPlainObject(this.options.initModalPos)?(Ni=this.options.initModalPos.left,wi=this.options.initModalPos.top,tn=this.options.initModalPos.right,Cn=this.options.initModalPos.bottom):(Ni=(nt.width-ui-P)/2+nt.scrollLeft,wi=(nt.height-hi-ne)/2+nt.scrollTop);const $i={width:ui,height:hi,left:Ni,top:wi,right:tn,bottom:Cn};this.options.initAnimation?this.$photoviewer.animate($i,this.options.animationDuration,this.options.animationEasing,()=>{this._setImageSize()}):(this.$photoviewer.css($i),this._setImageSize()),this.isOpened=!0}_setImageSize(){const r=this.$stage.width(),_=this.$stage.height(),{originalWidth:P,originalHeight:ne}=this.imageData,nt=v(P,ne,r,_,this.isRotated),St=P*nt,ti=ne*nt;this.$image.css({width:Math.round(St),height:Math.round(ti),left:(r-Math.round(St))/2,top:(_-Math.round(ti))/2}),ln.extend(this.imageData,{initWidth:St,initHeight:ti,initLeft:(r-St)/2,initTop:(_-ti)/2,width:St,height:ti,left:(r-St)/2,top:(_-ti)/2}),Wr({w:St,h:ti},{w:r,h:_},this.$stage,this.isRotated),this.imageLoaded||(this.$photoviewer.find(Kn+"-loader").remove(),this.$stage.removeClass(Hi+"-align-center"),this.options.initAnimation&&!this.options.progressiveLoading&&this.$image.fadeIn(),this.imageLoaded=!0,this._triggerHook("changed",[this,this.index]))}_loadImage(r){this.imageLoaded=!1,this._triggerHook("beforeChange",[this,this.prevIndex]),this._removeErrorMsg(),this.$image.removeAttr("style").attr("src",""),this.isRotated=!1,this.rotationDegree=0,this.$photoviewer.append(`<div class="${Hi}-loader"></div>`),this.$stage.addClass(Hi+"-align-center"),this.options.initAnimation&&!this.options.progressiveLoading&&this.$image.hide();const _=null==this.images[r]?.src?"":this.images[r].src.toString();this.$image.attr("src",_);const P=this.images[r]?.title||function ls(d){return d.replace(/^.*?\/*([^/?]*)\.[a-z]+(\?.+|$)/gi,"$1")}(_);this.options.title&&this.$title.html(P),this.$image.attr("alt",P),function Ha(d,g,r){const _=new Image;_.onload=function(){g(_)},_.onerror=function(){r(_)},_.src=d}(_,ne=>{this.imageData={originalWidth:ne.width,originalHeight:ne.height},this.isMaximized||this.isOpened&&this.options.fixedModalPos?this._setImageSize():this._setModalSize()},()=>{this.$photoviewer.find(Kn+"-loader").remove(),this._triggerHook("changed",[this,r]),this._setErrorMsg()})}_setErrorMsg(){const r=ln.isFunction(this.options.errorMsg)?this.options.errorMsg(this,this.index):this.options.errorMsg;r&&(this.$stage.append(`<span class="${Hi}-error-msg">${r}</span>`),this.$image.addClass(Hi+"-image-error"))}_removeErrorMsg(){this.$stage.find(Kn+"-error-msg").remove(),this.$image.removeClass(Hi+"-image-error")}jump(r){const _=Date.now();_-this._lastTimestamp>=this.options.animationDuration&&(this.jumpTo(this.index+r),this._lastTimestamp=_)}jumpTo(r){this.prevIndex=this.index;let _=r%this.images.length;_<=0&&(_=(_+this.images.length)%this.images.length),this.index=_,this._loadImage(this.index)}_wheel(r){r.preventDefault();let _=1;r.deltaY?_=r.deltaY>0?1:-1:r.wheelDelta?_=-r.wheelDelta/120:r.detail&&(_=r.detail>0?1:-1);const P=-_*this.options.ratioThreshold,ne={x:r.clientX-this.$stage.offset().left+ie.scrollLeft(),y:r.clientY-this.$stage.offset().top+ie.scrollTop()};this.zoom(P,ne)}zoom(r,_){r=r<0?1/(1-r):1+r,!((r=this.$image.width()/this.imageData.originalWidth*r)>this.options.maxRatio||r<this.options.minRatio)&&this.zoomTo(r,_)}zoomTo(r,_){const{originalWidth:P,originalHeight:ne,width:nt,height:St,left:ti,top:ui,initWidth:hi}=this.imageData,Ni=this.$stage.width(),wi=this.$stage.height();void 0===_&&(_={x:Ni/2,y:wi/2});const tn=P*r,Cn=ne*r;let $i=_.x-(_.x-ti)/nt*tn,h=_.y-(_.y-ui)/St*Cn;const u=this.isRotated?(tn-Cn)/2:0,a=this.isRotated?Cn:tn,f=this.isRotated?tn:Cn,k=Ni-tn,oe=wi-Cn;$i=a<=Ni?k/2:$i>-u?-u:Math.max($i,k+u),h=f<=wi?oe/2:h>u?u:Math.max(h,oe-u),Math.abs(hi-tn)<.05*hi?this._setImageSize():(this.$image.css({width:Math.round(tn),height:Math.round(Cn),left:Math.round($i),top:Math.round(h)}),Wr({w:Math.round(a),h:Math.round(f)},{w:Ni,h:wi},this.$stage)),ln.extend(this.imageData,{width:tn,height:Cn,left:$i,top:h})}rotate(r){this.rotationDegree=this.rotationDegree+r,this.isRotated=this.rotationDegree/90%2!=0,this.rotateTo(this.rotationDegree)}rotateTo(r){this.$image.css({transform:"rotate("+r+"deg)"}),this._setImageSize()}maximize(){this.$photoviewer.addClass(Hi+"-maximized"),this.$photoviewer.css({width:"auto",height:"auto",top:0,right:0,bottom:0,left:0}),this.isMaximized=!0}exitMaximize(){this.$photoviewer.removeClass(Hi+"-maximized"),this._setModalToCenter(),this.isMaximized=!1}toggleMaximize(){if(this.isMaximized)this.exitMaximize();else{let r=this.$photoviewer.width(),_=this.$photoviewer.height();S(this.$photoviewer)&&(r+=this._modalEdgeValue.horizontal,_+=this._modalEdgeValue.vertical),this.modalData={width:r,height:_,left:parseFloat(this.$photoviewer.css("left")),top:parseFloat(this.$photoviewer.css("top"))},this.maximize()}this._setImageSize(),this.$photoviewer[0].focus()}fullscreen(){(function Do(d){d.requestFullscreen?d.requestFullscreen():d.mozRequestFullScreen?d.mozRequestFullScreen():d.webkitRequestFullscreen?d.webkitRequestFullscreen():d.msRequestFullscreen&&d.msRequestFullscreen()})(this.$photoviewer[0]),this.$photoviewer[0].focus()}resize(){this.isOpened&&(this.isMaximized?this._setImageSize():this._setModalSize())}_keydown(r){if(!this.options.keyboard)return;const P=r.ctrlKey||r.metaKey,ne=r.altKey;switch(r.keyCode||r.which||r.charCode){case 37:this.jump(-1);break;case 39:this.jump(1);break;case 187:case 61:this.zoom(3*this.options.ratioThreshold,{x:this.$stage.width()/2,y:this.$stage.height()/2},r);break;case 189:case 173:this.zoom(3*-this.options.ratioThreshold,{x:this.$stage.width()/2,y:this.$stage.height()/2},r);break;case 48:P&&ne&&this.zoomTo(1,{x:this.$stage.width()/2,y:this.$stage.height()/2},r);break;case 188:P&&(r.preventDefault(),this.rotate(-90));break;case 190:P&&this.rotate(90);break;case 81:this.close();break;case 88:ne&&this.toggleMaximize();break;case 70:this.fullscreen()}}_addEvents(){this.$close.on(Ce+wn,()=>{this.close()}),this.$stage.on("wheel mousewheel DOMMouseScroll"+wn,r=>{this._wheel(r)}),this.$zoomIn.on(Ce+wn,()=>{this.zoom(3*this.options.ratioThreshold)}),this.$zoomOut.on(Ce+wn,()=>{this.zoom(3*-this.options.ratioThreshold)}),this.$actualSize.on(Ce+wn,()=>{this.zoomTo(1)}),this.$prev.on(Ce+wn,()=>{this.jump(-1)}),this.$next.on(Ce+wn,()=>{this.jump(1)}),this.$rotateLeft.on(Ce+wn,()=>{this.rotate(-90)}),this.$rotateRight.on(Ce+wn,()=>{this.rotate(90)}),this.$maximize.on(Ce+wn,()=>{this.toggleMaximize()}),this.$fullscreen.on(Ce+wn,()=>{this.fullscreen()}),this.$photoviewer.on("keydown"+wn,r=>{this._keydown(r)}),L.on("resize"+wn,function Ds(d,g){let r=null;return function(){const _=this,P=arguments;clearTimeout(r),r=setTimeout(function(){d.apply(_,P)},g)}}(()=>this.resize(),500))}_addCustomButtonEvents(){for(const r in this.options.customButtons)this.$photoviewer.find(Kn+"-button-"+r).on(Ce+wn,_=>{this.options.customButtons[r].click.apply(this,[this,_])})}_triggerHook(r,_){this.options.callbacks[r]&&this.options.callbacks[r].apply(this,ln.isArray(_)?_:[_])}}return d})();ln.extend(cs.prototype,{draggable:function mr(d,g,r){let _=0,P=0,ne=0,nt=0;const ti=hi=>{(hi=hi||window.event).preventDefault(),Bo.isMoving||Bo.isResizing||this.isMaximized||d.css({left:("touchmove"===hi.type?hi.targetTouches[0].pageX:hi.clientX)-_+ne,top:("touchmove"===hi.type?hi.targetTouches[0].pageY:hi.clientY)-P+nt})},ui=()=>{ie.off(Ai+wn,ti).off(yn+wn,ui)};ln(g).on(Ti+wn,hi=>{if(hi=hi||window.event,d[0].focus(),ln(hi.target).closest(r).length)return!0;this.options.multiInstances&&d.css("z-index",++Bo.zIndex),_="touchstart"===hi.type?hi.targetTouches[0].pageX:hi.clientX,P="touchstart"===hi.type?hi.targetTouches[0].pageY:hi.clientY,ne=parseFloat(d.css("left")),nt=parseFloat(d.css("top")),d.css({left:ne,top:nt,right:"",bottom:""}),ie.on(Ai+wn,ti).on(yn+wn,ui)})}},{movable:function vo(d,g){let r=0,_=0,P=0,ne=0,nt=0,St=0,ti=0;const hi=wi=>{(wi=wi||window.event).preventDefault();const $i=("touchmove"===wi.type?wi.targetTouches[0].pageX:wi.clientX)-r,h=("touchmove"===wi.type?wi.targetTouches[0].pageY:wi.clientY)-_;let u=$i+P,a=h+ne;St>0?h+ne>ti?a=ti:h+ne<-St+ti&&(a=-St+ti):a=ne,nt>0?$i+P>-ti?u=-ti:$i+P<-nt-ti&&(u=-nt-ti):u=P,g.css({left:u,top:a}),ln.extend(this.imageData,{left:u,top:a})},Ni=()=>{ie.off(Ai+wn,hi).off(yn+wn,Ni),Bo.isMoving=!1,ln(ya).removeClass("is-grabbing")};d.on(Ti+wn,wi=>{(wi=wi||window.event).preventDefault();const tn=g.width(),Cn=g.height(),$i=d.width(),h=d.height();r="touchstart"===wi.type?wi.targetTouches[0].pageX:wi.clientX,_="touchstart"===wi.type?wi.targetTouches[0].pageY:wi.clientY,ti=this.isRotated?(tn-Cn)/2:0,nt=this.isRotated?Cn-$i:tn-$i,St=this.isRotated?tn-h:Cn-h,Bo.isMoving=nt>0||St>0,P=g.position().left-ti,ne=g.position().top+ti,d.hasClass("is-grab")&&ln(ya).addClass("is-grabbing"),ie.on(Ai+wn,hi).on(yn+wn,Ni)})}},{resizable:function ra(d,g,r,_){const P=ln(`<div class="${Hi}-resizable-handle ${Hi}-resizable-handle-e"></div>`),ne=ln(`<div class="${Hi}-resizable-handle ${Hi}-resizable-handle-w"></div>`),nt=ln(`<div class="${Hi}-resizable-handle ${Hi}-resizable-handle-s"></div>`),St=ln(`<div class="${Hi}-resizable-handle ${Hi}-resizable-handle-n"></div>`),ti=ln(`<div class="${Hi}-resizable-handle ${Hi}-resizable-handle-se"></div>`),ui=ln(`<div class="${Hi}-resizable-handle ${Hi}-resizable-handle-sw"></div>`),hi=ln(`<div class="${Hi}-resizable-handle ${Hi}-resizable-handle-ne"></div>`),Ni=ln(`<div class="${Hi}-resizable-handle ${Hi}-resizable-handle-nw"></div>`),wi={e:P,s:nt,se:ti,n:St,w:ne,nw:Ni,ne:hi,sw:ui};d.append(P,ne,nt,St,ti,ui,hi,Ni);let tn=0,Cn=0,$i={w:0,h:0,x:0,y:0},h={w:0,h:0,x:0,y:0},u={w:0,h:0,x:0,y:0},a=0,f=0,k=0,oe="";const{modalWidth:Je,modalHeight:Tt}=_,Ri=(Bi,qi)=>{(qi=qi||window.event).preventDefault(),Bo.isResizing=!0,tn="touchstart"===qi.type?qi.targetTouches[0].pageX:qi.clientX,Cn="touchstart"===qi.type?qi.targetTouches[0].pageY:qi.clientY,$i={w:d.width()+(S(d)?this._modalEdgeValue.horizontal:0),h:d.height()+(S(d)?this._modalEdgeValue.vertical:0),x:d.position().left,y:d.position().top},h={w:g.width(),h:g.height(),x:g.position().left,y:g.position().top},u={w:r.width(),h:r.height(),x:r.position().left,y:r.position().top},a=this.isRotated?(u.w-u.h)/2:0,f=this.isRotated?u.h:u.w,k=this.isRotated?u.w:u.h,oe=Bi,ln(Ms).css("cursor",Bi+"-resize"),ie.on(Ai+wn,hn).on(yn+wn,so)},hn=Bi=>{if((Bi=Bi||window.event).preventDefault(),!this.isMaximized){const Qn=("touchmove"===Bi.type?Bi.targetTouches[0].pageX:Bi.clientX)-tn,po=("touchmove"===Bi.type?Bi.targetTouches[0].pageY:Bi.clientY)-Cn,Ui=((Bi,qi,mo)=>{const Qn=-qi+$i.w>Je?qi+$i.x:$i.x+$i.w-Je,po=-mo+$i.h>Tt?mo+$i.y:$i.y+$i.h-Tt;return{e:{width:Math.max(qi+$i.w,Je)},s:{height:Math.max(mo+$i.h,Tt)},se:{width:Math.max(qi+$i.w,Je),height:Math.max(mo+$i.h,Tt)},w:{width:Math.max(-qi+$i.w,Je),left:Qn},n:{height:Math.max(-mo+$i.h,Tt),top:po},nw:{width:Math.max(-qi+$i.w,Je),height:Math.max(-mo+$i.h,Tt),top:po,left:Qn},ne:{width:Math.max(qi+$i.w,Je),height:Math.max(-mo+$i.h,Tt),top:po},sw:{width:Math.max(-qi+$i.w,Je),height:Math.max(mo+$i.h,Tt),left:Qn}}[Bi]})(oe,Qn,po);d.css(Ui);const sr=((Bi,qi,mo)=>{const Qn=qi+$i.w>Je?h.w-f+qi-a:Je-($i.w-h.w)-f-a,po=mo+$i.h>Tt?h.h-k+mo+a:Tt-($i.h-h.h)-k+a,Ui=-qi+$i.w>Je?h.w-f-qi-a:Je-($i.w-h.w)-f-a,sr=-mo+$i.h>Tt?h.h-k-mo+a:Tt-($i.h-h.h)-k+a,rl=r.position().left,Oa=r.position().top,bc=(Qn>0?rl:Math.min(rl,0))-a,vc=(po>0?Oa:Math.min(Oa,0))+a,Pl=(Ui>0?rl:Math.min(rl,0))-a,da=(sr>0?Oa:Math.min(Oa,0))+a;return{e:{left:Qn>=-a?(Qn-a)/2:Math.max(bc,Qn)},s:{top:po>=a?(po+a)/2:Math.max(vc,po)},se:{top:po>=a?(po+a)/2:Math.max(vc,po),left:Qn>=-a?(Qn-a)/2:Math.max(bc,Qn)},w:{left:Ui>=-a?(Ui-a)/2:Math.max(Pl,Ui)},n:{top:sr>=a?(sr+a)/2:Math.max(da,sr)},nw:{top:sr>=a?(sr+a)/2:Math.max(da,sr),left:Ui>=-a?(Ui-a)/2:Math.max(Pl,Ui)},ne:{top:sr>=a?(sr+a)/2:Math.max(da,sr),left:Qn>=-a?(Qn-a)/2:Math.max(bc,Qn)},sw:{top:po>=a?(po+a)/2:Math.max(vc,po),left:Ui>=-a?(Ui-a)/2:Math.max(Pl,Ui)}}[Bi]})(oe,Qn,po);r.css(sr)}},so=()=>{ie.off(Ai+wn,hn).off(yn+wn,so);const Bi=g.width(),qi=g.height();Bo.isResizing&&Wr({w:f,h:k},{w:Bi,h:qi},g),Bo.isResizing=!1,ln(Ms).css("cursor","");const{originalWidth:mo,originalHeight:Qn}=this.imageData,po=v(mo,Qn,Bi,qi,this.isRotated),Ui=mo*po,sr=Qn*po;ln.extend(this.imageData,{initWidth:Ui,initHeight:sr,initLeft:(Bi-Ui)/2,initTop:(qi-sr)/2})};ln.each(wi,function(Bi,qi){qi.on(Ti+wn,function(mo){Ri(Bi,mo)})})}});const Vl=cs;var zs=p(5191);function ul(d,g){if(1&d&&(e._UZ(0,"span",3),e.ALo(1,"cellSummary"),e.ALo(2,"cellSummary")),2&d){const r=e.oxw();e.Q6J("title",r._getFormatterTooltip(e.xi3(1,2,r.data,r.colDef)))("innerHTML",r._getText(e.xi3(2,5,r.data,r.colDef)),e.oJD)}}function hl(d,g){if(1&d&&e._UZ(0,"span",3),2&d){const r=e.oxw(2);e.Q6J("title",r._getFormatterTooltip(r.colDef.formatter(r.rowData,r.colDef)))("innerHTML",r._getText(r.colDef.formatter(r.rowData,r.colDef)),e.oJD)}}function Ec(d,g){if(1&d&&e.YNc(0,hl,1,2,"span",0),2&d){const r=e.oxw(),_=e.MAs(4);e.Q6J("ngIf",r.colDef.formatter)("ngIfElse",_)}}function Hl(d,g){if(1&d&&(e.TgZ(0,"mat-icon",11),e._uU(1),e.qZA()),2&d){const r=e.oxw(3).$implicit;e.xp6(1),e.Oqu(r.icon)}}const Kr=function(d){return["mtx-grid-action-button",d]};function Ya(d,g){if(1&d){const r=e.EpF();e.ynx(0),e.TgZ(1,"button",9),e.NdJ("click",function(P){e.CHM(r);const ne=e.oxw(2).$implicit,nt=e.oxw(3);return e.KtG(nt._onActionClick(P,ne,nt.rowData))}),e.ALo(2,"cellActionDisable"),e.ALo(3,"async"),e.ALo(4,"toObservable"),e.ALo(5,"cellActionTooltip"),e.ALo(6,"cellActionTooltip"),e.ALo(7,"cellActionTooltip"),e.ALo(8,"cellActionTooltip"),e.ALo(9,"cellActionTooltip"),e.ALo(10,"cellActionTooltip"),e.ALo(11,"cellActionTooltip"),e.ALo(12,"cellActionTooltip"),e.ALo(13,"async"),e.ALo(14,"toObservable"),e.ALo(15,"cellActionBadge"),e.ALo(16,"async"),e.ALo(17,"toObservable"),e.ALo(18,"cellActionBadge"),e.ALo(19,"cellActionBadge"),e.ALo(20,"cellActionBadge"),e.ALo(21,"cellActionBadge"),e.ALo(22,"cellActionBadge"),e.ALo(23,"cellActionBadge"),e.ALo(24,"cellActionBadge"),e.YNc(25,Hl,2,1,"mat-icon",10),e.TgZ(26,"span"),e._uU(27),e.ALo(28,"async"),e.ALo(29,"toObservable"),e.qZA()(),e.BQk()}if(2&d){const r=e.oxw(2).$implicit,_=e.oxw(3);e.xp6(1),e.Q6J("color",r.color||"primary")("ngClass",e.VKq(74,Kr,r.class||""))("disabled",e.gM2(2,21,r,_.rowData,_.rowChangeRecord,null==_.rowChangeRecord?null:_.rowChangeRecord.currentValue))("matTooltip",e.lcZ(3,26,e.lcZ(4,28,e.lcZ(5,30,r).message)))("matTooltipClass",e.lcZ(6,32,r).class)("matTooltipHideDelay",e.lcZ(7,34,r).hideDelay)("matTooltipShowDelay",e.lcZ(8,36,r).showDelay)("matTooltipPosition",e.lcZ(9,38,r).position||"below")("matTooltipPositionAtOrigin",e.lcZ(10,40,r).positionAtOrigin)("matTooltipTouchGestures",e.lcZ(11,42,r).touchGestures||"auto")("matTooltipDisabled",e.lcZ(12,44,r).disabled)("matBadge",e.lcZ(13,46,e.lcZ(14,48,e.lcZ(15,50,r).content)))("matBadgeDescription",e.lcZ(16,52,e.lcZ(17,54,e.lcZ(18,56,r).description)))("matBadgeColor",e.lcZ(19,58,r).color)("matBadgePosition",e.lcZ(20,60,r).position||"above after")("matBadgeSize",e.lcZ(21,62,r).size||"medium")("matBadgeOverlap",e.lcZ(22,64,r).overlap)("matBadgeDisabled",e.lcZ(23,66,r).disabled)("matBadgeHidden",e.lcZ(24,68,r).hidden),e.xp6(24),e.Q6J("ngIf",r.icon),e.xp6(2),e.Oqu(e.lcZ(28,70,e.lcZ(29,72,r.text)))}}function $d(d,g){if(1&d&&(e.TgZ(0,"mat-icon",11),e._uU(1),e.qZA()),2&d){const r=e.oxw(3).$implicit;e.xp6(1),e.Oqu(r.icon)}}function ah(d,g){if(1&d){const r=e.EpF();e.ynx(0),e.TgZ(1,"button",12),e.NdJ("click",function(P){e.CHM(r);const ne=e.oxw(2).$implicit,nt=e.oxw(3);return e.KtG(nt._onActionClick(P,ne,nt.rowData))}),e.ALo(2,"cellActionDisable"),e.ALo(3,"async"),e.ALo(4,"toObservable"),e.ALo(5,"cellActionTooltip"),e.ALo(6,"cellActionTooltip"),e.ALo(7,"cellActionTooltip"),e.ALo(8,"cellActionTooltip"),e.ALo(9,"cellActionTooltip"),e.ALo(10,"cellActionTooltip"),e.ALo(11,"cellActionTooltip"),e.ALo(12,"cellActionTooltip"),e.ALo(13,"async"),e.ALo(14,"toObservable"),e.ALo(15,"cellActionBadge"),e.ALo(16,"async"),e.ALo(17,"toObservable"),e.ALo(18,"cellActionBadge"),e.ALo(19,"cellActionBadge"),e.ALo(20,"cellActionBadge"),e.ALo(21,"cellActionBadge"),e.ALo(22,"cellActionBadge"),e.ALo(23,"cellActionBadge"),e.ALo(24,"cellActionBadge"),e.YNc(25,$d,2,1,"mat-icon",10),e.TgZ(26,"span"),e._uU(27),e.ALo(28,"async"),e.ALo(29,"toObservable"),e.qZA()(),e.BQk()}if(2&d){const r=e.oxw(2).$implicit,_=e.oxw(3);e.xp6(1),e.Q6J("color",r.color||"primary")("ngClass",e.VKq(74,Kr,r.class||""))("disabled",e.gM2(2,21,r,_.rowData,_.rowChangeRecord,null==_.rowChangeRecord?null:_.rowChangeRecord.currentValue))("matTooltip",e.lcZ(3,26,e.lcZ(4,28,e.lcZ(5,30,r).message)))("matTooltipClass",e.lcZ(6,32,r).class)("matTooltipHideDelay",e.lcZ(7,34,r).hideDelay)("matTooltipShowDelay",e.lcZ(8,36,r).showDelay)("matTooltipPosition",e.lcZ(9,38,r).position||"below")("matTooltipPositionAtOrigin",e.lcZ(10,40,r).positionAtOrigin)("matTooltipTouchGestures",e.lcZ(11,42,r).touchGestures||"auto")("matTooltipDisabled",e.lcZ(12,44,r).disabled)("matBadge",e.lcZ(13,46,e.lcZ(14,48,e.lcZ(15,50,r).content)))("matBadgeDescription",e.lcZ(16,52,e.lcZ(17,54,e.lcZ(18,56,r).description)))("matBadgeColor",e.lcZ(19,58,r).color)("matBadgePosition",e.lcZ(20,60,r).position||"above after")("matBadgeSize",e.lcZ(21,62,r).size||"medium")("matBadgeOverlap",e.lcZ(22,64,r).overlap)("matBadgeDisabled",e.lcZ(23,66,r).disabled)("matBadgeHidden",e.lcZ(24,68,r).hidden),e.xp6(24),e.Q6J("ngIf",r.icon),e.xp6(2),e.Oqu(e.lcZ(28,70,e.lcZ(29,72,r.text)))}}function Sc(d,g){if(1&d&&(e.TgZ(0,"mat-icon",11),e._uU(1),e.qZA()),2&d){const r=e.oxw(3).$implicit;e.xp6(1),e.Oqu(r.icon)}}function Zd(d,g){if(1&d){const r=e.EpF();e.ynx(0),e.TgZ(1,"button",13),e.NdJ("click",function(P){e.CHM(r);const ne=e.oxw(2).$implicit,nt=e.oxw(3);return e.KtG(nt._onActionClick(P,ne,nt.rowData))}),e.ALo(2,"cellActionDisable"),e.ALo(3,"async"),e.ALo(4,"toObservable"),e.ALo(5,"cellActionTooltip"),e.ALo(6,"cellActionTooltip"),e.ALo(7,"cellActionTooltip"),e.ALo(8,"cellActionTooltip"),e.ALo(9,"cellActionTooltip"),e.ALo(10,"cellActionTooltip"),e.ALo(11,"cellActionTooltip"),e.ALo(12,"cellActionTooltip"),e.ALo(13,"async"),e.ALo(14,"toObservable"),e.ALo(15,"cellActionBadge"),e.ALo(16,"async"),e.ALo(17,"toObservable"),e.ALo(18,"cellActionBadge"),e.ALo(19,"cellActionBadge"),e.ALo(20,"cellActionBadge"),e.ALo(21,"cellActionBadge"),e.ALo(22,"cellActionBadge"),e.ALo(23,"cellActionBadge"),e.ALo(24,"cellActionBadge"),e.YNc(25,Sc,2,1,"mat-icon",10),e.TgZ(26,"span"),e._uU(27),e.ALo(28,"async"),e.ALo(29,"toObservable"),e.qZA()(),e.BQk()}if(2&d){const r=e.oxw(2).$implicit,_=e.oxw(3);e.xp6(1),e.Q6J("color",r.color||"primary")("ngClass",e.VKq(74,Kr,r.class||""))("disabled",e.gM2(2,21,r,_.rowData,_.rowChangeRecord,null==_.rowChangeRecord?null:_.rowChangeRecord.currentValue))("matTooltip",e.lcZ(3,26,e.lcZ(4,28,e.lcZ(5,30,r).message)))("matTooltipClass",e.lcZ(6,32,r).class)("matTooltipHideDelay",e.lcZ(7,34,r).hideDelay)("matTooltipShowDelay",e.lcZ(8,36,r).showDelay)("matTooltipPosition",e.lcZ(9,38,r).position||"below")("matTooltipPositionAtOrigin",e.lcZ(10,40,r).positionAtOrigin)("matTooltipTouchGestures",e.lcZ(11,42,r).touchGestures||"auto")("matTooltipDisabled",e.lcZ(12,44,r).disabled)("matBadge",e.lcZ(13,46,e.lcZ(14,48,e.lcZ(15,50,r).content)))("matBadgeDescription",e.lcZ(16,52,e.lcZ(17,54,e.lcZ(18,56,r).description)))("matBadgeColor",e.lcZ(19,58,r).color)("matBadgePosition",e.lcZ(20,60,r).position||"above after")("matBadgeSize",e.lcZ(21,62,r).size||"medium")("matBadgeOverlap",e.lcZ(22,64,r).overlap)("matBadgeDisabled",e.lcZ(23,66,r).disabled)("matBadgeHidden",e.lcZ(24,68,r).hidden),e.xp6(24),e.Q6J("ngIf",r.icon),e.xp6(2),e.Oqu(e.lcZ(28,70,e.lcZ(29,72,r.text)))}}function Wd(d,g){if(1&d){const r=e.EpF();e.ynx(0),e.TgZ(1,"button",14),e.NdJ("click",function(P){e.CHM(r);const ne=e.oxw(2).$implicit,nt=e.oxw(3);return e.KtG(nt._onActionClick(P,ne,nt.rowData))}),e.ALo(2,"cellActionDisable"),e.ALo(3,"async"),e.ALo(4,"toObservable"),e.ALo(5,"cellActionTooltip"),e.ALo(6,"cellActionTooltip"),e.ALo(7,"cellActionTooltip"),e.ALo(8,"cellActionTooltip"),e.ALo(9,"cellActionTooltip"),e.ALo(10,"cellActionTooltip"),e.ALo(11,"cellActionTooltip"),e.ALo(12,"cellActionTooltip"),e.ALo(13,"async"),e.ALo(14,"toObservable"),e.ALo(15,"cellActionBadge"),e.ALo(16,"async"),e.ALo(17,"toObservable"),e.ALo(18,"cellActionBadge"),e.ALo(19,"cellActionBadge"),e.ALo(20,"cellActionBadge"),e.ALo(21,"cellActionBadge"),e.ALo(22,"cellActionBadge"),e.ALo(23,"cellActionBadge"),e.ALo(24,"cellActionBadge"),e.TgZ(25,"mat-icon",11),e._uU(26),e.qZA()(),e.BQk()}if(2&d){const r=e.oxw(2).$implicit,_=e.oxw(3);e.xp6(1),e.Q6J("color",r.color||"primary")("ngClass",e.VKq(69,Kr,r.class||""))("disabled",e.gM2(2,20,r,_.rowData,_.rowChangeRecord,null==_.rowChangeRecord?null:_.rowChangeRecord.currentValue))("matTooltip",e.lcZ(3,25,e.lcZ(4,27,e.lcZ(5,29,r).message)))("matTooltipClass",e.lcZ(6,31,r).class)("matTooltipHideDelay",e.lcZ(7,33,r).hideDelay)("matTooltipShowDelay",e.lcZ(8,35,r).showDelay)("matTooltipPosition",e.lcZ(9,37,r).position||"below")("matTooltipPositionAtOrigin",e.lcZ(10,39,r).positionAtOrigin)("matTooltipTouchGestures",e.lcZ(11,41,r).touchGestures||"auto")("matTooltipDisabled",e.lcZ(12,43,r).disabled)("matBadge",e.lcZ(13,45,e.lcZ(14,47,e.lcZ(15,49,r).content)))("matBadgeDescription",e.lcZ(16,51,e.lcZ(17,53,e.lcZ(18,55,r).description)))("matBadgeColor",e.lcZ(19,57,r).color)("matBadgePosition",e.lcZ(20,59,r).position||"above after")("matBadgeSize",e.lcZ(21,61,r).size||"medium")("matBadgeOverlap",e.lcZ(22,63,r).overlap)("matBadgeDisabled",e.lcZ(23,65,r).disabled)("matBadgeHidden",e.lcZ(24,67,r).hidden),e.xp6(25),e.Oqu(r.icon)}}function Kd(d,g){if(1&d){const r=e.EpF();e.ynx(0),e.TgZ(1,"button",15),e.NdJ("click",function(P){e.CHM(r);const ne=e.oxw(2).$implicit,nt=e.oxw(3);return e.KtG(nt._onActionClick(P,ne,nt.rowData))}),e.ALo(2,"cellActionDisable"),e.ALo(3,"async"),e.ALo(4,"toObservable"),e.ALo(5,"cellActionTooltip"),e.ALo(6,"cellActionTooltip"),e.ALo(7,"cellActionTooltip"),e.ALo(8,"cellActionTooltip"),e.ALo(9,"cellActionTooltip"),e.ALo(10,"cellActionTooltip"),e.ALo(11,"cellActionTooltip"),e.ALo(12,"cellActionTooltip"),e.ALo(13,"async"),e.ALo(14,"toObservable"),e.ALo(15,"cellActionBadge"),e.ALo(16,"async"),e.ALo(17,"toObservable"),e.ALo(18,"cellActionBadge"),e.ALo(19,"cellActionBadge"),e.ALo(20,"cellActionBadge"),e.ALo(21,"cellActionBadge"),e.ALo(22,"cellActionBadge"),e.ALo(23,"cellActionBadge"),e.ALo(24,"cellActionBadge"),e.TgZ(25,"mat-icon",11),e._uU(26),e.qZA()(),e.BQk()}if(2&d){const r=e.oxw(2).$implicit,_=e.oxw(3);e.xp6(1),e.Q6J("color",r.color||"primary")("ngClass",e.VKq(69,Kr,r.class||""))("disabled",e.gM2(2,20,r,_.rowData,_.rowChangeRecord,null==_.rowChangeRecord?null:_.rowChangeRecord.currentValue))("matTooltip",e.lcZ(3,25,e.lcZ(4,27,e.lcZ(5,29,r).message)))("matTooltipClass",e.lcZ(6,31,r).class)("matTooltipHideDelay",e.lcZ(7,33,r).hideDelay)("matTooltipShowDelay",e.lcZ(8,35,r).showDelay)("matTooltipPosition",e.lcZ(9,37,r).position||"below")("matTooltipPositionAtOrigin",e.lcZ(10,39,r).positionAtOrigin)("matTooltipTouchGestures",e.lcZ(11,41,r).touchGestures||"auto")("matTooltipDisabled",e.lcZ(12,43,r).disabled)("matBadge",e.lcZ(13,45,e.lcZ(14,47,e.lcZ(15,49,r).content)))("matBadgeDescription",e.lcZ(16,51,e.lcZ(17,53,e.lcZ(18,55,r).description)))("matBadgeColor",e.lcZ(19,57,r).color)("matBadgePosition",e.lcZ(20,59,r).position||"above after")("matBadgeSize",e.lcZ(21,61,r).size||"medium")("matBadgeOverlap",e.lcZ(22,63,r).overlap)("matBadgeDisabled",e.lcZ(23,65,r).disabled)("matBadgeHidden",e.lcZ(24,67,r).hidden),e.xp6(25),e.Oqu(r.icon)}}function xa(d,g){if(1&d){const r=e.EpF();e.ynx(0),e.TgZ(1,"button",16),e.NdJ("click",function(P){e.CHM(r);const ne=e.oxw(2).$implicit,nt=e.oxw(3);return e.KtG(nt._onActionClick(P,ne,nt.rowData))}),e.ALo(2,"cellActionDisable"),e.ALo(3,"async"),e.ALo(4,"toObservable"),e.ALo(5,"cellActionTooltip"),e.ALo(6,"cellActionTooltip"),e.ALo(7,"cellActionTooltip"),e.ALo(8,"cellActionTooltip"),e.ALo(9,"cellActionTooltip"),e.ALo(10,"cellActionTooltip"),e.ALo(11,"cellActionTooltip"),e.ALo(12,"cellActionTooltip"),e.ALo(13,"async"),e.ALo(14,"toObservable"),e.ALo(15,"cellActionBadge"),e.ALo(16,"async"),e.ALo(17,"toObservable"),e.ALo(18,"cellActionBadge"),e.ALo(19,"cellActionBadge"),e.ALo(20,"cellActionBadge"),e.ALo(21,"cellActionBadge"),e.ALo(22,"cellActionBadge"),e.ALo(23,"cellActionBadge"),e.ALo(24,"cellActionBadge"),e.TgZ(25,"mat-icon",11),e._uU(26),e.qZA()(),e.BQk()}if(2&d){const r=e.oxw(2).$implicit,_=e.oxw(3);e.xp6(1),e.Q6J("color",r.color||"primary")("ngClass",e.VKq(69,Kr,r.class||""))("disabled",e.gM2(2,20,r,_.rowData,_.rowChangeRecord,null==_.rowChangeRecord?null:_.rowChangeRecord.currentValue))("matTooltip",e.lcZ(3,25,e.lcZ(4,27,e.lcZ(5,29,r).message)))("matTooltipClass",e.lcZ(6,31,r).class)("matTooltipHideDelay",e.lcZ(7,33,r).hideDelay)("matTooltipShowDelay",e.lcZ(8,35,r).showDelay)("matTooltipPosition",e.lcZ(9,37,r).position||"below")("matTooltipPositionAtOrigin",e.lcZ(10,39,r).positionAtOrigin)("matTooltipTouchGestures",e.lcZ(11,41,r).touchGestures||"auto")("matTooltipDisabled",e.lcZ(12,43,r).disabled)("matBadge",e.lcZ(13,45,e.lcZ(14,47,e.lcZ(15,49,r).content)))("matBadgeDescription",e.lcZ(16,51,e.lcZ(17,53,e.lcZ(18,55,r).description)))("matBadgeColor",e.lcZ(19,57,r).color)("matBadgePosition",e.lcZ(20,59,r).position||"above after")("matBadgeSize",e.lcZ(21,61,r).size||"medium")("matBadgeOverlap",e.lcZ(22,63,r).overlap)("matBadgeDisabled",e.lcZ(23,65,r).disabled)("matBadgeHidden",e.lcZ(24,67,r).hidden),e.xp6(25),e.Oqu(r.icon)}}function Qd(d,g){if(1&d&&(e.TgZ(0,"mat-icon",11),e._uU(1),e.qZA()),2&d){const r=e.oxw(3).$implicit;e.xp6(1),e.Oqu(r.icon)}}function Ts(d,g){if(1&d){const r=e.EpF();e.ynx(0),e.TgZ(1,"button",17),e.NdJ("click",function(P){e.CHM(r);const ne=e.oxw(2).$implicit,nt=e.oxw(3);return e.KtG(nt._onActionClick(P,ne,nt.rowData))}),e.ALo(2,"cellActionDisable"),e.ALo(3,"async"),e.ALo(4,"toObservable"),e.ALo(5,"cellActionTooltip"),e.ALo(6,"cellActionTooltip"),e.ALo(7,"cellActionTooltip"),e.ALo(8,"cellActionTooltip"),e.ALo(9,"cellActionTooltip"),e.ALo(10,"cellActionTooltip"),e.ALo(11,"cellActionTooltip"),e.ALo(12,"cellActionTooltip"),e.ALo(13,"async"),e.ALo(14,"toObservable"),e.ALo(15,"cellActionBadge"),e.ALo(16,"async"),e.ALo(17,"toObservable"),e.ALo(18,"cellActionBadge"),e.ALo(19,"cellActionBadge"),e.ALo(20,"cellActionBadge"),e.ALo(21,"cellActionBadge"),e.ALo(22,"cellActionBadge"),e.ALo(23,"cellActionBadge"),e.ALo(24,"cellActionBadge"),e.YNc(25,Qd,2,1,"mat-icon",10),e.TgZ(26,"span"),e._uU(27),e.ALo(28,"async"),e.ALo(29,"toObservable"),e.qZA()(),e.BQk()}if(2&d){const r=e.oxw(2).$implicit,_=e.oxw(3);e.xp6(1),e.Q6J("color",r.color||"primary")("ngClass",e.VKq(74,Kr,r.class||""))("disabled",e.gM2(2,21,r,_.rowData,_.rowChangeRecord,null==_.rowChangeRecord?null:_.rowChangeRecord.currentValue))("matTooltip",e.lcZ(3,26,e.lcZ(4,28,e.lcZ(5,30,r).message)))("matTooltipClass",e.lcZ(6,32,r).class)("matTooltipHideDelay",e.lcZ(7,34,r).hideDelay)("matTooltipShowDelay",e.lcZ(8,36,r).showDelay)("matTooltipPosition",e.lcZ(9,38,r).position||"below")("matTooltipPositionAtOrigin",e.lcZ(10,40,r).positionAtOrigin)("matTooltipTouchGestures",e.lcZ(11,42,r).touchGestures||"auto")("matTooltipDisabled",e.lcZ(12,44,r).disabled)("matBadge",e.lcZ(13,46,e.lcZ(14,48,e.lcZ(15,50,r).content)))("matBadgeDescription",e.lcZ(16,52,e.lcZ(17,54,e.lcZ(18,56,r).description)))("matBadgeColor",e.lcZ(19,58,r).color)("matBadgePosition",e.lcZ(20,60,r).position||"above after")("matBadgeSize",e.lcZ(21,62,r).size||"medium")("matBadgeOverlap",e.lcZ(22,64,r).overlap)("matBadgeDisabled",e.lcZ(23,66,r).disabled)("matBadgeHidden",e.lcZ(24,68,r).hidden),e.xp6(24),e.Q6J("ngIf",r.icon),e.xp6(2),e.Oqu(e.lcZ(28,70,e.lcZ(29,72,r.text)))}}function wa(d,g){if(1&d&&(e.ynx(0)(1,4),e.YNc(2,Ya,30,76,"ng-container",5),e.YNc(3,ah,30,76,"ng-container",5),e.YNc(4,Zd,30,76,"ng-container",5),e.YNc(5,Wd,27,71,"ng-container",5),e.YNc(6,Kd,27,71,"ng-container",5),e.YNc(7,xa,27,71,"ng-container",5),e.YNc(8,Ts,30,76,"ng-container",6),e.BQk()()),2&d){const r=e.oxw().$implicit;e.xp6(1),e.Q6J("ngSwitch",r.type),e.xp6(1),e.Q6J("ngSwitchCase","raised"),e.xp6(1),e.Q6J("ngSwitchCase","stroked"),e.xp6(1),e.Q6J("ngSwitchCase","flat"),e.xp6(1),e.Q6J("ngSwitchCase","icon"),e.xp6(1),e.Q6J("ngSwitchCase","fab"),e.xp6(1),e.Q6J("ngSwitchCase","mini-fab")}}function Ga(d,g){if(1&d&&(e.ynx(0),e.YNc(1,wa,9,7,"ng-container",8),e.BQk()),2&d){const r=g.$implicit,_=e.oxw(3);e.xp6(1),e.Q6J("ngIf",!r.iif||r.iif(_.rowData))}}function kc(d,g){if(1&d&&(e.ynx(0),e.YNc(1,Ga,2,1,"ng-container",7),e.ALo(2,"cellActions"),e.BQk()),2&d){const r=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",e.gM2(2,1,r.colDef.buttons,r.rowData,r.rowChangeRecord,null==r.rowChangeRecord?null:r.rowChangeRecord.currentValue))}}const lh=function(d){return[d]};function Ac(d,g){if(1&d&&(e.TgZ(0,"mat-chip-listbox")(1,"mat-chip",20),e._uU(2),e.qZA()()),2&d){const r=e.oxw(3);e.xp6(1),e.Q6J("ngClass",e.VKq(2,lh,"bg-"+r.colDef.tag[r._value].color)),e.xp6(1),e.hij(" ",r.colDef.tag[r._value].text," ")}}function ch(d,g){if(1&d&&e._uU(0),2&d){const r=e.oxw(3);e.Oqu(r._value)}}function zl(d,g){if(1&d&&(e.ynx(0),e.YNc(1,Ac,3,4,"mat-chip-listbox",18),e.YNc(2,ch,1,1,"ng-template",null,19,e.W1O),e.BQk()),2&d){const r=e.MAs(3),_=e.oxw(2);e.xp6(1),e.Q6J("ngIf",_.colDef.tag&&_.colDef.tag[_._value])("ngIfElse",r)}}function Jd(d,g){if(1&d&&(e.ynx(0),e.TgZ(1,"a",21),e._uU(2),e.qZA(),e.BQk()),2&d){const r=e.oxw(2);e.xp6(1),e.Q6J("href",r._value,e.LSH),e.xp6(1),e.Oqu(r._value)}}function Ul(d,g){if(1&d){const r=e.EpF();e.ynx(0),e.TgZ(1,"img",22),e.NdJ("click",function(){e.CHM(r);const P=e.oxw(2);return e.KtG(P._onImagePreview(P._value))}),e.qZA(),e.BQk()}if(2&d){const r=e.oxw(2);e.xp6(1),e.Q6J("src",r._value,e.LSH)}}function dh(d,g){if(1&d&&(e.ynx(0),e.TgZ(1,"span",23),e._uU(2),e.qZA(),e.BQk()),2&d){const r=e.oxw(2);e.xp6(1),e.Q6J("title",r._getTooltip(r._value)),e.xp6(1),e.Oqu(r._getText(r._value))}}function uh(d,g){if(1&d&&(e.ynx(0),e.TgZ(1,"span",23),e.ALo(2,"number"),e._uU(3),e.ALo(4,"number"),e.qZA(),e.BQk()),2&d){const r=e.oxw(2);e.xp6(1),e.Q6J("title",r._getTooltip(e.Dn7(2,2,r._value,null==r.colDef.typeParameter?null:r.colDef.typeParameter.digitsInfo,null==r.colDef.typeParameter?null:r.colDef.typeParameter.locale))),e.xp6(2),e.hij(" ",r._getText(e.Dn7(4,6,r._value,null==r.colDef.typeParameter?null:r.colDef.typeParameter.digitsInfo,null==r.colDef.typeParameter?null:r.colDef.typeParameter.locale))," ")}}const ml=function(d,g,r,_,P){return[d,g,r,_,P]};function hh(d,g){if(1&d&&(e.ynx(0),e.TgZ(1,"span",23),e.ALo(2,"currency"),e._uU(3),e.ALo(4,"currency"),e.qZA(),e.BQk()),2&d){const r=e.oxw(2);e.xp6(1),e.Q6J("title",r._getTooltip(e.G7q(2,2,e.qbA(14,ml,r._value,null==r.colDef.typeParameter?null:r.colDef.typeParameter.currencyCode,null==r.colDef.typeParameter?null:r.colDef.typeParameter.display,null==r.colDef.typeParameter?null:r.colDef.typeParameter.digitsInfo,null==r.colDef.typeParameter?null:r.colDef.typeParameter.locale)))),e.xp6(2),e.hij(" ",r._getText(e.G7q(4,8,e.qbA(20,ml,r._value,null==r.colDef.typeParameter?null:r.colDef.typeParameter.currencyCode,null==r.colDef.typeParameter?null:r.colDef.typeParameter.display,null==r.colDef.typeParameter?null:r.colDef.typeParameter.digitsInfo,null==r.colDef.typeParameter?null:r.colDef.typeParameter.locale)))," ")}}function Xd(d,g){if(1&d&&(e.ynx(0),e.TgZ(1,"span",23),e.ALo(2,"percent"),e._uU(3),e.ALo(4,"percent"),e.qZA(),e.BQk()),2&d){const r=e.oxw(2);e.xp6(1),e.Q6J("title",r._getTooltip(e.Dn7(2,2,r._value,null==r.colDef.typeParameter?null:r.colDef.typeParameter.digitsInfo,null==r.colDef.typeParameter?null:r.colDef.typeParameter.locale))),e.xp6(2),e.hij(" ",r._getText(e.Dn7(4,6,r._value,null==r.colDef.typeParameter?null:r.colDef.typeParameter.digitsInfo,null==r.colDef.typeParameter?null:r.colDef.typeParameter.locale))," ")}}function mh(d,g){if(1&d&&(e.ynx(0),e.TgZ(1,"span",23),e.ALo(2,"date"),e._uU(3),e.ALo(4,"date"),e.qZA(),e.BQk()),2&d){const r=e.oxw(2);e.xp6(1),e.Q6J("title",r._getTooltip(e.gM2(2,2,r._value,null==r.colDef.typeParameter?null:r.colDef.typeParameter.format,null==r.colDef.typeParameter?null:r.colDef.typeParameter.timezone,null==r.colDef.typeParameter?null:r.colDef.typeParameter.locale))),e.xp6(2),e.hij(" ",r._getText(e.gM2(4,7,r._value,null==r.colDef.typeParameter?null:r.colDef.typeParameter.format,null==r.colDef.typeParameter?null:r.colDef.typeParameter.timezone,null==r.colDef.typeParameter?null:r.colDef.typeParameter.locale))," ")}}function ph(d,g){if(1&d&&(e.ynx(0),e.TgZ(1,"span",23),e._uU(2),e.qZA(),e.BQk()),2&d){const r=e.oxw(2);e.xp6(1),e.Q6J("title",r._getTooltip(r._value)),e.xp6(1),e.Oqu(r._getText(r._value))}}function fh(d,g){if(1&d&&(e.ynx(0,4),e.YNc(1,kc,3,6,"ng-container",5),e.YNc(2,zl,4,2,"ng-container",5),e.YNc(3,Jd,3,2,"ng-container",5),e.YNc(4,Ul,2,1,"ng-container",5),e.YNc(5,dh,3,2,"ng-container",5),e.YNc(6,uh,5,10,"ng-container",5),e.YNc(7,hh,5,26,"ng-container",5),e.YNc(8,Xd,5,10,"ng-container",5),e.YNc(9,mh,5,12,"ng-container",5),e.YNc(10,ph,3,2,"ng-container",6),e.BQk()),2&d){const r=e.oxw();e.Q6J("ngSwitch",r.colDef.type),e.xp6(1),e.Q6J("ngSwitchCase","button"),e.xp6(1),e.Q6J("ngSwitchCase","tag"),e.xp6(1),e.Q6J("ngSwitchCase","link"),e.xp6(1),e.Q6J("ngSwitchCase","image"),e.xp6(1),e.Q6J("ngSwitchCase","boolean"),e.xp6(1),e.Q6J("ngSwitchCase","number"),e.xp6(1),e.Q6J("ngSwitchCase","currency"),e.xp6(1),e.Q6J("ngSwitchCase","percent"),e.xp6(1),e.Q6J("ngSwitchCase","date")}}const qd=["menu"];function Ic(d,g){if(1&d&&(e.TgZ(0,"mat-icon"),e._uU(1),e.qZA()),2&d){const r=e.oxw(2);e.xp6(1),e.Oqu(r.buttonIcon)}}function pl(d,g){if(1&d&&(e.ynx(0),e.TgZ(1,"button",12),e.YNc(2,Ic,2,1,"mat-icon",13),e._uU(3),e.qZA(),e.BQk()),2&d){const r=e.oxw(),_=e.MAs(9);e.xp6(1),e.Q6J("ngClass",r.buttonClass)("color",r.buttonColor)("matMenuTriggerFor",_),e.xp6(1),e.Q6J("ngIf",r.buttonIcon),e.xp6(1),e.hij(" ",r.buttonText," ")}}function Oc(d,g){if(1&d&&(e.TgZ(0,"mat-icon"),e._uU(1),e.qZA()),2&d){const r=e.oxw(2);e.xp6(1),e.Oqu(r.buttonIcon)}}function Rc(d,g){if(1&d&&(e.ynx(0),e.TgZ(1,"button",14),e.YNc(2,Oc,2,1,"mat-icon",13),e._uU(3),e.qZA(),e.BQk()),2&d){const r=e.oxw(),_=e.MAs(9);e.xp6(1),e.Q6J("ngClass",r.buttonClass)("color",r.buttonColor)("matMenuTriggerFor",_),e.xp6(1),e.Q6J("ngIf",r.buttonIcon),e.xp6(1),e.hij(" ",r.buttonText," ")}}function Pc(d,g){if(1&d&&(e.TgZ(0,"mat-icon"),e._uU(1),e.qZA()),2&d){const r=e.oxw(2);e.xp6(1),e.Oqu(r.buttonIcon)}}function fs(d,g){if(1&d&&(e.ynx(0),e.TgZ(1,"button",15),e.YNc(2,Pc,2,1,"mat-icon",13),e._uU(3),e.qZA(),e.BQk()),2&d){const r=e.oxw(),_=e.MAs(9);e.xp6(1),e.Q6J("ngClass",r.buttonClass)("color",r.buttonColor)("matMenuTriggerFor",_),e.xp6(1),e.Q6J("ngIf",r.buttonIcon),e.xp6(1),e.hij(" ",r.buttonText," ")}}function eu(d,g){if(1&d&&(e.TgZ(0,"mat-icon"),e._uU(1),e.qZA()),2&d){const r=e.oxw(2);e.xp6(1),e.Oqu(r.buttonIcon)}}function tu(d,g){if(1&d&&(e.ynx(0),e.TgZ(1,"button",16),e.YNc(2,eu,2,1,"mat-icon",13),e.qZA(),e.BQk()),2&d){const r=e.oxw(),_=e.MAs(9);e.xp6(1),e.Q6J("ngClass",r.buttonClass)("color",r.buttonColor)("matMenuTriggerFor",_),e.xp6(1),e.Q6J("ngIf",r.buttonIcon)}}function iu(d,g){if(1&d&&(e.TgZ(0,"mat-icon"),e._uU(1),e.qZA()),2&d){const r=e.oxw(2);e.xp6(1),e.Oqu(r.buttonIcon)}}function Fc(d,g){if(1&d&&(e.ynx(0),e.TgZ(1,"button",17),e.YNc(2,iu,2,1,"mat-icon",13),e._uU(3),e.qZA(),e.BQk()),2&d){const r=e.oxw(),_=e.MAs(9);e.xp6(1),e.Q6J("ngClass",r.buttonClass)("color",r.buttonColor)("matMenuTriggerFor",_),e.xp6(1),e.Q6J("ngIf",r.buttonIcon),e.xp6(1),e.hij(" ",r.buttonText," ")}}function Yl(d,g){if(1&d&&(e.TgZ(0,"mat-icon"),e._uU(1),e.qZA()),2&d){const r=e.oxw(2);e.xp6(1),e.Oqu(r.buttonIcon)}}function nu(d,g){if(1&d&&(e.ynx(0),e.TgZ(1,"button",18),e.YNc(2,Yl,2,1,"mat-icon",13),e._uU(3),e.qZA(),e.BQk()),2&d){const r=e.oxw(),_=e.MAs(9);e.xp6(1),e.Q6J("ngClass",r.buttonClass)("color",r.buttonColor)("matMenuTriggerFor",_),e.xp6(1),e.Q6J("ngIf",r.buttonIcon),e.xp6(1),e.hij(" ",r.buttonText," ")}}function ou(d,g){if(1&d&&(e.TgZ(0,"mat-icon"),e._uU(1),e.qZA()),2&d){const r=e.oxw(2);e.xp6(1),e.Oqu(r.buttonIcon)}}function ru(d,g){if(1&d&&(e.ynx(0),e.TgZ(1,"button",19),e.YNc(2,ou,2,1,"mat-icon",13),e._uU(3),e.qZA(),e.BQk()),2&d){const r=e.oxw(),_=e.MAs(9);e.xp6(1),e.Q6J("ngClass",r.buttonClass)("color",r.buttonColor)("matMenuTriggerFor",_),e.xp6(1),e.Q6J("ngIf",r.buttonIcon),e.xp6(1),e.hij(" ",r.buttonText," ")}}function Lc(d,g){}function Nc(d,g){if(1&d&&e.YNc(0,Lc,0,0,"ng-template",23),2&d){const r=e.oxw(2);e.Q6J("ngTemplateOutlet",r.headerTemplate)}}function Bc(d,g){if(1&d&&e._uU(0),2&d){const r=e.oxw(2);e.Oqu(r.headerText)}}function Ar(d,g){if(1&d&&(e.TgZ(0,"div",20),e.YNc(1,Nc,1,1,"ng-template",21),e.YNc(2,Bc,1,1,"ng-template",null,22,e.W1O),e.qZA()),2&d){const r=e.MAs(3),_=e.oxw();e.xp6(1),e.Q6J("ngIf",_.headerTemplate)("ngIfElse",r)}}function Ir(d,g){1&d&&e.O4$()}const Us=function(d){return{$implicit:d}};function Gl(d,g){if(1&d&&(e.TgZ(0,"div",26),e.O4$(),e.TgZ(1,"svg",27),e._UZ(2,"path",28),e.qZA(),e.YNc(3,Ir,0,0,"ng-template",29),e.qZA()),2&d){const r=g.$implicit,_=e.oxw(2),P=e.MAs(17);e.Q6J("cdkDragDisabled","show"===_.selectableChecked?!r.show:r.hide),e.xp6(3),e.Q6J("ngTemplateOutlet",P)("ngTemplateOutletContext",e.VKq(3,Us,r))}}function Mo(d,g){if(1&d){const r=e.EpF();e.TgZ(0,"div",24),e.NdJ("cdkDropListDropped",function(P){e.CHM(r);const ne=e.oxw();return e.KtG(ne._handleDroped(P))}),e.YNc(1,Gl,4,5,"div",25),e.qZA()}if(2&d){const r=e.oxw();e.xp6(1),e.Q6J("ngForOf",r.columns)}}function ja(d,g){}function Es(d,g){if(1&d&&(e.TgZ(0,"div",32),e.YNc(1,ja,0,0,"ng-template",29),e.qZA()),2&d){const r=g.$implicit;e.oxw(2);const _=e.MAs(17);e.xp6(1),e.Q6J("ngTemplateOutlet",_)("ngTemplateOutletContext",e.VKq(2,Us,r))}}function jl(d,g){if(1&d&&(e.TgZ(0,"div",30),e.YNc(1,Es,2,4,"div",31),e.qZA()),2&d){const r=e.oxw();e.xp6(1),e.Q6J("ngForOf",r.columns)}}function Vc(d,g){}function Hc(d,g){if(1&d&&e.YNc(0,Vc,0,0,"ng-template",23),2&d){const r=e.oxw(2);e.Q6J("ngTemplateOutlet",r.footerTemplate)}}function Fn(d,g){if(1&d&&e._uU(0),2&d){const r=e.oxw(2);e.Oqu(r.footerText)}}function sa(d,g){if(1&d&&(e.TgZ(0,"div",33),e.YNc(1,Hc,1,1,"ng-template",21),e.YNc(2,Fn,1,1,"ng-template",null,34,e.W1O),e.qZA()),2&d){const r=e.MAs(3),_=e.oxw();e.xp6(1),e.Q6J("ngIf",_.footerTemplate)("ngIfElse",r)}}function su(d,g){1&d&&(e.O4$(),e.TgZ(0,"svg",43),e._UZ(1,"path",44),e.qZA())}function yo(d,g){1&d&&(e.O4$(),e.TgZ(0,"svg",45),e._UZ(1,"path",46),e.qZA())}function Ca(d,g){1&d&&(e.O4$(),e.TgZ(0,"svg",51),e._UZ(1,"path",52),e.qZA())}function zc(d,g){if(1&d){const r=e.EpF();e.TgZ(0,"button",47),e.NdJ("click",function(){const ne=e.CHM(r).$implicit,nt=e.oxw(2).$implicit,St=e.oxw();return e.KtG(St._handlePinSelect(nt,ne.value))}),e.TgZ(1,"span",48),e.YNc(2,Ca,2,0,"svg",49),e.qZA(),e.TgZ(3,"span",50),e._uU(4),e.ALo(5,"async"),e.ALo(6,"toObservable"),e.qZA()()}if(2&d){const r=g.$implicit,_=e.oxw(2).$implicit;e.xp6(2),e.Q6J("ngIf",_.pinned==r.value),e.xp6(2),e.Oqu(e.lcZ(5,2,e.lcZ(6,4,r.label)))}}function $l(d,g){if(1&d&&(e.ynx(0),e.TgZ(1,"button",37),e.YNc(2,su,2,0,"svg",38),e.YNc(3,yo,2,0,"svg",39),e.qZA(),e.TgZ(4,"mat-menu",40,41),e.YNc(6,zc,7,6,"button",42),e.qZA(),e.BQk()),2&d){const r=e.MAs(5),_=e.oxw().$implicit,P=e.oxw();e.xp6(1),e.Q6J("matMenuTriggerFor",r),e.xp6(1),e.Q6J("ngIf",_.pinned),e.xp6(1),e.Q6J("ngIf",!_.pinned),e.xp6(3),e.Q6J("ngForOf",P.pinOptions)}}function Zl(d,g){if(1&d){const r=e.EpF();e.TgZ(0,"mat-checkbox",53),e.NdJ("ngModelChange",function(P){e.CHM(r);const ne=e.oxw().$implicit,nt=e.oxw();return e.KtG(ne[nt.selectableChecked]=P)})("change",function(){e.CHM(r);const P=e.oxw().$implicit,ne=e.oxw();return e.KtG(ne._handleChecked(P))}),e._uU(1),e.ALo(2,"async"),e.ALo(3,"toObservable"),e.qZA()}if(2&d){const r=e.oxw().$implicit,_=e.oxw();e.Q6J("ngModel",r[_.selectableChecked])("disabled",r.disabled),e.xp6(1),e.hij(" ",e.lcZ(2,3,e.lcZ(3,5,r.header))," ")}}function au(d,g){if(1&d&&(e.TgZ(0,"span",54),e._uU(1),e.ALo(2,"async"),e.ALo(3,"toObservable"),e.qZA()),2&d){const r=e.oxw().$implicit;e.xp6(1),e.hij(" ",e.lcZ(2,1,e.lcZ(3,3,r.header))," ")}}function In(d,g){if(1&d&&(e.YNc(0,$l,7,4,"ng-container",13),e.YNc(1,Zl,4,7,"mat-checkbox",35),e.YNc(2,au,4,5,"span",36)),2&d){const r=e.oxw();e.Q6J("ngIf",r.pinnable),e.xp6(1),e.Q6J("ngIf",r.selectable),e.xp6(1),e.Q6J("ngIf",!r.selectable)}}const gh=["columnMenu"],Uc=["tableContainer"];function fl(d,g){1&d&&(e.TgZ(0,"div",16),e._UZ(1,"mat-progress-bar",17),e.qZA())}function Wl(d,g){}function Kl(d,g){if(1&d&&e.YNc(0,Wl,0,0,"ng-template",23),2&d){const r=e.oxw(2);e.Q6J("ngTemplateOutlet",r.toolbarTemplate)}}function pr(d,g){if(1&d&&(e.TgZ(0,"div",25),e._uU(1),e.qZA()),2&d){const r=e.oxw(3);e.xp6(1),e.Oqu(r.toolbarTitle)}}function gl(d,g){if(1&d&&e.YNc(0,pr,2,1,"div",24),2&d){const r=e.oxw(2);e.Q6J("ngIf",r.toolbarTitle)}}function $a(d,g){if(1&d){const r=e.EpF();e.TgZ(0,"mtx-grid-column-menu",26,27),e.NdJ("columnChange",function(P){e.CHM(r);const ne=e.oxw(2);return e.KtG(ne._onColumnChange(P))}),e.qZA()}if(2&d){const r=e.oxw(2);e.Q6J("columns",r.columns)("buttonText",r.columnMenuButtonText)("buttonType",r.columnMenuButtonType)("buttonColor",r.columnMenuButtonColor)("buttonClass",r.columnMenuButtonClass)("buttonIcon",r.columnMenuButtonIcon)("selectable",r.columnHideable)("selectableChecked",r.columnHideableChecked)("sortable",r.columnSortable)("pinnable",r.columnPinnable)("showHeader",r.showColumnMenuHeader)("headerText",r.columnMenuHeaderText)("headerTemplate",r.columnMenuHeaderTemplate)("showFooter",r.showColumnMenuFooter)("footerText",r.columnMenuFooterText)("footerTemplate",r.columnMenuFooterTemplate)("pinOptions",r.columnPinOptions)}}function lu(d,g){if(1&d&&(e.TgZ(0,"div",18)(1,"div",19),e.YNc(2,Kl,1,1,"ng-template",13),e.YNc(3,gl,1,1,"ng-template",null,20,e.W1O),e.qZA(),e.TgZ(5,"div",21),e.YNc(6,$a,2,17,"mtx-grid-column-menu",22),e.qZA()()),2&d){const r=e.MAs(4),_=e.oxw();e.xp6(2),e.Q6J("ngIf",_.toolbarTemplate)("ngIfElse",r),e.xp6(4),e.Q6J("ngIf",_.showColumnMenuButton)}}function Ql(d,g){if(1&d){const r=e.EpF();e.TgZ(0,"mat-checkbox",41),e.NdJ("change",function(P){e.CHM(r);const ne=e.oxw(4);return e.KtG(P?ne._toggleMasterCheckbox():null)}),e.qZA()}if(2&d){const r=e.oxw(4);e.Q6J("checked",r.rowSelection.hasValue()&&r._isAllSelected())("indeterminate",r.rowSelection.hasValue()&&!r._isAllSelected())}}function cu(d,g){if(1&d&&(e.TgZ(0,"th",39),e.YNc(1,Ql,1,2,"mat-checkbox",40),e.qZA()),2&d){const r=e.oxw(3);e.xp6(1),e.Q6J("ngIf",r.multiSelectable)}}function du(d,g){if(1&d){const r=e.EpF();e.TgZ(0,"mat-checkbox",44),e.NdJ("click",function(P){return P.stopPropagation()})("change",function(P){e.CHM(r);const ne=e.oxw().$implicit,nt=e.oxw(3);return e.KtG(P?nt._toggleNormalCheckbox(ne):null)}),e.qZA()}if(2&d){const r=e.oxw(),_=r.$implicit,P=r.index,ne=r.dataIndex,nt=e.oxw(3);e.Q6J("disabled",nt.rowSelectionFormatter.disabled&&nt.rowSelectionFormatter.disabled(_,nt._getIndex(P,ne)))("checked",nt.rowSelection.isSelected(_))}}function uu(d,g){if(1&d&&(e.TgZ(0,"td",42),e.YNc(1,du,1,2,"mat-checkbox",43),e.qZA()),2&d){const r=g.$implicit,_=g.index,P=g.dataIndex,ne=e.oxw(3);e.xp6(1),e.Q6J("ngIf",!(ne.rowSelectionFormatter.hideCheckbox&&ne.rowSelectionFormatter.hideCheckbox(r,ne._getIndex(_,P))))}}function hu(d,g){1&d&&e._UZ(0,"td",45)}function mu(d,g){1&d&&(e.ynx(0,35),e.YNc(1,cu,2,1,"th",36),e.YNc(2,uu,2,1,"td",37),e.YNc(3,hu,1,0,"td",38),e.BQk())}function Jl(d,g){}const Ss=function(d,g){return{$implicit:d,colDef:g}};function Xl(d,g){if(1&d&&e.YNc(0,Jl,0,0,"ng-template",54),2&d){const r=e.oxw(2).$implicit,_=e.oxw(2);e.Q6J("ngTemplateOutlet",_.headerTemplate)("ngTemplateOutletContext",e.WLB(2,Ss,r,r))}}function ql(d,g){}function _l(d,g){if(1&d&&e.YNc(0,ql,0,0,"ng-template",54),2&d){const r=e.oxw(3).$implicit,_=e.oxw(2);e.Q6J("ngTemplateOutlet",_.headerTemplate[r.field])("ngTemplateOutletContext",e.WLB(2,Ss,r,r))}}function Yc(d,g){if(1&d&&(e.YNc(0,_l,1,5,"ng-template",13),e.ALo(1,"isTemplateRef")),2&d){e.oxw();const r=e.MAs(8),_=e.oxw().$implicit,P=e.oxw(2);let ne;e.Q6J("ngIf",e.lcZ(1,2,null==(ne=P.headerTemplate)?null:ne[_.field]))("ngIfElse",r)}}function pu(d,g){1&d&&e._UZ(0,"span",58)}function ec(d,g){1&d&&(e.O4$(),e.TgZ(0,"svg",59),e._UZ(1,"path",60),e.qZA())}function bl(d,g){}function Ys(d,g){if(1&d&&(e.TgZ(0,"div",55),e.YNc(1,pu,1,0,"span",56),e.TgZ(2,"span"),e._uU(3),e.ALo(4,"async"),e.ALo(5,"toObservable"),e.qZA(),e.YNc(6,ec,2,0,"svg",57),e.qZA(),e.YNc(7,bl,0,0,"ng-template",54)),2&d){const r=e.oxw(2).$implicit,_=e.oxw(2),P=e.MAs(17);let ne;e.Q6J("mat-sort-header",(null==r.sortProp?null:r.sortProp.id)||r.field)("disabled",!r.sortable)("disableClear",null!==(ne=null==r.sortProp?null:r.sortProp.disableClear)&&void 0!==ne?ne:_.sortDisableClear)("arrowPosition",null==r.sortProp?null:r.sortProp.arrowPosition)("start",null==r.sortProp?null:r.sortProp.start),e.xp6(1),e.Q6J("ngIf",r.showExpand),e.xp6(2),e.Oqu(e.lcZ(4,10,e.lcZ(5,12,r.header))),e.xp6(3),e.Q6J("ngIf",r.sortable),e.xp6(1),e.Q6J("ngTemplateOutlet",P)("ngTemplateOutletContext",e.WLB(14,Ss,_.headerExtraTemplate,r))}}const ds=function(d,g){return{"mat-table-sticky-left":d,"mat-table-sticky-right":g}},Da=function(d,g,r,_){return{width:d,"min-width":g,left:r,right:_}};function tc(d,g){if(1&d&&(e.TgZ(0,"th",50),e.ALo(1,"colClass"),e.TgZ(2,"div",51),e.YNc(3,Xl,1,5,"ng-template",13),e.ALo(4,"isTemplateRef"),e.YNc(5,Yc,2,4,"ng-template",null,52,e.W1O),e.YNc(7,Ys,8,17,"ng-template",null,53,e.W1O),e.qZA()()),2&d){const r=e.MAs(6),_=e.oxw().$implicit,P=e.oxw(2);e.Tol(e.lcZ(1,6,_)),e.Q6J("ngClass",e.WLB(10,ds,"left"===_.pinned,"right"===_.pinned))("ngStyle",e.l5B(13,Da,_.width,_.width,_.left,_.right)),e.xp6(3),e.Q6J("ngIf",e.lcZ(4,8,P.headerTemplate))("ngIfElse",r)}}function Ma(d,g){}const gs=function(d,g,r,_){return{$implicit:d,rowData:g,index:r,colDef:_}};function vl(d,g){if(1&d&&e.YNc(0,Ma,0,0,"ng-template",54),2&d){const r=e.oxw(),_=r.$implicit,P=r.index,ne=r.dataIndex,nt=e.oxw().$implicit,St=e.oxw(2);e.Q6J("ngTemplateOutlet",St.cellTemplate)("ngTemplateOutletContext",e.l5B(2,gs,_,_,St._getIndex(P,ne),nt))}}function Za(d,g){}function ic(d,g){if(1&d&&e.YNc(0,Za,0,0,"ng-template",54),2&d){const r=e.oxw(2),_=r.$implicit,P=r.index,ne=r.dataIndex,nt=e.oxw().$implicit,St=e.oxw(2);e.Q6J("ngTemplateOutlet",St.cellTemplate[nt.field])("ngTemplateOutletContext",e.l5B(2,gs,_,_,St._getIndex(P,ne),nt))}}function aa(d,g){if(1&d&&(e.YNc(0,ic,1,7,"ng-template",13),e.ALo(1,"isTemplateRef")),2&d){e.oxw();const r=e.MAs(7),_=e.oxw().$implicit,P=e.oxw(2);let ne;e.Q6J("ngIf",e.lcZ(1,2,null==(ne=P.cellTemplate)?null:ne[_.field]))("ngIfElse",r)}}function Ta(d,g){}function yl(d,g){if(1&d&&e.YNc(0,Ta,0,0,"ng-template",65),2&d){const r=e.oxw(),_=r.$implicit,P=r.index,ne=r.dataIndex,nt=e.MAs(9),St=e.oxw().$implicit,ti=e.oxw(2);e.Q6J("ngIf",St.cellTemplate)("ngIfElse",nt)("ngTemplateOutlet",St.cellTemplate)("ngTemplateOutletContext",e.l5B(4,gs,_,_,ti._getIndex(P,ne),St))}}function Wa(d,g){if(1&d){const r=e.EpF();e.TgZ(0,"button",68),e.NdJ("openedChange",function(P){e.CHM(r);const ne=e.oxw(2).dataIndex,nt=e.oxw(3);return e.KtG(nt.expansionRowStates[ne].expanded=P)})("toggleChange",function(P){e.CHM(r);const ne=e.oxw(2),nt=ne.$implicit,St=ne.dataIndex,ti=e.oxw().$implicit,ui=e.oxw(2);return e.KtG(ui._onExpansionChange(P,nt,ti,St))}),e.O4$(),e.TgZ(1,"svg",69),e._UZ(2,"path",70),e.qZA()()}if(2&d){const r=e.oxw(2).dataIndex,_=e.oxw(3);e.Q6J("opened",_.expansionRowStates[r].expanded)}}function Ka(d,g){if(1&d){const r=e.EpF();e.YNc(0,Wa,3,1,"button",66),e.TgZ(1,"mtx-grid-cell",67),e.NdJ("rowDataChange",function(P){e.CHM(r);const ne=e.oxw(4);return e.KtG(ne._onRowDataChange(P))}),e.qZA()}if(2&d){const r=e.oxw().$implicit,_=e.oxw().$implicit,P=e.oxw(2);e.Q6J("ngIf",_.showExpand),e.xp6(1),e.Q6J("rowData",r)("colDef",_)("placeholder",P.emptyValuePlaceholder)}}function Gc(d,g){if(1&d){const r=e.EpF();e.TgZ(0,"td",61),e.NdJ("cellSelectionChange",function(P){const nt=e.CHM(r).$implicit,St=e.oxw().$implicit,ti=e.oxw(2);return e.KtG(ti._selectCell(P,nt,St))}),e.ALo(1,"colClass"),e.YNc(2,vl,1,7,"ng-template",13),e.ALo(3,"isTemplateRef"),e.YNc(4,aa,2,4,"ng-template",null,62,e.W1O),e.YNc(6,yl,1,9,"ng-template",null,63,e.W1O),e.YNc(8,Ka,2,4,"ng-template",null,64,e.W1O),e.qZA()}if(2&d){const r=g.$implicit,_=e.MAs(5),P=e.oxw().$implicit,ne=e.oxw(2);e.Tol(e.gM2(1,6,P,r,ne.rowChangeRecord,null==ne.rowChangeRecord?null:ne.rowChangeRecord.currentValue)),e.Q6J("ngClass",e.WLB(13,ds,"left"===P.pinned,"right"===P.pinned))("ngStyle",e.l5B(16,Da,P.width,P.width,P.left,P.right)),e.xp6(2),e.Q6J("ngIf",e.lcZ(3,11,ne.cellTemplate))("ngIfElse",_)}}function nc(d,g){1&d&&e._UZ(0,"span",58)}function xl(d,g){}const wl=function(d,g,r){return{$implicit:d,colDef:g,data:r}};function Qa(d,g){if(1&d&&e.YNc(0,xl,0,0,"ng-template",54),2&d){const r=e.oxw(2).$implicit,_=e.oxw(2);e.Q6J("ngTemplateOutlet",_.summaryTemplate)("ngTemplateOutletContext",e.kEZ(2,wl,r,r,_.data))}}function fu(d,g){}const Cl=function(d,g,r){return{$implicit:d,colData:g,colDef:r}};function gu(d,g){if(1&d&&e.YNc(0,fu,0,0,"ng-template",54),2&d){const r=e.oxw(3).$implicit,_=e.oxw(2);e.Q6J("ngTemplateOutlet",_.summaryTemplate[r.field])("ngTemplateOutletContext",e.kEZ(2,Cl,_._getColData(_.data,r),_._getColData(_.data,r),r))}}function jc(d,g){if(1&d&&(e.YNc(0,gu,1,6,"ng-template",13),e.ALo(1,"isTemplateRef")),2&d){e.oxw();const r=e.MAs(7),_=e.oxw().$implicit,P=e.oxw(2);let ne;e.Q6J("ngIf",e.lcZ(1,2,null==(ne=P.summaryTemplate)?null:ne[_.field]))("ngIfElse",r)}}function $c(d,g){if(1&d&&e._UZ(0,"mtx-grid-cell",74),2&d){const r=e.oxw(2).$implicit,_=e.oxw(2);e.Q6J("summary",!0)("data",_.data)("colDef",r)("placeholder",_.emptyValuePlaceholder)}}function oc(d,g){if(1&d&&(e.TgZ(0,"td",71),e.YNc(1,nc,1,0,"span",56),e.YNc(2,Qa,1,6,"ng-template",13),e.ALo(3,"isTemplateRef"),e.YNc(4,jc,2,4,"ng-template",null,72,e.W1O),e.YNc(6,$c,1,4,"ng-template",null,73,e.W1O),e.qZA()),2&d){const r=e.MAs(5),_=e.oxw().$implicit,P=e.oxw(2);e.Q6J("ngClass",e.WLB(7,ds,"left"===_.pinned,"right"===_.pinned))("ngStyle",e.l5B(10,Da,_.width,_.width,_.left,_.right)),e.xp6(1),e.Q6J("ngIf",_.showExpand),e.xp6(1),e.Q6J("ngIf",e.lcZ(3,5,P.summaryTemplate))("ngIfElse",r)}}function Ja(d,g){if(1&d&&(e.ynx(0)(1,46),e.YNc(2,tc,9,18,"th",47),e.YNc(3,Gc,10,21,"td",48),e.YNc(4,oc,8,15,"td",49),e.BQk()()),2&d){const r=g.$implicit;e.xp6(1),e.Q6J("matColumnDef",r.field)("sticky","left"===r.pinned)("stickyEnd","right"===r.pinned)}}function la(d,g){}function zi(d,g){1&d&&e._UZ(0,"tr",76)}function _s(d,g){if(1&d&&e.YNc(0,zi,1,0,"tr",75),2&d){const r=e.oxw(2);e.Q6J("matHeaderRowDef",r.displayedColumns)("matHeaderRowDefSticky",!0)}}function _h(d,g){}const Xa=function(d){return{selected:d}};function bh(d,g){if(1&d){const r=e.EpF();e.TgZ(0,"tr",78),e.NdJ("click",function(P){const ne=e.CHM(r),nt=ne.$implicit,St=ne.index,ti=ne.dataIndex,ui=e.oxw(3);return e.KtG(ui._selectRow(P,nt,ui._getIndex(St,ti)))}),e.ALo(1,"rowClass"),e.qZA()}if(2&d){const r=g.$implicit,_=g.index,P=g.dataIndex,ne=e.oxw(3);e.Tol(e.gM2(1,3,r,_,P,ne.rowClassFormatter)),e.Q6J("ngClass",e.VKq(8,Xa,ne.rowSelection.isSelected(r)))}}function _u(d,g){if(1&d&&e.YNc(0,bh,2,10,"tr",77),2&d){const r=e.oxw(2);e.Q6J("matRowDefColumns",r.displayedColumns)}}function Dl(d,g){1&d&&e._UZ(0,"tr",80)}function Zc(d,g){if(1&d&&e.YNc(0,Dl,1,0,"tr",79),2&d){const r=e.oxw(2);e.Q6J("matFooterRowDef",r.displayedColumns)("matFooterRowDefSticky",!0)}}function Wc(d,g){}function Ml(d,g){}const qa=function(d,g,r,_){return{$implicit:d,rowData:g,index:r,expanded:_}};function Kc(d,g){if(1&d&&(e.TgZ(0,"td",84)(1,"div",85),e.YNc(2,Ml,0,0,"ng-template",54),e.qZA()()),2&d){const r=g.$implicit,_=g.dataIndex,P=e.oxw(3);e.uIk("colspan",P.displayedColumns.length),e.xp6(1),e.Q6J("@expansion",P.expansionRowStates[_].expanded?"expanded":"collapsed"),e.xp6(1),e.Q6J("ngTemplateOutlet",P.expansionTemplate)("ngTemplateOutletContext",e.l5B(4,qa,r,r,_,P.expansionRowStates[_].expanded))}}const rc=function(d){return["mtx-grid-expansion",d]};function Qc(d,g){if(1&d&&e._UZ(0,"tr",86),2&d){const r=g.dataIndex,_=e.oxw(3);e.Q6J("ngClass",e.VKq(1,rc,_.expansionRowStates[r].expanded?"expanded":"collapsed"))}}const Gs=function(){return["MtxGridExpansionColumnDef"]};function vh(d,g){1&d&&(e.ynx(0)(1,81),e.YNc(2,Kc,3,9,"td",82),e.BQk(),e.YNc(3,Qc,1,3,"tr",83),e.BQk()),2&d&&(e.xp6(3),e.Q6J("matRowDefColumns",e.DdM(1,Gs)))}const Jc=function(d,g,r){return{"mat-table-hover":d,"mat-table-striped":g,"mat-table-expandable":r}};function bu(d,g){if(1&d){const r=e.EpF();e.TgZ(0,"table",28),e.NdJ("matSortChange",function(P){e.CHM(r);const ne=e.oxw();return e.KtG(ne._onSortChange(P))}),e.YNc(1,mu,4,0,"ng-container",29),e.YNc(2,Ja,5,3,"ng-container",30),e.YNc(3,la,0,0,"ng-template",13),e.YNc(4,_s,1,2,"ng-template",null,31,e.W1O),e.YNc(6,_h,0,0,"ng-template",13),e.YNc(7,_u,1,1,"ng-template",null,32,e.W1O),e.YNc(9,Zc,1,2,"ng-template",33),e.YNc(10,Wc,0,0,"ng-template",33),e.YNc(11,vh,4,2,"ng-container",34),e.qZA()}if(2&d){const r=e.MAs(5),_=e.MAs(8),P=e.oxw();e.Q6J("ngClass",e.kEZ(18,Jc,P.rowHover,P.rowStriped,P.expandable))("dataSource",P.dataSource)("multiTemplateDataRows",P.expandable)("matSortActive",P.sortActive)("matSortDirection",P.sortDirection)("matSortDisableClear",P.sortDisableClear)("matSortDisabled",P.sortDisabled)("matSortStart",P.sortStart)("trackBy",P.trackBy),e.xp6(1),e.Q6J("ngIf",P.rowSelectable&&!P.hideRowSelectionCheckbox),e.xp6(1),e.Q6J("ngForOf",P.columns),e.xp6(1),e.Q6J("ngIf",P.useContentHeaderRowTemplate)("ngIfElse",r),e.xp6(3),e.Q6J("ngIf",P.useContentRowTemplate)("ngIfElse",_),e.xp6(3),e.Q6J("ngIf",P._whetherShowSummary),e.xp6(1),e.Q6J("ngIf",P.useContentFooterRowTemplate),e.xp6(1),e.Q6J("ngIf",P.expandable)}}function yh(d,g){if(1&d){const r=e.EpF();e.TgZ(0,"mat-checkbox",41),e.NdJ("change",function(P){e.CHM(r);const ne=e.oxw(4);return e.KtG(P?ne._toggleMasterCheckbox():null)}),e.qZA()}if(2&d){const r=e.oxw(4);e.Q6J("checked",r.rowSelection.hasValue()&&r._isAllSelected())("indeterminate",r.rowSelection.hasValue()&&!r._isAllSelected())}}function xh(d,g){if(1&d&&(e.TgZ(0,"th",39),e.YNc(1,yh,1,2,"mat-checkbox",40),e.qZA()),2&d){const r=e.oxw(3);e.xp6(1),e.Q6J("ngIf",r.multiSelectable)}}function js(d,g){if(1&d){const r=e.EpF();e.TgZ(0,"mat-checkbox",44),e.NdJ("click",function(P){return P.stopPropagation()})("change",function(P){e.CHM(r);const ne=e.oxw().$implicit,nt=e.oxw(3);return e.KtG(P?nt._toggleNormalCheckbox(ne):null)}),e.qZA()}if(2&d){const r=e.oxw(),_=r.$implicit,P=r.index,ne=r.dataIndex,nt=e.oxw(3);e.Q6J("disabled",nt.rowSelectionFormatter.disabled&&nt.rowSelectionFormatter.disabled(_,nt._getIndex(P,ne)))("checked",nt.rowSelection.isSelected(_))}}function Ea(d,g){if(1&d&&(e.TgZ(0,"td",42),e.YNc(1,js,1,2,"mat-checkbox",43),e.qZA()),2&d){const r=g.$implicit,_=g.index,P=g.dataIndex,ne=e.oxw(3);e.xp6(1),e.Q6J("ngIf",!(ne.rowSelectionFormatter.hideCheckbox&&ne.rowSelectionFormatter.hideCheckbox(r,ne._getIndex(_,P))))}}function vu(d,g){1&d&&e._UZ(0,"td",45)}function yu(d,g){1&d&&(e.ynx(0,35),e.YNc(1,xh,2,1,"th",36),e.YNc(2,Ea,2,1,"td",37),e.YNc(3,vu,1,0,"td",38),e.BQk())}function xu(d,g){}function Xc(d,g){if(1&d&&e.YNc(0,xu,0,0,"ng-template",54),2&d){const r=e.oxw(2).$implicit,_=e.oxw(2);e.Q6J("ngTemplateOutlet",_.headerTemplate)("ngTemplateOutletContext",e.WLB(2,Ss,r,r))}}function qc(d,g){}function wu(d,g){if(1&d&&e.YNc(0,qc,0,0,"ng-template",54),2&d){const r=e.oxw(3).$implicit,_=e.oxw(2);e.Q6J("ngTemplateOutlet",_.headerTemplate[r.field])("ngTemplateOutletContext",e.WLB(2,Ss,r,r))}}function sc(d,g){if(1&d&&(e.YNc(0,wu,1,5,"ng-template",13),e.ALo(1,"isTemplateRef")),2&d){e.oxw();const r=e.MAs(8),_=e.oxw().$implicit,P=e.oxw(2);let ne;e.Q6J("ngIf",e.lcZ(1,2,null==(ne=P.headerTemplate)?null:ne[_.field]))("ngIfElse",r)}}function Cu(d,g){1&d&&e._UZ(0,"span",58)}function Du(d,g){1&d&&(e.O4$(),e.TgZ(0,"svg",59),e._UZ(1,"path",60),e.qZA())}function Mu(d,g){}function ed(d,g){if(1&d&&(e.TgZ(0,"div",55),e.YNc(1,Cu,1,0,"span",56),e.TgZ(2,"span"),e._uU(3),e.ALo(4,"async"),e.ALo(5,"toObservable"),e.qZA(),e.YNc(6,Du,2,0,"svg",57),e.qZA(),e.YNc(7,Mu,0,0,"ng-template",54)),2&d){const r=e.oxw(2).$implicit,_=e.oxw(2),P=e.MAs(17);let ne;e.Q6J("mat-sort-header",(null==r.sortProp?null:r.sortProp.id)||r.field)("disabled",!r.sortable)("disableClear",null!==(ne=null==r.sortProp?null:r.sortProp.disableClear)&&void 0!==ne?ne:_.sortDisableClear)("arrowPosition",null==r.sortProp?null:r.sortProp.arrowPosition)("start",null==r.sortProp?null:r.sortProp.start),e.xp6(1),e.Q6J("ngIf",r.showExpand),e.xp6(2),e.Oqu(e.lcZ(4,10,e.lcZ(5,12,r.header))),e.xp6(3),e.Q6J("ngIf",r.sortable),e.xp6(1),e.Q6J("ngTemplateOutlet",P)("ngTemplateOutletContext",e.WLB(14,Ss,_.headerExtraTemplate,r))}}const Sa=function(d,g,r){return{width:d,left:g,right:r}};function ks(d,g){if(1&d&&(e.TgZ(0,"th",89),e.ALo(1,"colClass"),e.TgZ(2,"div",51),e.YNc(3,Xc,1,5,"ng-template",13),e.ALo(4,"isTemplateRef"),e.YNc(5,sc,2,4,"ng-template",null,52,e.W1O),e.YNc(7,ed,8,17,"ng-template",null,53,e.W1O),e.qZA()()),2&d){const r=e.MAs(6),_=e.oxw().$implicit,P=e.oxw(2);e.Tol(e.lcZ(1,9,_)),e.Q6J("ngClass",e.WLB(13,ds,"left"===_.pinned,"right"===_.pinned))("ngStyle",e.kEZ(16,Sa,_.width,_.left,_.right))("resizable",_.resizable)("matResizableMinWidthPx",_.minWidth)("matResizableMaxWidthPx",_.maxWidth),e.xp6(3),e.Q6J("ngIf",e.lcZ(4,11,P.headerTemplate))("ngIfElse",r)}}function ka(d,g){}function td(d,g){if(1&d&&e.YNc(0,ka,0,0,"ng-template",54),2&d){const r=e.oxw(),_=r.$implicit,P=r.index,ne=r.dataIndex,nt=e.oxw().$implicit,St=e.oxw(2);e.Q6J("ngTemplateOutlet",St.cellTemplate)("ngTemplateOutletContext",e.l5B(2,gs,_,_,St._getIndex(P,ne),nt))}}function id(d,g){}function nd(d,g){if(1&d&&e.YNc(0,id,0,0,"ng-template",54),2&d){const r=e.oxw(2),_=r.$implicit,P=r.index,ne=r.dataIndex,nt=e.oxw().$implicit,St=e.oxw(2);e.Q6J("ngTemplateOutlet",St.cellTemplate[nt.field])("ngTemplateOutletContext",e.l5B(2,gs,_,_,St._getIndex(P,ne),nt))}}function wh(d,g){if(1&d&&(e.YNc(0,nd,1,7,"ng-template",13),e.ALo(1,"isTemplateRef")),2&d){e.oxw();const r=e.MAs(7),_=e.oxw().$implicit,P=e.oxw(2);let ne;e.Q6J("ngIf",e.lcZ(1,2,null==(ne=P.cellTemplate)?null:ne[_.field]))("ngIfElse",r)}}function Tu(d,g){}function Eu(d,g){if(1&d&&e.YNc(0,Tu,0,0,"ng-template",65),2&d){const r=e.oxw(),_=r.$implicit,P=r.index,ne=r.dataIndex,nt=e.MAs(9),St=e.oxw().$implicit,ti=e.oxw(2);e.Q6J("ngIf",St.cellTemplate)("ngIfElse",nt)("ngTemplateOutlet",St.cellTemplate)("ngTemplateOutletContext",e.l5B(4,gs,_,_,ti._getIndex(P,ne),St))}}function el(d,g){if(1&d){const r=e.EpF();e.TgZ(0,"button",68),e.NdJ("openedChange",function(P){e.CHM(r);const ne=e.oxw(2).dataIndex,nt=e.oxw(3);return e.KtG(nt.expansionRowStates[ne].expanded=P)})("toggleChange",function(P){e.CHM(r);const ne=e.oxw(2),nt=ne.$implicit,St=ne.dataIndex,ti=e.oxw().$implicit,ui=e.oxw(2);return e.KtG(ui._onExpansionChange(P,nt,ti,St))}),e.O4$(),e.TgZ(1,"svg",69),e._UZ(2,"path",70),e.qZA()()}if(2&d){const r=e.oxw(2).dataIndex,_=e.oxw(3);e.Q6J("opened",_.expansionRowStates[r].expanded)}}function ac(d,g){if(1&d){const r=e.EpF();e.YNc(0,el,3,1,"button",66),e.TgZ(1,"mtx-grid-cell",67),e.NdJ("rowDataChange",function(P){e.CHM(r);const ne=e.oxw(4);return e.KtG(ne._onRowDataChange(P))}),e.qZA()}if(2&d){const r=e.oxw().$implicit,_=e.oxw().$implicit,P=e.oxw(2);e.Q6J("ngIf",_.showExpand),e.xp6(1),e.Q6J("rowData",r)("colDef",_)("placeholder",P.emptyValuePlaceholder)}}function Su(d,g){if(1&d){const r=e.EpF();e.TgZ(0,"td",61),e.NdJ("cellSelectionChange",function(P){const nt=e.CHM(r).$implicit,St=e.oxw().$implicit,ti=e.oxw(2);return e.KtG(ti._selectCell(P,nt,St))}),e.ALo(1,"colClass"),e.YNc(2,td,1,7,"ng-template",13),e.ALo(3,"isTemplateRef"),e.YNc(4,wh,2,4,"ng-template",null,62,e.W1O),e.YNc(6,Eu,1,9,"ng-template",null,63,e.W1O),e.YNc(8,ac,2,4,"ng-template",null,64,e.W1O),e.qZA()}if(2&d){const r=g.$implicit,_=e.MAs(5),P=e.oxw().$implicit,ne=e.oxw(2);e.Tol(e.gM2(1,6,P,r,ne.rowChangeRecord,null==ne.rowChangeRecord?null:ne.rowChangeRecord.currentValue)),e.Q6J("ngClass",e.WLB(13,ds,"left"===P.pinned,"right"===P.pinned))("ngStyle",e.kEZ(16,Sa,P.width,P.left,P.right)),e.xp6(2),e.Q6J("ngIf",e.lcZ(3,11,ne.cellTemplate))("ngIfElse",_)}}function Ch(d,g){1&d&&e._UZ(0,"span",58)}function lc(d,g){}function ku(d,g){if(1&d&&e.YNc(0,lc,0,0,"ng-template",54),2&d){const r=e.oxw(2).$implicit,_=e.oxw(2);e.Q6J("ngTemplateOutlet",_.summaryTemplate)("ngTemplateOutletContext",e.kEZ(2,wl,r,r,_.data))}}function od(d,g){}function rd(d,g){if(1&d&&e.YNc(0,od,0,0,"ng-template",54),2&d){const r=e.oxw(3).$implicit,_=e.oxw(2);e.Q6J("ngTemplateOutlet",_.summaryTemplate[r.field])("ngTemplateOutletContext",e.kEZ(2,Cl,_._getColData(_.data,r),_._getColData(_.data,r),r))}}function sd(d,g){if(1&d&&(e.YNc(0,rd,1,6,"ng-template",13),e.ALo(1,"isTemplateRef")),2&d){e.oxw();const r=e.MAs(7),_=e.oxw().$implicit,P=e.oxw(2);let ne;e.Q6J("ngIf",e.lcZ(1,2,null==(ne=P.summaryTemplate)?null:ne[_.field]))("ngIfElse",r)}}function cc(d,g){if(1&d&&e._UZ(0,"mtx-grid-cell",74),2&d){const r=e.oxw(2).$implicit,_=e.oxw(2);e.Q6J("summary",!0)("data",_.data)("colDef",r)("placeholder",_.emptyValuePlaceholder)}}function tl(d,g){if(1&d&&(e.TgZ(0,"td",71),e.YNc(1,Ch,1,0,"span",56),e.YNc(2,ku,1,6,"ng-template",13),e.ALo(3,"isTemplateRef"),e.YNc(4,sd,2,4,"ng-template",null,72,e.W1O),e.YNc(6,cc,1,4,"ng-template",null,73,e.W1O),e.qZA()),2&d){const r=e.MAs(5),_=e.oxw().$implicit,P=e.oxw(2);e.Q6J("ngClass",e.WLB(7,ds,"left"===_.pinned,"right"===_.pinned))("ngStyle",e.kEZ(10,Sa,_.width,_.left,_.right)),e.xp6(1),e.Q6J("ngIf",_.showExpand),e.xp6(1),e.Q6J("ngIf",e.lcZ(3,5,P.summaryTemplate))("ngIfElse",r)}}function ad(d,g){if(1&d&&(e.ynx(0)(1,46),e.YNc(2,ks,9,20,"th",88),e.YNc(3,Su,10,20,"td",48),e.YNc(4,tl,8,14,"td",49),e.BQk()()),2&d){const r=g.$implicit;e.xp6(1),e.Q6J("matColumnDef",r.field)("sticky","left"===r.pinned)("stickyEnd","right"===r.pinned)}}function Tl(d,g){}function ld(d,g){1&d&&e._UZ(0,"tr",76)}function Oo(d,g){if(1&d&&e.YNc(0,ld,1,0,"tr",75),2&d){const r=e.oxw(2);e.Q6J("matHeaderRowDef",r.displayedColumns)("matHeaderRowDefSticky",!0)}}function cd(d,g){}function Au(d,g){if(1&d){const r=e.EpF();e.TgZ(0,"tr",78),e.NdJ("click",function(P){const ne=e.CHM(r),nt=ne.$implicit,St=ne.index,ti=ne.dataIndex,ui=e.oxw(3);return e.KtG(ui._selectRow(P,nt,ui._getIndex(St,ti)))}),e.ALo(1,"rowClass"),e.qZA()}if(2&d){const r=g.$implicit,_=g.index,P=g.dataIndex,ne=e.oxw(3);e.Tol(e.gM2(1,3,r,_,P,ne.rowClassFormatter)),e.Q6J("ngClass",e.VKq(8,Xa,ne.rowSelection.isSelected(r)))}}function dc(d,g){if(1&d&&e.YNc(0,Au,2,10,"tr",77),2&d){const r=e.oxw(2);e.Q6J("matRowDefColumns",r.displayedColumns)}}function dd(d,g){1&d&&e._UZ(0,"tr",80)}function Iu(d,g){if(1&d&&e.YNc(0,dd,1,0,"tr",79),2&d){const r=e.oxw(2);e.Q6J("matFooterRowDef",r.displayedColumns)("matFooterRowDefSticky",!0)}}function Ou(d,g){}function Ru(d,g){}function Pu(d,g){if(1&d&&(e.TgZ(0,"td",84)(1,"div",85),e.YNc(2,Ru,0,0,"ng-template",54),e.qZA()()),2&d){const r=g.$implicit,_=g.dataIndex,P=e.oxw(3);e.uIk("colspan",P.displayedColumns.length),e.xp6(1),e.Q6J("@expansion",P.expansionRowStates[_].expanded?"expanded":"collapsed"),e.xp6(1),e.Q6J("ngTemplateOutlet",P.expansionTemplate)("ngTemplateOutletContext",e.l5B(4,qa,r,r,_,P.expansionRowStates[_].expanded))}}function uc(d,g){if(1&d&&e._UZ(0,"tr",86),2&d){const r=g.dataIndex,_=e.oxw(3);e.Q6J("ngClass",e.VKq(1,rc,_.expansionRowStates[r].expanded?"expanded":"collapsed"))}}function Dh(d,g){1&d&&(e.ynx(0)(1,81),e.YNc(2,Pu,3,9,"td",82),e.BQk(),e.YNc(3,uc,1,3,"tr",83),e.BQk()),2&d&&(e.xp6(3),e.Q6J("matRowDefColumns",e.DdM(1,Gs)))}function am(d,g){if(1&d){const r=e.EpF();e.TgZ(0,"table",87),e.NdJ("matSortChange",function(P){e.CHM(r);const ne=e.oxw();return e.KtG(ne._onSortChange(P))}),e.YNc(1,yu,4,0,"ng-container",29),e.YNc(2,ad,5,3,"ng-container",30),e.YNc(3,Tl,0,0,"ng-template",13),e.YNc(4,Oo,1,2,"ng-template",null,31,e.W1O),e.YNc(6,cd,0,0,"ng-template",13),e.YNc(7,dc,1,1,"ng-template",null,32,e.W1O),e.YNc(9,Iu,1,2,"ng-template",33),e.YNc(10,Ou,0,0,"ng-template",33),e.YNc(11,Dh,4,2,"ng-container",34),e.qZA()}if(2&d){const r=e.MAs(5),_=e.MAs(8),P=e.oxw();e.Q6J("ngClass",e.kEZ(18,Jc,P.rowHover,P.rowStriped,P.expandable))("dataSource",P.dataSource)("multiTemplateDataRows",P.expandable)("matSortActive",P.sortActive)("matSortDirection",P.sortDirection)("matSortDisableClear",P.sortDisableClear)("matSortDisabled",P.sortDisabled)("matSortStart",P.sortStart)("trackBy",P.trackBy),e.xp6(1),e.Q6J("ngIf",P.rowSelectable&&!P.hideRowSelectionCheckbox),e.xp6(1),e.Q6J("ngForOf",P.columns),e.xp6(1),e.Q6J("ngIf",P.useContentHeaderRowTemplate)("ngIfElse",r),e.xp6(3),e.Q6J("ngIf",P.useContentRowTemplate)("ngIfElse",_),e.xp6(3),e.Q6J("ngIf",P._whetherShowSummary),e.xp6(1),e.Q6J("ngIf",P.useContentFooterRowTemplate),e.xp6(1),e.Q6J("ngIf",P.expandable)}}function El(d,g){}function ud(d,g){if(1&d&&e.YNc(0,El,0,0,"ng-template",23),2&d){const r=e.oxw(2);e.Q6J("ngTemplateOutlet",r.noResultTemplate)}}function Fu(d,g){if(1&d&&e._uU(0),2&d){const r=e.oxw(2);e.Oqu(r.noResultText)}}function hd(d,g){if(1&d&&(e.TgZ(0,"div",90),e.YNc(1,ud,1,1,"ng-template",13),e.YNc(2,Fu,1,1,"ng-template",null,91,e.W1O),e.qZA()),2&d){const r=e.MAs(3),_=e.oxw();e.xp6(1),e.Q6J("ngIf",_.noResultTemplate)("ngIfElse",r)}}function $s(d,g){}function md(d,g){if(1&d&&e.YNc(0,$s,0,0,"ng-template",23),2&d){const r=e.oxw(2);e.Q6J("ngTemplateOutlet",r.sidebarTemplate)}}function Sl(d,g){if(1&d&&(e.TgZ(0,"div",92),e.YNc(1,md,1,1,"ng-template",33),e.qZA()),2&d){const r=e.oxw();e.xp6(1),e.Q6J("ngIf",r.sidebarTemplate)}}function pd(d,g){}function fd(d,g){if(1&d&&e.YNc(0,pd,0,0,"ng-template",23),2&d){const r=e.oxw(2);e.Q6J("ngTemplateOutlet",r.statusbarTemplate)}}function hc(d,g){if(1&d&&(e.TgZ(0,"div",93),e.YNc(1,fd,1,1,"ng-template",33),e.qZA()),2&d){const r=e.oxw();e.xp6(1),e.Q6J("ngIf",r.statusbarTemplate)}}function Mh(d,g){}function mc(d,g){if(1&d&&e.YNc(0,Mh,0,0,"ng-template",23),2&d){const r=e.oxw();e.Q6J("ngTemplateOutlet",r.paginationTemplate)}}function Lu(d,g){if(1&d){const r=e.EpF();e.TgZ(0,"mat-paginator",94),e.NdJ("page",function(P){e.CHM(r);const ne=e.oxw();return e.KtG(ne._onPage(P))}),e.qZA()}if(2&d){const r=e.oxw();e.ekj("mat-paginator-hidden",!r.showPaginator),e.Q6J("showFirstLastButtons",r.showFirstLastButtons)("length",r.length)("pageIndex",r.pageIndex)("pageSize",r.pageSize)("pageSizeOptions",r.pageSizeOptions)("hidePageSize",r.hidePageSize)("disabled",r.pageDisabled)}}function pc(d,g){}function gd(d,g){if(1&d&&e.YNc(0,pc,0,0,"ng-template",54),2&d){const r=e.oxw(),P=r.colDef;e.Q6J("ngTemplateOutlet",r.$implicit)("ngTemplateOutletContext",e.WLB(2,Ss,P,P))}}function _d(d,g){}function ca(d,g){if(1&d&&e.YNc(0,_d,0,0,"ng-template",54),2&d){const r=e.oxw(2),P=r.colDef;e.Q6J("ngTemplateOutlet",r.$implicit[P.field])("ngTemplateOutletContext",e.WLB(2,Ss,P,P))}}function bd(d,g){if(1&d&&(e.YNc(0,ca,1,5,"ng-template",33),e.ALo(1,"isTemplateRef")),2&d){const r=e.oxw();let ne;e.Q6J("ngIf",e.lcZ(1,1,null==(ne=r.$implicit)?null:ne[r.colDef.field]))}}function kl(d,g){if(1&d&&(e.YNc(0,gd,1,5,"ng-template",13),e.ALo(1,"isTemplateRef"),e.YNc(2,bd,2,3,"ng-template",null,95,e.W1O)),2&d){const r=g.$implicit,_=e.MAs(3);e.Q6J("ngIf",e.lcZ(1,2,r))("ngIfElse",_)}}const Al=function(d){return{"mat-table-with-data":d}};let Il=(()=>{class d{constructor(){}getCellValue(r,_){const P=_.field?_.field.split("."):[];let ne="";return P.forEach((nt,St)=>{ne=0===St?r[nt]:ne&&ne[nt]}),ne}getColData(r,_){return r.map(P=>this.getCellValue(P,_))}str2arr(r){return r.replace(/[\r\n\s]/g,"").split(",")}isEmpty(r){return null==r||""===r.toString()}isContainHTML(r){return/<\/?[a-z][\s\S]*>/i.test(r)}}return d.\u0275fac=function(r){return new(r||d)},d.\u0275prov=e.Yz7({token:d,factory:d.\u0275fac}),d})();const yd=[...[Xn,Gn,Li],Zo];class fc extends Tn{getTableHeight(){const g=this.elementRef.nativeElement,r=g.parentNode;return r.classList.contains("mat-table-container")?r.offsetHeight:g.offsetHeight}}let Aa=(()=>{class d extends fc{constructor(r,_,P,ne,nt){super(),this.columnResizeNotifier=r,this.elementRef=_,this.eventDispatcher=P,this.ngZone=ne,this.notifier=nt}}return d.\u0275fac=function(r){return new(r||d)(e.Y36(Xn),e.Y36(e.SBq),e.Y36(Gn),e.Y36(e.R0b),e.Y36(Li))},d.\u0275dir=e.lG2({type:d,selectors:[["table","mat-table","","columnResize",""]],hostAttrs:[1,"mat-column-resize-table"],features:[e._Bn([...yd,{provide:Tn,useExisting:d}]),e.qOj]}),d})(),wd=(()=>{class d extends lo{constructor(r,_,P,ne,nt,St,ti,ui,hi,Ni){super(),this.columnDef=r,this.columnResize=_,this.directionality=P,this.elementRef=ne,this.eventDispatcher=nt,this.ngZone=St,this.resizeNotifier=ti,this.resizeRef=ui,this.styleScheduler=hi,this.document=Ni}updateResizeActive(r){super.updateResizeActive(r),this.resizeRef.overlayRef.updateSize({height:r?this.columnResize.getTableHeight():this.resizeRef.origin.nativeElement.offsetHeight})}}return d.\u0275fac=function(r){return new(r||d)(e.Y36(wo.fo),e.Y36(Tn),e.Y36(jt.Is),e.Y36(e.SBq),e.Y36(Gn),e.Y36(e.R0b),e.Y36(Li),e.Y36(jn),e.Y36(wo.nl),e.Y36(s.K0))},d.\u0275cmp=e.Xpm({type:d,selectors:[["ng-component"]],hostAttrs:[1,"mat-column-resize-overlay-thumb"],features:[e.qOj],decls:0,vars:0,template:function(r,_){},encapsulation:2,changeDetection:0}),d})();class Bu extends qn{constructor(){super(...arguments),this.minWidthPxInternal=32}getInlineHandleCssClassName(){return"mat-resizable-handle"}getOverlayHandleComponentType(){return wd}}let Cd=(()=>{class d extends Bu{get hasResizableClass(){return this.isResizable?"mat-resizable":""}get resizable(){return this.isResizable}set resizable(r){this.isResizable=null==r||""===r||r}constructor(r,_,P,ne,nt,St,ti,ui,hi,Ni,wi,tn,Cn,$i){super(),this.columnDef=r,this.columnResize=_,this.directionality=P,this.elementRef=nt,this.eventDispatcher=St,this.injector=ti,this.ngZone=ui,this.overlay=hi,this.resizeNotifier=Ni,this.resizeStrategy=wi,this.styleScheduler=tn,this.viewContainerRef=Cn,this.changeDetectorRef=$i,this.isResizable=!0,this.document=ne}}return d.\u0275fac=function(r){return new(r||d)(e.Y36(wo.fo),e.Y36(Tn),e.Y36(jt.Is),e.Y36(s.K0),e.Y36(e.SBq),e.Y36(Gn),e.Y36(e.zs3),e.Y36(e.R0b),e.Y36(qo.aV),e.Y36(Li),e.Y36(To),e.Y36(wo.nl),e.Y36(e.s_b),e.Y36(e.sBO))},d.\u0275dir=e.lG2({type:d,selectors:[["mat-header-cell","resizable",""],["th","mat-header-cell","","resizable",""]],hostVars:2,hostBindings:function(r,_){2&r&&e.Tol(_.hasResizableClass)},inputs:{minWidthPx:["matResizableMinWidthPx","minWidthPx"],maxWidthPx:["matResizableMaxWidthPx","maxWidthPx"],resizable:"resizable"},features:[e.qOj]}),d})(),Dd=(()=>{class d{transform(r,_,P,ne){return"string"==typeof r.class?r.class:"function"==typeof r.class?r.class(_,r):""}}return d.\u0275fac=function(r){return new(r||d)},d.\u0275pipe=e.Yjl({name:"colClass",type:d,pure:!0}),d})(),Md=(()=>{class d{transform(r,_,P,ne){const nt=void 0===_?P:_,St=nt%2==1?["mat-row-odd"]:[];if(ne)for(const ti of Object.keys(ne))ne[ti](r,nt)&&St.push(ti);return St.join(" ")}}return d.\u0275fac=function(r){return new(r||d)},d.\u0275pipe=e.Yjl({name:"rowClass",type:d,pure:!0}),d})(),il=(()=>{class d{transform(r,_,P,ne){return"function"==typeof r?r(_):Array.isArray(r)?r:[]}}return d.\u0275fac=function(r){return new(r||d)},d.\u0275pipe=e.Yjl({name:"cellActions",type:d,pure:!0}),d})(),Th=(()=>{class d{transform(r){return"string"==typeof r.tooltip||(0,zs.b)(r.tooltip)?{message:r.tooltip}:r.tooltip||{message:""}}}return d.\u0275fac=function(r){return new(r||d)},d.\u0275pipe=e.Yjl({name:"cellActionTooltip",type:d,pure:!0}),d})(),Hu=(()=>{class d{transform(r){return"number"==typeof r.badge||"string"==typeof r.badge||(0,zs.b)(r.badge)?{content:r.badge}:r.badge||{content:""}}}return d.\u0275fac=function(r){return new(r||d)},d.\u0275pipe=e.Yjl({name:"cellActionBadge",type:d,pure:!0}),d})(),nl=(()=>{class d{transform(r,_,P,ne){return"boolean"==typeof r.disabled?r.disabled:"function"==typeof r.disabled&&r.disabled(_)}}return d.\u0275fac=function(r){return new(r||d)},d.\u0275pipe=e.Yjl({name:"cellActionDisable",type:d,pure:!0}),d})(),zu=(()=>{class d{constructor(r){this.utils=r}transform(r,_){return"string"==typeof _.summary?_.summary:"function"==typeof _.summary?_.summary(this.utils.getColData(r,_),_):void 0}}return d.\u0275fac=function(r){return new(r||d)(e.Y36(Il,16))},d.\u0275pipe=e.Yjl({name:"cellSummary",type:d,pure:!0}),d})(),Ia=(()=>{class d{get _value(){return this._utils.getCellValue(this.rowData,this.colDef)}constructor(r,_,P,ne){this._dialog=r,this._utils=_,this._differs=P,this._changeDetectorRef=ne,this.rowData={},this.data=[],this.summary=!1,this.placeholder="--",this.rowDataChange=new e.vpe}ngOnInit(){this.rowDataDiffer=this._differs.find(this.rowData).create()}ngDoCheck(){const r=this.rowDataDiffer?.diff(this.rowData);r&&this._applyChanges(r)}_applyChanges(r){r.forEachChangedItem(_=>{this.rowChangeRecord=_,this.rowDataChange.emit(_),this._changeDetectorRef.markForCheck()})}_getText(r){return void 0===r?"":this._utils.isEmpty(r)?this.placeholder:r}_getTooltip(r){return this._utils.isEmpty(r)?"":r}_getFormatterTooltip(r){return this._utils.isContainHTML(r)||this._utils.isEmpty(r)?"":r}_onActionClick(r,_,P){r.preventDefault(),r.stopPropagation(),"string"==typeof _.pop||(0,zs.b)(_.pop)?this._dialog.open({title:_.pop,buttons:[{color:"primary",text:"OK",onClick:()=>_.click?.(P)||{}},{text:"CLOSE"}]}):"object"==typeof _.pop?this._dialog.open({title:_.pop?.title,description:_.pop?.description,buttons:[{color:_.pop?.okColor||"primary",text:_.pop?.okText||"OK",onClick:()=>_.click?.(P)||{}},{color:_.pop?.closeColor,text:_.pop?.closeText||"CLOSE"}]}):_.click?.(P)}_onImagePreview(r){const _=[];this._utils.str2arr(r).forEach((St,ti)=>{_.push({title:ti+1+"",src:St})}),new Vl(_,{title:_.length>1,footerToolbar:_.length>1?["zoomIn","zoomOut","prev","next","rotateRight","rotateLeft","actualSize"]:["zoomIn","zoomOut","rotateRight","rotateLeft","actualSize"]})}}return d.\u0275fac=function(r){return new(r||d)(e.Y36(si.cP),e.Y36(Il),e.Y36(e.aQg),e.Y36(e.sBO))},d.\u0275cmp=e.Xpm({type:d,selectors:[["mtx-grid-cell"]],inputs:{rowData:"rowData",colDef:"colDef",data:"data",summary:"summary",placeholder:"placeholder"},outputs:{rowDataChange:"rowDataChange"},exportAs:["mtxGridCell"],decls:5,vars:2,consts:[[3,"title","innerHTML",4,"ngIf","ngIfElse"],["customCellFormattingTpl",""],["defaultCellFormattingTpl",""],[3,"title","innerHTML"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[4,"ngFor","ngForOf"],[4,"ngIf"],["mat-raised-button","","type","button",3,"color","ngClass","disabled","matTooltip","matTooltipClass","matTooltipHideDelay","matTooltipShowDelay","matTooltipPosition","matTooltipPositionAtOrigin","matTooltipTouchGestures","matTooltipDisabled","matBadge","matBadgeDescription","matBadgeColor","matBadgePosition","matBadgeSize","matBadgeOverlap","matBadgeDisabled","matBadgeHidden","click"],["class","mtx-grid-icon",4,"ngIf"],[1,"mtx-grid-icon"],["mat-stroked-button","","type","button",3,"color","ngClass","disabled","matTooltip","matTooltipClass","matTooltipHideDelay","matTooltipShowDelay","matTooltipPosition","matTooltipPositionAtOrigin","matTooltipTouchGestures","matTooltipDisabled","matBadge","matBadgeDescription","matBadgeColor","matBadgePosition","matBadgeSize","matBadgeOverlap","matBadgeDisabled","matBadgeHidden","click"],["mat-flat-button","","type","button",3,"color","ngClass","disabled","matTooltip","matTooltipClass","matTooltipHideDelay","matTooltipShowDelay","matTooltipPosition","matTooltipPositionAtOrigin","matTooltipTouchGestures","matTooltipDisabled","matBadge","matBadgeDescription","matBadgeColor","matBadgePosition","matBadgeSize","matBadgeOverlap","matBadgeDisabled","matBadgeHidden","click"],["mat-icon-button","","type","button",3,"color","ngClass","disabled","matTooltip","matTooltipClass","matTooltipHideDelay","matTooltipShowDelay","matTooltipPosition","matTooltipPositionAtOrigin","matTooltipTouchGestures","matTooltipDisabled","matBadge","matBadgeDescription","matBadgeColor","matBadgePosition","matBadgeSize","matBadgeOverlap","matBadgeDisabled","matBadgeHidden","click"],["mat-fab","","type","button",3,"color","ngClass","disabled","matTooltip","matTooltipClass","matTooltipHideDelay","matTooltipShowDelay","matTooltipPosition","matTooltipPositionAtOrigin","matTooltipTouchGestures","matTooltipDisabled","matBadge","matBadgeDescription","matBadgeColor","matBadgePosition","matBadgeSize","matBadgeOverlap","matBadgeDisabled","matBadgeHidden","click"],["mat-mini-fab","","type","button",3,"color","ngClass","disabled","matTooltip","matTooltipClass","matTooltipHideDelay","matTooltipShowDelay","matTooltipPosition","matTooltipPositionAtOrigin","matTooltipTouchGestures","matTooltipDisabled","matBadge","matBadgeDescription","matBadgeColor","matBadgePosition","matBadgeSize","matBadgeOverlap","matBadgeDisabled","matBadgeHidden","click"],["mat-button","","type","button",3,"color","ngClass","disabled","matTooltip","matTooltipClass","matTooltipHideDelay","matTooltipShowDelay","matTooltipPosition","matTooltipPositionAtOrigin","matTooltipTouchGestures","matTooltipDisabled","matBadge","matBadgeDescription","matBadgeColor","matBadgePosition","matBadgeSize","matBadgeOverlap","matBadgeDisabled","matBadgeHidden","click"],[4,"ngIf","ngIfElse"],["tagEmptyTpl",""],["color","primary",3,"ngClass"],["target","_blank",3,"href"],[1,"mtx-grid-img",3,"src","click"],[3,"title"]],template:function(r,_){if(1&r&&(e.YNc(0,ul,3,8,"span",0),e.YNc(1,Ec,1,2,"ng-template",null,1,e.W1O),e.YNc(3,fh,11,10,"ng-template",null,2,e.W1O)),2&r){const P=e.MAs(2);e.Q6J("ngIf",_.summary)("ngIfElse",P)}},dependencies:[s.mk,s.sg,s.O5,s.RF,s.n9,s.ED,q.lW,q.RK,q.nh,q.cs,de.HS,de.z2,Be.gM,pt.k,he.Hw,s.Ov,s.JJ,s.Zx,s.H9,s.uU,At.yd,il,Th,Hu,nl,zu],styles:[".mtx-grid-img{display:block;width:32px;border-radius:4px;cursor:pointer}\n"],encapsulation:2,changeDetection:0}),d})(),ol=(()=>{class d{constructor(){this.columns=[],this.selectable=!0,this.selectableChecked="show",this.sortable=!0,this.pinnable=!0,this._buttonText="",this.buttonType="stroked",this.buttonClass="",this.buttonIcon="",this.showHeader=!1,this.headerText="Columns Header",this.showFooter=!1,this.footerText="Columns Footer",this.columnChange=new e.vpe,this._pinOptions=[{label:"Pin Left",value:"left"},{label:"Pin Right",value:"right"},{label:"No Pin",value:null}]}get buttonText(){return this._buttonText?this._buttonText:"Columns "+("show"===this.selectableChecked?"Shown":"Hidden")}set buttonText(r){this._buttonText=r}get pinOptions(){return this._pinOptions}set pinOptions(r){r.length>0&&(this._pinOptions=r)}_handleDroped(r){$t(this.columns,r.previousIndex,r.currentIndex),this.columnChange.emit(this.columns)}_handleChecked(r){"show"===this.selectableChecked?r.hide=!r.show:r.show=!r.hide,this.columnChange.emit(this.columns)}_handlePinSelect(r,_){r.pinned!=_&&(r.pinned=_,this.columnChange.emit(this.columns))}}return d.\u0275fac=function(r){return new(r||d)},d.\u0275cmp=e.Xpm({type:d,selectors:[["mtx-grid-column-menu"]],viewQuery:function(r,_){if(1&r&&(e.Gf(qd,7),e.Gf(Qe.p6,5)),2&r){let P;e.iGM(P=e.CRH())&&(_.menuPanel=P.first),e.iGM(P=e.CRH())&&(_.menuTrigger=P.first)}},inputs:{columns:"columns",selectable:"selectable",selectableChecked:"selectableChecked",sortable:"sortable",pinnable:"pinnable",buttonText:"buttonText",buttonType:"buttonType",buttonColor:"buttonColor",buttonClass:"buttonClass",buttonIcon:"buttonIcon",showHeader:"showHeader",headerText:"headerText",headerTemplate:"headerTemplate",showFooter:"showFooter",footerText:"footerText",footerTemplate:"footerTemplate",pinOptions:"pinOptions"},outputs:{columnChange:"columnChange"},exportAs:["mtxGridColumnMenu"],decls:18,vars:11,consts:[[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"mtx-grid-column-menu"],["menu","matMenu"],[1,"mtx-grid-column-menu-content",3,"click","keydown"],["class","mtx-grid-column-menu-header",4,"ngIf"],[1,"mtx-grid-column-menu-body"],["class","mtx-grid-column-menu-list","cdkDropList","",3,"cdkDropListDropped",4,"ngIf"],["class","mtx-grid-column-menu-list",4,"ngIf"],["class","mtx-grid-column-menu-footer",4,"ngIf"],["checkboxList",""],["mat-raised-button","","type","button",3,"ngClass","color","matMenuTriggerFor"],[4,"ngIf"],["mat-stroked-button","","type","button",3,"ngClass","color","matMenuTriggerFor"],["mat-flat-button","","type","button",3,"ngClass","color","matMenuTriggerFor"],["mat-icon-button","","type","button",3,"ngClass","color","matMenuTriggerFor"],["mat-fab","","type","button",3,"ngClass","color","matMenuTriggerFor"],["mat-mini-fab","","type","button",3,"ngClass","color","matMenuTriggerFor"],["mat-button","","type","button",3,"ngClass","color","matMenuTriggerFor"],[1,"mtx-grid-column-menu-header"],[3,"ngIf","ngIfElse"],["defaultHeaderTpl",""],[3,"ngTemplateOutlet"],["cdkDropList","",1,"mtx-grid-column-menu-list",3,"cdkDropListDropped"],["class","mtx-grid-column-menu-item","cdkDrag","",3,"cdkDragDisabled",4,"ngFor","ngForOf"],["cdkDrag","",1,"mtx-grid-column-menu-item",3,"cdkDragDisabled"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mtx-grid-icon","mtx-grid-column-drag-handle-icon"],["d","M7,19V17H9V19H7M11,19V17H13V19H11M15,19V17H17V19H15M7,15V13H9V15H7M11,15V13H13V15H11M15,15V13H17V15H15M7,11V9H9V11H7M11,11V9H13V11H11M15,11V9H17V11H15M7,7V5H9V7H7M11,7V5H13V7H11M15,7V5H17V7H15Z"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mtx-grid-column-menu-list"],["class","mtx-grid-column-menu-item",4,"ngFor","ngForOf"],[1,"mtx-grid-column-menu-item"],[1,"mtx-grid-column-menu-footer"],["defaultFooterTpl",""],["class","mtx-grid-column-menu-item-label",3,"ngModel","disabled","ngModelChange","change",4,"ngIf"],["class","mtx-grid-column-menu-item-label",4,"ngIf"],["mat-icon-button","","type","button",1,"mtx-grid-column-pin-button",3,"matMenuTriggerFor"],["class","mtx-grid-icon mtx-grid-column-pin-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["class","mtx-grid-icon mtx-grid-column-pin-off-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],[1,"mtx-grid-column-pin-list"],["pinList","matMenu"],["class","mtx-grid-column-pin-option","type","button","mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mtx-grid-icon","mtx-grid-column-pin-icon"],["d","M16,12V4H17V2H7V4H8V12L6,14V16H11.2V22H12.8V16H18V14L16,12Z"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mtx-grid-icon","mtx-grid-column-pin-off-icon"],["d","M2,5.27L3.28,4L20,20.72L18.73,22L12.8,16.07V22H11.2V16H6V14L8,12V11.27L2,5.27M16,12L18,14V16H17.82L8,6.18V4H7V2H17V4H16V12Z"],["type","button","mat-menu-item","",1,"mtx-grid-column-pin-option",3,"click"],[1,"mtx-grid-column-pin-option-placeholder"],["class","mtx-grid-icon mtx-grid-column-pin-check-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],[1,"mtx-grid-column-pin-option-text"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mtx-grid-icon","mtx-grid-column-pin-check-icon"],["d","M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"],[1,"mtx-grid-column-menu-item-label",3,"ngModel","disabled","ngModelChange","change"],[1,"mtx-grid-column-menu-item-label"]],template:function(r,_){1&r&&(e.ynx(0,0),e.YNc(1,pl,4,5,"ng-container",1),e.YNc(2,Rc,4,5,"ng-container",1),e.YNc(3,fs,4,5,"ng-container",1),e.YNc(4,tu,3,4,"ng-container",1),e.YNc(5,Fc,4,5,"ng-container",1),e.YNc(6,nu,4,5,"ng-container",1),e.YNc(7,ru,4,5,"ng-container",2),e.BQk(),e.TgZ(8,"mat-menu",3,4)(10,"div",5),e.NdJ("click",function(ne){return ne.stopPropagation()})("keydown",function(ne){return ne.stopPropagation()}),e.YNc(11,Ar,4,2,"div",6),e.TgZ(12,"div",7),e.YNc(13,Mo,2,1,"div",8),e.YNc(14,jl,2,1,"div",9),e.qZA(),e.YNc(15,sa,4,2,"div",10),e.qZA()(),e.YNc(16,In,3,3,"ng-template",null,11,e.W1O)),2&r&&(e.Q6J("ngSwitch",_.buttonType),e.xp6(1),e.Q6J("ngSwitchCase","raised"),e.xp6(1),e.Q6J("ngSwitchCase","stroked"),e.xp6(1),e.Q6J("ngSwitchCase","flat"),e.xp6(1),e.Q6J("ngSwitchCase","icon"),e.xp6(1),e.Q6J("ngSwitchCase","fab"),e.xp6(1),e.Q6J("ngSwitchCase","mini-fab"),e.xp6(5),e.Q6J("ngIf",_.showHeader),e.xp6(2),e.Q6J("ngIf",_.sortable),e.xp6(1),e.Q6J("ngIf",!_.sortable),e.xp6(1),e.Q6J("ngIf",_.showFooter))},dependencies:[s.mk,s.sg,s.O5,s.tP,s.RF,s.n9,s.ED,T.JJ,T.On,X.oG,q.lW,q.RK,q.nh,q.cs,he.Hw,Qe.VK,Qe.OP,Qe.p6,Ci,bt,s.Ov,At.yd],styles:[".mtx-grid-column-menu .mat-menu-content{padding:0}.mtx-grid-column-menu-body{padding:8px 16px}.mtx-grid-column-menu-header,.mtx-grid-column-menu-footer{position:sticky;z-index:1;padding:8px 16px}.mtx-grid-column-menu-header{top:0}.mtx-grid-column-menu-footer{bottom:0}.mtx-grid-column-menu-list{display:block;max-width:100%}.mtx-grid-column-menu-list.cdk-drop-list-dragging .mtx-grid-column-menu-item:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}.mtx-grid-column-menu-item{display:flex;flex-direction:row;align-items:center}.mtx-grid-column-menu-item.cdk-drag-disabled .cdk-drag-handle{opacity:.35;cursor:no-drop}.mtx-grid-column-menu-item .cdk-drag-handle{cursor:move}.mtx-grid-column-menu-item.cdk-drag-preview{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mtx-grid-column-menu-item.cdk-drag-placeholder{opacity:0}.mtx-grid-column-menu-item.cdk-drag-animating{transition:transform .25s cubic-bezier(0,0,.2,1)}.mtx-grid-column-pin-button.mat-mdc-icon-button{width:40px;height:40px;padding:8px}.mtx-grid-column-pin-button.mat-mdc-icon-button .mat-mdc-button-touch-target{width:100%;height:100%}.mtx-grid-column-pin-option.mat-menu-item{display:flex;align-items:center;height:32px}.mtx-grid-column-pin-option-placeholder{display:inline-block;width:20px;height:20px;line-height:20px;vertical-align:middle}.mtx-grid-column-pin-option-text{padding:0 8px;vertical-align:middle}.mtx-grid-column-drag-handle-icon:hover{cursor:move}\n"],encapsulation:2,changeDetection:0}),d})(),Uu=(()=>{class d{get opened(){return this._opened}set opened(r){this._opened=r,this.openedChange.emit(r)}get expanded(){return this._opened}set expandableRow(r){r!==this._row&&(this._row=r)}set template(r){r!==this._tplRef&&(this._tplRef=r)}constructor(){this._opened=!1,this.openedChange=new e.vpe,this.toggleChange=new e.vpe}onClick(r){r.preventDefault(),r.stopPropagation(),this.toggle()}toggle(){this.opened=!this.opened,this.toggleChange.emit(this)}}return d.\u0275fac=function(r){return new(r||d)},d.\u0275dir=e.lG2({type:d,selectors:[["","mtx-grid-expansion-toggle",""]],hostVars:2,hostBindings:function(r,_){1&r&&e.NdJ("click",function(ne){return _.onClick(ne)}),2&r&&e.ekj("expanded",_.expanded)},inputs:{opened:"opened",expandableRow:"expandableRow",template:["expansionRowTpl","template"]},outputs:{openedChange:"openedChange",toggleChange:"toggleChange"}}),d})();const Td=new e.OlP("mtx-grid-default-options");let Ed=(()=>{class d{get _hasNoResult(){return!(this.dataSource.data&&0!==this.dataSource.data.length||this.loading)}get _whetherShowSummary(){return this.showSummary}constructor(r,_,P){this._utils=r,this._changeDetectorRef=_,this._defaultOptions=P,this.dataSource=new l.by,this.displayedColumns=[],this.columns=[],this.data=[],this.length=0,this.loading=!1,this.columnResizable=this._defaultOptions?.columnResizable??!1,this.emptyValuePlaceholder=this._defaultOptions?.emptyValuePlaceholder??"--",this.pageOnFront=this._defaultOptions?.pageOnFront??!0,this.showPaginator=this._defaultOptions?.showPaginator??!0,this.pageDisabled=this._defaultOptions?.pageDisabled??!1,this.showFirstLastButtons=this._defaultOptions?.showFirstLastButtons??!0,this.pageIndex=this._defaultOptions?.pageIndex??0,this.pageSize=this._defaultOptions?.pageSize??10,this.pageSizeOptions=this._defaultOptions?.pageSizeOptions??[10,50,100],this.hidePageSize=this._defaultOptions?.hidePageSize??!1,this.page=new e.vpe,this.sortOnFront=this._defaultOptions?.sortOnFront??!0,this.sortActive=this._defaultOptions?.sortActive??"",this.sortDirection=this._defaultOptions?.sortDirection??"",this.sortDisableClear=this._defaultOptions?.sortDisableClear??!1,this.sortDisabled=this._defaultOptions?.sortDisabled??!1,this.sortStart=this._defaultOptions?.sortStart??"asc",this.sortChange=new e.vpe,this.rowHover=this._defaultOptions?.rowHover??!1,this.rowStriped=this._defaultOptions?.rowStriped??!1,this.rowClick=new e.vpe,this.expansionRowStates=[],this.expandable=!1,this.expansionChange=new e.vpe,this.rowSelection=new nn.Ov(!0,[]),this.multiSelectable=this._defaultOptions?.multiSelectable??!0,this.multiSelectionWithClick=this._defaultOptions?.multiSelectionWithClick??!1,this.rowSelected=[],this.rowSelectable=this._defaultOptions?.rowSelectable??!1,this.hideRowSelectionCheckbox=this._defaultOptions?.hideRowSelectionCheckbox??!1,this.disableRowClickSelection=this._defaultOptions?.disableRowClickSelection??!1,this.rowSelectionFormatter={},this.rowSelectionChange=new e.vpe,this.cellSelection=[],this.cellSelectable=this._defaultOptions?.cellSelectable??!0,this.cellSelectionChange=new e.vpe,this.showToolbar=this._defaultOptions?.showToolbar??!1,this.toolbarTitle=this._defaultOptions?.toolbarTitle??"",this.columnHideable=this._defaultOptions?.columnHideable??!0,this.columnHideableChecked=this._defaultOptions?.columnHideableChecked??"show",this.columnSortable=this._defaultOptions?.columnSortable??!0,this.columnPinnable=this._defaultOptions?.columnPinnable??!0,this.columnChange=new e.vpe,this.columnPinOptions=this._defaultOptions?.columnPinOptions??[],this.showColumnMenuButton=this._defaultOptions?.showColumnMenuButton??!0,this.columnMenuButtonText=this._defaultOptions?.columnMenuButtonText??"",this.columnMenuButtonType=this._defaultOptions?.columnMenuButtonType??"stroked",this.columnMenuButtonColor=this._defaultOptions?.columnMenuButtonColor,this.columnMenuButtonClass=this._defaultOptions?.columnMenuButtonClass??"",this.columnMenuButtonIcon=this._defaultOptions?.columnMenuButtonIcon??"",this.showColumnMenuHeader=this._defaultOptions?.showColumnMenuHeader??!1,this.columnMenuHeaderText=this._defaultOptions?.columnMenuHeaderText??"Columns Header",this.showColumnMenuFooter=this._defaultOptions?.showColumnMenuFooter??!1,this.columnMenuFooterText=this._defaultOptions?.columnMenuFooterText??"Columns Footer",this.noResultText=this._defaultOptions?.noResultText??"No records found",this.useContentRowTemplate=!1,this.useContentHeaderRowTemplate=!1,this.useContentFooterRowTemplate=!1,this.showSummary=!1,this.showSidebar=!1,this.showStatusbar=!1}detectChanges(){this._changeDetectorRef.detectChanges()}_getColData(r,_){return this._utils.getColData(r,_)}_isColumnHide(r){return void 0!==r.hide?r.hide:void 0!==r.show&&!r.show}ngOnChanges(r){this._countPinnedPosition(),this.displayedColumns=this.columns.filter(_=>!this._isColumnHide(_)).map(_=>_.field),this.showColumnMenuButton&&this.columns.forEach(_=>{_.hide=this._isColumnHide(_),_.show=!_.hide}),this.rowSelectable&&!this.hideRowSelectionCheckbox&&this.displayedColumns.unshift("MtxGridCheckboxColumnDef"),this.expandable&&(this.expansionRowStates=[],this.data?.forEach(_=>{this.expansionRowStates.push({expanded:!1})})),this.rowSelectable&&(this.rowSelection=new nn.Ov(this.multiSelectable,this.rowSelected)),this.dataSource=new l.by(this.data),this.dataSource.paginator=this.pageOnFront?this.paginator:null,this.dataSource.sort=this.sortOnFront?this.sort:null,r.data&&this.scrollTop(0)}ngAfterViewInit(){this.pageOnFront&&(this.dataSource.paginator=this.paginator),this.sortOnFront&&(this.dataSource.sort=this.sort),this.rowDefs?.length>0&&this.useContentRowTemplate&&this.rowDefs.forEach(r=>this.table.addRowDef(r)),this.headerRowDefs?.length>0&&this.useContentHeaderRowTemplate&&this.headerRowDefs.forEach(r=>this.table.addHeaderRowDef(r)),this.footerRowDefs?.length>0&&this.useContentFooterRowTemplate&&this.footerRowDefs.forEach(r=>this.table.addFooterRowDef(r))}ngOnDestroy(){}_countPinnedPosition(){const r=(ne,nt)=>ne+parseFloat(nt.width||"80px"),_=this.columns.filter(ne=>ne.pinned&&"left"===ne.pinned);_.forEach((ne,nt)=>{ne.left=_.slice(0,nt).reduce(r,0)+"px"});const P=this.columns.filter(ne=>ne.pinned&&"right"===ne.pinned).reverse();P.forEach((ne,nt)=>{ne.right=P.slice(0,nt).reduce(r,0)+"px"})}_getIndex(r,_){return void 0===r?_:r}_onSortChange(r){this.sortChange.emit(r)}_onRowDataChange(r){this.rowChangeRecord=r,this._changeDetectorRef.markForCheck()}_onExpansionChange(r,_,P,ne){this.expansionChange.emit({expanded:r.expanded,data:_,index:ne,column:P})}_selectCell(r,_,P){if(this._selectedCell!==r){const ne=this._utils.getCellValue(_,P);this.cellSelection=[],this.cellSelection.push({cellData:ne,rowData:_,colDef:P}),this.cellSelectionChange.emit(this.cellSelection),this._selectedCell&&this._selectedCell.deselect()}this._selectedCell=r.selected?r:void 0}_selectRow(r,_,P){this.rowSelectable&&!this.rowSelectionFormatter.disabled?.(_,P)&&!this.rowSelectionFormatter.hideCheckbox?.(_,P)&&!this.disableRowClickSelection&&(!this.multiSelectionWithClick&&!r.ctrlKey&&!r.metaKey&&this.rowSelection.clear(),this._toggleNormalCheckbox(_)),this.rowClick.emit({event:r,rowData:_,index:P})}_isAllSelected(){return this.rowSelection.selected.length===this.dataSource.data.filter((P,ne)=>!this.rowSelectionFormatter.disabled?.(P,ne)).length}_toggleMasterCheckbox(){this._isAllSelected()?this.rowSelection.clear():this.dataSource.data.forEach((r,_)=>{this.rowSelectionFormatter.disabled?.(r,_)||this.rowSelection.select(r)}),this.rowSelectionChange.emit(this.rowSelection.selected)}_toggleNormalCheckbox(r){this.rowSelection.toggle(r),this.rowSelectionChange.emit(this.rowSelection.selected)}_onColumnChange(r){this.columnChange.emit(r),this.displayedColumns=Object.assign([],this.getDisplayedColumnFields(r)),this.rowSelectable&&!this.hideRowSelectionCheckbox&&this.displayedColumns.unshift("MtxGridCheckboxColumnDef")}getDisplayedColumnFields(r){return r.filter(P=>"show"===this.columnHideableChecked?P.show:!P.hide).map(P=>P.field)}toggleExpansion(r){if(!this.expandable)throw new Error("The `expandable` should be set true.");return this.expansionRowStates[r].expanded=!this.expansionRowStates[r].expanded,this.expansionRowStates[r].expanded}_onPage(r){this.pageOnFront&&this.scrollTop(0),this.page.emit(r)}scrollTop(r){if(null==r)return this.tableContainer?.nativeElement.scrollTop;this.tableContainer&&!this.loading&&(this.tableContainer.nativeElement.scrollTop=r)}scrollLeft(r){if(null==r)return this.tableContainer?.nativeElement.scrollLeft;this.tableContainer&&!this.loading&&(this.tableContainer.nativeElement.scrollLeft=r)}}return d.\u0275fac=function(r){return new(r||d)(e.Y36(Il),e.Y36(e.sBO),e.Y36(Td,8))},d.\u0275cmp=e.Xpm({type:d,selectors:[["mtx-grid"]],contentQueries:function(r,_,P){if(1&r&&(e.Suo(P,l.nj,4),e.Suo(P,l.as,4),e.Suo(P,l.Q2,4)),2&r){let ne;e.iGM(ne=e.CRH())&&(_.rowDefs=ne),e.iGM(ne=e.CRH())&&(_.headerRowDefs=ne),e.iGM(ne=e.CRH())&&(_.footerRowDefs=ne)}},viewQuery:function(r,_){if(1&r&&(e.Gf(l.BZ,5),e.Gf(O.NW,5),e.Gf(b.YE,5),e.Gf(gh,5),e.Gf(Uc,5)),2&r){let P;e.iGM(P=e.CRH())&&(_.table=P.first),e.iGM(P=e.CRH())&&(_.paginator=P.first),e.iGM(P=e.CRH())&&(_.sort=P.first),e.iGM(P=e.CRH())&&(_.columnMenu=P.first),e.iGM(P=e.CRH())&&(_.tableContainer=P.first)}},hostAttrs:[1,"mtx-grid"],inputs:{displayedColumns:"displayedColumns",columns:"columns",data:"data",length:"length",loading:"loading",trackBy:"trackBy",columnResizable:"columnResizable",emptyValuePlaceholder:"emptyValuePlaceholder",pageOnFront:"pageOnFront",showPaginator:"showPaginator",pageDisabled:"pageDisabled",showFirstLastButtons:"showFirstLastButtons",pageIndex:"pageIndex",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",paginationTemplate:"paginationTemplate",sortOnFront:"sortOnFront",sortActive:"sortActive",sortDirection:"sortDirection",sortDisableClear:"sortDisableClear",sortDisabled:"sortDisabled",sortStart:"sortStart",rowHover:"rowHover",rowStriped:"rowStriped",expandable:"expandable",expansionTemplate:"expansionTemplate",multiSelectable:"multiSelectable",multiSelectionWithClick:"multiSelectionWithClick",rowSelected:"rowSelected",rowSelectable:"rowSelectable",hideRowSelectionCheckbox:"hideRowSelectionCheckbox",disableRowClickSelection:"disableRowClickSelection",rowSelectionFormatter:"rowSelectionFormatter",rowClassFormatter:"rowClassFormatter",cellSelectable:"cellSelectable",showToolbar:"showToolbar",toolbarTitle:"toolbarTitle",toolbarTemplate:"toolbarTemplate",columnHideable:"columnHideable",columnHideableChecked:"columnHideableChecked",columnSortable:"columnSortable",columnPinnable:"columnPinnable",columnPinOptions:"columnPinOptions",showColumnMenuButton:"showColumnMenuButton",columnMenuButtonText:"columnMenuButtonText",columnMenuButtonType:"columnMenuButtonType",columnMenuButtonColor:"columnMenuButtonColor",columnMenuButtonClass:"columnMenuButtonClass",columnMenuButtonIcon:"columnMenuButtonIcon",showColumnMenuHeader:"showColumnMenuHeader",columnMenuHeaderText:"columnMenuHeaderText",columnMenuHeaderTemplate:"columnMenuHeaderTemplate",showColumnMenuFooter:"showColumnMenuFooter",columnMenuFooterText:"columnMenuFooterText",columnMenuFooterTemplate:"columnMenuFooterTemplate",noResultText:"noResultText",noResultTemplate:"noResultTemplate",headerTemplate:"headerTemplate",headerExtraTemplate:"headerExtraTemplate",cellTemplate:"cellTemplate",useContentRowTemplate:"useContentRowTemplate",useContentHeaderRowTemplate:"useContentHeaderRowTemplate",useContentFooterRowTemplate:"useContentFooterRowTemplate",showSummary:"showSummary",summaryTemplate:"summaryTemplate",showSidebar:"showSidebar",sidebarTemplate:"sidebarTemplate",showStatusbar:"showStatusbar",statusbarTemplate:"statusbarTemplate"},outputs:{page:"page",sortChange:"sortChange",rowClick:"rowClick",expansionChange:"expansionChange",rowSelectionChange:"rowSelectionChange",cellSelectionChange:"cellSelectionChange",columnChange:"columnChange"},exportAs:["mtxGrid"],features:[e.TTD],decls:18,vars:12,consts:[["class","mtx-grid-progress",4,"ngIf"],["class","mtx-grid-toolbar",4,"ngIf"],[1,"mtx-grid-main","mtx-grid-layout"],[1,"mtx-grid-content","mtx-grid-layout"],[1,"mat-table-container",3,"ngClass"],["tableContainer",""],["mat-table","","matSort","",3,"ngClass","dataSource","multiTemplateDataRows","matSortActive","matSortDirection","matSortDisableClear","matSortDisabled","matSortStart","trackBy","matSortChange",4,"ngIf"],["mat-table","","columnResize","","matSort","",3,"ngClass","dataSource","multiTemplateDataRows","matSortActive","matSortDirection","matSortDisableClear","matSortDisabled","matSortStart","trackBy","matSortChange",4,"ngIf"],["class","mtx-grid-no-result",4,"ngIf"],["class","mtx-grid-sidebar",4,"ngIf"],[1,"mtx-grid-footer"],["class","mtx-grid-statusbar",4,"ngIf"],[1,"mtx-grid-pagination"],[3,"ngIf","ngIfElse"],["defaultPaginationTemplate",""],["headerExtraTplBase",""],[1,"mtx-grid-progress"],["mode","indeterminate"],[1,"mtx-grid-toolbar"],[1,"mtx-grid-toolbar-content"],["defaultToolbarTemplate",""],[1,"mtx-grid-toolbar-actions"],[3,"columns","buttonText","buttonType","buttonColor","buttonClass","buttonIcon","selectable","selectableChecked","sortable","pinnable","showHeader","headerText","headerTemplate","showFooter","footerText","footerTemplate","pinOptions","columnChange",4,"ngIf"],[3,"ngTemplateOutlet"],["class","mtx-grid-toolbar-title",4,"ngIf"],[1,"mtx-grid-toolbar-title"],[3,"columns","buttonText","buttonType","buttonColor","buttonClass","buttonIcon","selectable","selectableChecked","sortable","pinnable","showHeader","headerText","headerTemplate","showFooter","footerText","footerTemplate","pinOptions","columnChange"],["columnMenu",""],["mat-table","","matSort","",3,"ngClass","dataSource","multiTemplateDataRows","matSortActive","matSortDirection","matSortDisableClear","matSortDisabled","matSortStart","trackBy","matSortChange"],["matColumnDef","MtxGridCheckboxColumnDef",4,"ngIf"],[4,"ngFor","ngForOf"],["defaultHeaderRowTpl",""],["defaultRowTpl",""],[3,"ngIf"],[4,"ngIf"],["matColumnDef","MtxGridCheckboxColumnDef"],["mat-header-cell","","class","mtx-grid-checkbox-cell",4,"matHeaderCellDef"],["mat-cell","","class","mtx-grid-checkbox-cell",4,"matCellDef"],["mat-footer-cell","","class","mtx-grid-checkbox-cell",4,"matFooterCellDef"],["mat-header-cell","",1,"mtx-grid-checkbox-cell"],[3,"checked","indeterminate","change",4,"ngIf"],[3,"checked","indeterminate","change"],["mat-cell","",1,"mtx-grid-checkbox-cell"],[3,"disabled","checked","click","change",4,"ngIf"],[3,"disabled","checked","click","change"],["mat-footer-cell","",1,"mtx-grid-checkbox-cell"],[3,"matColumnDef","sticky","stickyEnd"],["mat-header-cell","",3,"class","ngClass","ngStyle",4,"matHeaderCellDef"],["mat-cell","","mtx-grid-selectable-cell","",3,"class","ngClass","ngStyle","cellSelectionChange",4,"matCellDef"],["mat-footer-cell","",3,"ngClass","ngStyle",4,"matFooterCellDef"],["mat-header-cell","",3,"ngClass","ngStyle"],[1,"mat-header-cell-inner"],["headerTpl",""],["defaultHeaderTpl",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"mat-sort-header","disabled","disableClear","arrowPosition","start"],["class","mtx-grid-expansion-placeholder",4,"ngIf"],["class","mtx-grid-icon mat-sort-header-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],[1,"mtx-grid-expansion-placeholder"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mtx-grid-icon","mat-sort-header-icon"],["d","M3,13H15V11H3M3,6V8H21V6M3,18H9V16H3V18Z"],["mat-cell","","mtx-grid-selectable-cell","",3,"ngClass","ngStyle","cellSelectionChange"],["cellTpl",""],["colDefCellTpl",""],["defaultCellTpl",""],[3,"ngIf","ngIfElse","ngTemplateOutlet","ngTemplateOutletContext"],["class","mtx-grid-row-expand-button","mat-icon-button","","mtx-grid-expansion-toggle","","type","button",3,"opened","openedChange","toggleChange",4,"ngIf"],[3,"rowData","colDef","placeholder","rowDataChange"],["mat-icon-button","","mtx-grid-expansion-toggle","","type","button",1,"mtx-grid-row-expand-button",3,"opened","openedChange","toggleChange"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mtx-grid-icon","mtx-grid-row-expand-icon"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-footer-cell","",3,"ngClass","ngStyle"],["summaryTpl",""],["defaultSummaryTpl",""],[3,"summary","data","colDef","placeholder"],["mat-header-row","",4,"matHeaderRowDef","matHeaderRowDefSticky"],["mat-header-row",""],["mat-row","",3,"class","ngClass","click",4,"matRowDef","matRowDefColumns"],["mat-row","",3,"ngClass","click"],["mat-footer-row","",4,"matFooterRowDef","matFooterRowDefSticky"],["mat-footer-row",""],["matColumnDef","MtxGridExpansionColumnDef"],["mat-cell","",4,"matCellDef"],["mat-row","",3,"ngClass",4,"matRowDef","matRowDefColumns"],["mat-cell",""],[1,"mtx-grid-expansion-detail"],["mat-row","",3,"ngClass"],["mat-table","","columnResize","","matSort","",3,"ngClass","dataSource","multiTemplateDataRows","matSortActive","matSortDirection","matSortDisableClear","matSortDisabled","matSortStart","trackBy","matSortChange"],["mat-header-cell","",3,"class","ngClass","ngStyle","resizable","matResizableMinWidthPx","matResizableMaxWidthPx",4,"matHeaderCellDef"],["mat-header-cell","",3,"ngClass","ngStyle","resizable","matResizableMinWidthPx","matResizableMaxWidthPx"],[1,"mtx-grid-no-result"],["defaultNoResultTpl",""],[1,"mtx-grid-sidebar"],[1,"mtx-grid-statusbar"],[3,"showFirstLastButtons","length","pageIndex","pageSize","pageSizeOptions","hidePageSize","disabled","page"],["headerExtraTpl",""]],template:function(r,_){if(1&r&&(e.YNc(0,fl,2,0,"div",0),e.YNc(1,lu,7,3,"div",1),e.TgZ(2,"div",2)(3,"div",3)(4,"div",4,5),e.YNc(6,bu,12,22,"table",6),e.YNc(7,am,12,22,"table",7),e.qZA(),e.YNc(8,hd,4,2,"div",8),e.qZA(),e.YNc(9,Sl,2,1,"div",9),e.qZA(),e.TgZ(10,"div",10),e.YNc(11,hc,2,1,"div",11),e.TgZ(12,"div",12),e.YNc(13,mc,1,1,"ng-template",13),e.YNc(14,Lu,1,9,"ng-template",null,14,e.W1O),e.qZA()(),e.YNc(16,kl,4,4,"ng-template",null,15,e.W1O)),2&r){const P=e.MAs(15);e.Q6J("ngIf",_.loading),e.xp6(1),e.Q6J("ngIf",_.showToolbar),e.xp6(3),e.Q6J("ngClass",e.VKq(10,Al,!_._hasNoResult)),e.xp6(2),e.Q6J("ngIf",!_.columnResizable),e.xp6(1),e.Q6J("ngIf",_.columnResizable),e.xp6(1),e.Q6J("ngIf",_._hasNoResult),e.xp6(1),e.Q6J("ngIf",_.showSidebar),e.xp6(2),e.Q6J("ngIf",_.showStatusbar),e.xp6(2),e.Q6J("ngIf",_.paginationTemplate)("ngIfElse",P)}},dependencies:function(){return[s.mk,s.sg,s.O5,s.tP,s.PC,l.BZ,l.fO,l.as,l.w1,l.Dz,l.nj,l.mD,l.Ke,l.ge,l.ev,l.yh,l.XQ,l.Gk,l.Q2,b.YE,b.nU,O.NW,X.oG,q.RK,Ee.pW,Aa,Cd,Ia,ol,Uu,Yu,s.Ov,At.yd,At.U7,Md,Dd]},styles:[".mtx-grid{position:relative;display:flex;flex-direction:column;width:100%}.mtx-grid .mat-table-container{overflow:auto}.mtx-grid .mat-table-container.mat-table-with-data{flex:1}.mtx-grid .mat-mdc-table:not(.mat-column-resize-table){min-width:100%;border-collapse:separate}.mtx-grid .mat-mdc-table:not(.mat-column-resize-table) .mat-mdc-header-cell:not(.mtx-grid-checkbox-cell),.mtx-grid .mat-mdc-table:not(.mat-column-resize-table) .mat-mdc-footer-cell:not(.mtx-grid-checkbox-cell),.mtx-grid .mat-mdc-table:not(.mat-column-resize-table) .mat-mdc-cell:not(.mtx-grid-checkbox-cell){min-width:80px}.mtx-grid .mat-table-sticky-left{border-right-width:1px;border-right-style:solid}[dir=rtl] .mtx-grid .mat-table-sticky-left{border-right-width:0;border-left-width:1px;border-left-style:solid}.mtx-grid .mat-table-sticky-right{border-left-width:1px;border-left-style:solid}[dir=rtl] .mtx-grid .mat-table-sticky-right{border-left-width:0;border-right-width:1px;border-right-style:solid}.mtx-grid .mat-mdc-header-cell,.mtx-grid .mat-mdc-footer-cell,.mtx-grid .mat-mdc-cell{padding:4px 10px;box-sizing:border-box}.mtx-grid .mat-mdc-header-cell:first-of-type:not(:only-of-type),.mtx-grid .mat-mdc-footer-cell:first-of-type:not(:only-of-type),.mtx-grid .mat-mdc-cell:first-of-type:not(:only-of-type){padding-left:24px}.mtx-grid .mat-mdc-header-cell:first-of-type:not(:only-of-type).mtx-grid-checkbox-cell,.mtx-grid .mat-mdc-footer-cell:first-of-type:not(:only-of-type).mtx-grid-checkbox-cell,.mtx-grid .mat-mdc-cell:first-of-type:not(:only-of-type).mtx-grid-checkbox-cell{padding-left:10px;padding-right:10px}[dir=rtl] .mtx-grid .mat-mdc-header-cell:first-of-type:not(:only-of-type),[dir=rtl] .mtx-grid .mat-mdc-footer-cell:first-of-type:not(:only-of-type),[dir=rtl] .mtx-grid .mat-mdc-cell:first-of-type:not(:only-of-type){padding-left:10px;padding-right:24px}[dir=rtl] .mtx-grid .mat-mdc-header-cell:first-of-type:not(:only-of-type).mtx-grid-checkbox-cell,[dir=rtl] .mtx-grid .mat-mdc-footer-cell:first-of-type:not(:only-of-type).mtx-grid-checkbox-cell,[dir=rtl] .mtx-grid .mat-mdc-cell:first-of-type:not(:only-of-type).mtx-grid-checkbox-cell{padding-left:10px;padding-right:10px}.mtx-grid .mat-mdc-header-cell:last-of-type:not(:only-of-type),.mtx-grid .mat-mdc-footer-cell:last-of-type:not(:only-of-type),.mtx-grid .mat-mdc-cell:last-of-type:not(:only-of-type){padding-right:24px}[dir=rtl] .mtx-grid .mat-mdc-header-cell:last-of-type:not(:only-of-type),[dir=rtl] .mtx-grid .mat-mdc-footer-cell:last-of-type:not(:only-of-type),[dir=rtl] .mtx-grid .mat-mdc-cell:last-of-type:not(:only-of-type){padding-left:24px;padding-right:10px}.mtx-grid .mat-mdc-row.mtx-grid-expansion{height:0;overflow:hidden}.mtx-grid .mat-mdc-row.mtx-grid-expansion .mat-mdc-cell{padding-top:0;padding-bottom:0}.mtx-grid .mat-mdc-row.mtx-grid-expansion.collapsed .mat-mdc-cell{border-bottom-width:0}.mtx-grid .mat-mdc-row:last-of-type .mat-cell{border-bottom-width:0}.mtx-grid .mat-sort-header-icon{margin:0 4px}.mtx-grid .mat-header-cell-inner{display:flex;align-items:center}.mtx-grid .mat-paginator-hidden{display:none}.mtx-grid-progress{position:absolute;top:0;z-index:120;width:100%}.mtx-grid-toolbar{display:flex;justify-content:space-between;align-items:center;min-height:48px;padding:8px;box-sizing:border-box}.mtx-grid-layout{display:flex;flex:1 1 auto;overflow:auto}.mtx-grid-content{flex-direction:column;width:0}.mtx-grid-sidebar{max-width:50%;border-left-width:1px;border-left-style:solid}[dir=rtl] .mtx-grid-sidebar{border-left-width:0;border-right-width:1px;border-right-style:solid}.mtx-grid-footer{position:relative;z-index:1}.mtx-grid-statusbar{display:flex;align-items:center;min-height:56px;padding:8px}.mtx-grid-no-result{display:flex;justify-content:center;align-items:center;flex:1;min-height:150px}.mtx-grid-expansion-placeholder{display:inline-block;width:40px;height:40px;vertical-align:middle}.mtx-grid-expansion-detail{display:flex;align-items:center;min-height:48px;overflow:hidden}.mtx-grid-checkbox-cell{flex:none;justify-content:center;width:60px;min-width:60px}.mtx-grid-checkbox-cell .mat-checkbox{display:flex;margin:0 10px}.mtx-grid-checkbox-cell .mat-checkbox-inner-container{margin-left:0}.mtx-grid-row-expand-button.mat-mdc-icon-button{width:40px;height:40px;padding:8px;vertical-align:middle}.mtx-grid-row-expand-button.mat-mdc-icon-button.expanded .mtx-grid-row-expand-icon{transform:rotate(90deg)}.mtx-grid-row-expand-button.mat-mdc-icon-button+mtx-grid-cell{vertical-align:middle}.mtx-grid-row-expand-button.mat-mdc-icon-button .mat-mdc-button-touch-target{width:100%;height:100%}.mtx-grid-icon{width:20px;height:20px;font-size:20px}\n"],encapsulation:2,data:{animation:[(0,Gi.X$)("expansion",[(0,Gi.SB)("collapsed, void",(0,Gi.oB)({height:"0",minHeight:"0",visibility:"hidden"})),(0,Gi.SB)("expanded",(0,Gi.oB)({height:"*",visibility:"visible"})),(0,Gi.eR)("expanded <=> collapsed",(0,Gi.jt)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)")),(0,Gi.eR)("expanded <=> void",(0,Gi.jt)("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])]},changeDetection:0}),d})(),Yu=(()=>{class d{get selected(){return this._selected}constructor(r){this._grid=r,this.ctrlKeyPressed=!1,this.shiftKeyPressed=!1,this._selected=!1,this.cellSelectionChange=new e.vpe}onClick(r){this.ctrlKeyPressed=r.ctrlKey,this.shiftKeyPressed=r.shiftKey,this._grid.cellSelectable&&this.select()}select(){this._selected=!0,this.cellSelectionChange.emit(this)}deselect(){this._selected=!1,this.cellSelectionChange.emit(this)}toggle(){this._selected=!this._selected,this.cellSelectionChange.emit(this)}}return d.\u0275fac=function(r){return new(r||d)(e.Y36(Ed))},d.\u0275dir=e.lG2({type:d,selectors:[["","mtx-grid-selectable-cell",""]],hostVars:2,hostBindings:function(r,_){1&r&&e.NdJ("click",function(ne){return _.onClick(ne)}),2&r&&e.ekj("selected",_.selected)},outputs:{cellSelectionChange:"cellSelectionChange"}}),d})();const _c=[qo.U8,(()=>{class d{}return d.\u0275fac=function(r){return new(r||d)},d.\u0275mod=e.oAB({type:d}),d.\u0275inj=e.cJS({}),d})()];let Rl=(()=>{class d{}return d.\u0275fac=function(r){return new(r||d)},d.\u0275mod=e.oAB({type:d}),d.\u0275inj=e.cJS({imports:[_c]}),d})(),$u=(()=>{class d{}return d.\u0275fac=function(r){return new(r||d)},d.\u0275mod=e.oAB({type:d}),d.\u0275inj=e.cJS({providers:[Il],imports:[s.ez,T.u5,l.p0,b.JX,O.TU,X.p9,q.ot,Ee.Cv,de.Hi,Be.AV,pt.g,he.Ps,Le.LD,He.lN,Qe.Tx,Ze,si.Zp,At.Jr,Rl,Rl]}),d})()},6259:(ri,mt,p)=>{p.d(mt,{R:()=>q,q:()=>X});var e=p(4650),s=p(6895),T=p(1281);const l=function(Ee,de){return{"mtx-progress-fill-striped":Ee,"mtx-progress-fill-animated":de}},b=function(Ee,de){return{"width.%":Ee,"background-color":de}},O=["*"];let X=(()=>{class Ee{constructor(){this.type="info",this.value=0,this._striped=!1,this._animate=!1}get striped(){return this._striped}set striped(Be){this._striped=(0,T.Ig)(Be)}get animate(){return this._animate}set animate(Be){this._animate=(0,T.Ig)(Be)}}return Ee.\u0275fac=function(Be){return new(Be||Ee)},Ee.\u0275cmp=e.Xpm({type:Ee,selectors:[["mtx-progress"]],hostAttrs:[1,"mtx-progress"],hostVars:4,hostBindings:function(Be,he){2&Be&&e.Udp("height",he.height)("background-color",he.background)},inputs:{type:"type",value:"value",height:"height",color:"color",foreground:"foreground",background:"background",striped:"striped",animate:"animate"},exportAs:["mtxProgress"],ngContentSelectors:O,decls:2,vars:10,consts:[["role","progress-fill",3,"ngClass","ngStyle"]],template:function(Be,he){1&Be&&(e.F$t(),e.TgZ(0,"div",0),e.Hsn(1),e.qZA()),2&Be&&(e.Tol("mtx-progress-fill mtx-progress-fill-"+he.type),e.Q6J("ngClass",e.WLB(4,l,he.striped,he.animate))("ngStyle",e.WLB(7,b,he.value,he.foreground)))},dependencies:[s.mk,s.PC],styles:[".mtx-progress{display:flex;height:1rem;margin:8px 0;overflow:hidden;font-size:.75rem;border-radius:.25rem}.mtx-progress-fill{display:flex;flex-direction:column;justify-content:center;text-align:center;transition:width .6s ease}.mtx-progress-fill-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:1rem 1rem}.mtx-progress-fill-animated{animation:mtx-progress-fill-stripes 1s linear infinite}@media (prefers-reduced-motion: reduce){.mtx-progress-fill-animated{animation:none}}@keyframes mtx-progress-fill-stripes{0%{background-position:1rem 0}to{background-position:0 0}}\n"],encapsulation:2,changeDetection:0}),Ee})(),q=(()=>{class Ee{}return Ee.\u0275fac=function(Be){return new(Be||Ee)},Ee.\u0275mod=e.oAB({type:Ee}),Ee.\u0275inj=e.cJS({imports:[s.ez]}),Ee})()},1444:(ri,mt,p)=>{p.d(mt,{wZ:()=>Xo,zP:()=>rn,re:()=>Ho,F3:()=>fo,lJ:()=>_n});var e=p(4650),s=p(6895),T=p(4006),l=p(2722),b=p(3601),O=p(8675),X=p(8505),q=p(8372),Ee=p(9300),de=p(4004),Be=p(6406),he=p(3101),Le=p(7579),He=p(4968),Qe=p(6451);const pt=["content"],Re=["scroll"],ze=["padding"],Me=function(De){return{searchTerm:De}};function Pe(De,qe){if(1&De&&(e.TgZ(0,"div",6),e.GkF(1,7),e.qZA()),2&De){const F=e.oxw();e.xp6(1),e.Q6J("ngTemplateOutlet",F.headerTemplate)("ngTemplateOutletContext",e.VKq(2,Me,F.filterValue))}}function _e(De,qe){if(1&De&&(e.TgZ(0,"div",8),e.GkF(1,7),e.qZA()),2&De){const F=e.oxw();e.xp6(1),e.Q6J("ngTemplateOutlet",F.footerTemplate)("ngTemplateOutletContext",e.VKq(2,Me,F.filterValue))}}const ge=["*"],le=["searchInput"];function Se(De,qe){if(1&De){const F=e.EpF();e.TgZ(0,"span",15),e.NdJ("click",function(){e.CHM(F);const It=e.oxw().$implicit,Ht=e.oxw(2);return e.KtG(Ht.unselect(It))}),e._uU(1,"\xd7"),e.qZA(),e._UZ(2,"span",16)}if(2&De){const F=e.oxw().$implicit,Te=e.oxw(2);e.xp6(2),e.Q6J("ngItemLabel",F.label)("escape",Te.escapeHTML)}}function je(De,qe){}const Ke=function(De,qe,F){return{item:De,clear:qe,label:F}};function Ge(De,qe){if(1&De&&(e.TgZ(0,"div",12),e.YNc(1,Se,3,2,"ng-template",null,13,e.W1O),e.YNc(3,je,0,0,"ng-template",14),e.qZA()),2&De){const F=qe.$implicit,Te=e.MAs(2),It=e.oxw(2);e.ekj("ng-value-disabled",F.disabled),e.xp6(3),e.Q6J("ngTemplateOutlet",It.labelTemplate||Te)("ngTemplateOutletContext",e.kEZ(4,Ke,F.value,It.clearItem,F.label))}}function vt(De,qe){if(1&De&&(e.ynx(0),e.YNc(1,Ge,4,8,"div",11),e.BQk()),2&De){const F=e.oxw();e.xp6(1),e.Q6J("ngForOf",F.selectedItems)("ngForTrackBy",F.trackByOption)}}function xe(De,qe){}const kt=function(De,qe){return{items:De,clear:qe}};function rt(De,qe){if(1&De&&e.YNc(0,xe,0,0,"ng-template",14),2&De){const F=e.oxw();e.Q6J("ngTemplateOutlet",F.multiLabelTemplate)("ngTemplateOutletContext",e.WLB(2,kt,F.selectedValues,F.clearItem))}}function Wt(De,qe){1&De&&e._UZ(0,"div",19)}function yi(De,qe){}function gi(De,qe){if(1&De&&(e.ynx(0),e.YNc(1,Wt,1,0,"ng-template",null,17,e.W1O),e.YNc(3,yi,0,0,"ng-template",18),e.BQk()),2&De){const F=e.MAs(2),Te=e.oxw();e.xp6(3),e.Q6J("ngTemplateOutlet",Te.loadingSpinnerTemplate||F)}}function jt(De,qe){if(1&De&&(e.TgZ(0,"span",20)(1,"span",21),e._uU(2,"\xd7"),e.qZA()()),2&De){const F=e.oxw();e.s9C("title",F.clearAllText)}}function ai(De,qe){if(1&De&&e._UZ(0,"span",27),2&De){const F=e.oxw().$implicit,Te=e.oxw(2);e.Q6J("ngItemLabel",F.label)("escape",Te.escapeHTML)}}function ot(De,qe){}const W=function(De,qe,F,Te){return{item:De,item$:qe,index:F,searchTerm:Te}};function j(De,qe){if(1&De){const F=e.EpF();e.TgZ(0,"div",25),e.NdJ("click",function(){const Ht=e.CHM(F).$implicit,bi=e.oxw(2);return e.KtG(bi.toggleItem(Ht))})("mouseover",function(){const Ht=e.CHM(F).$implicit,bi=e.oxw(2);return e.KtG(bi.onItemHover(Ht))}),e.YNc(1,ai,1,2,"ng-template",null,26,e.W1O),e.YNc(3,ot,0,0,"ng-template",14),e.qZA()}if(2&De){const F=qe.$implicit,Te=e.MAs(2),It=e.oxw(2);e.ekj("ng-option-disabled",F.disabled)("ng-option-selected",F.selected)("ng-optgroup",F.children)("ng-option",!F.children)("ng-option-child",!!F.parent)("ng-option-marked",F===It.itemsList.markedItem),e.uIk("role",F.children?"group":"option")("aria-selected",F.selected)("id",null==F?null:F.htmlId),e.xp6(3),e.Q6J("ngTemplateOutlet",F.children?It.optgroupTemplate||Te:It.optionTemplate||Te)("ngTemplateOutletContext",e.l5B(17,W,F.value,F,F.index,It.searchTerm))}}function H(De,qe){if(1&De&&(e.TgZ(0,"span")(1,"span",30),e._uU(2),e.qZA(),e._uU(3),e.qZA()),2&De){const F=e.oxw(3);e.xp6(2),e.Oqu(F.addTagText),e.xp6(1),e.hij('"',F.searchTerm,'"')}}function C(De,qe){}function Y(De,qe){if(1&De){const F=e.EpF();e.TgZ(0,"div",28),e.NdJ("mouseover",function(){e.CHM(F);const It=e.oxw(2);return e.KtG(It.itemsList.unmarkItem())})("click",function(){e.CHM(F);const It=e.oxw(2);return e.KtG(It.selectTag())}),e.YNc(1,H,4,2,"ng-template",null,29,e.W1O),e.YNc(3,C,0,0,"ng-template",14),e.qZA()}if(2&De){const F=e.MAs(2),Te=e.oxw(2);e.ekj("ng-option-marked",!Te.itemsList.markedItem),e.xp6(3),e.Q6J("ngTemplateOutlet",Te.tagTemplate||F)("ngTemplateOutletContext",e.VKq(4,Me,Te.searchTerm))}}function $(De,qe){if(1&De&&(e.TgZ(0,"div",32),e._uU(1),e.qZA()),2&De){const F=e.oxw(3);e.xp6(1),e.Oqu(F.notFoundText)}}function we(De,qe){}function Fe(De,qe){if(1&De&&(e.ynx(0),e.YNc(1,$,2,1,"ng-template",null,31,e.W1O),e.YNc(3,we,0,0,"ng-template",14),e.BQk()),2&De){const F=e.MAs(2),Te=e.oxw(2);e.xp6(3),e.Q6J("ngTemplateOutlet",Te.notFoundTemplate||F)("ngTemplateOutletContext",e.VKq(2,Me,Te.searchTerm))}}function _t(De,qe){if(1&De&&(e.TgZ(0,"div",32),e._uU(1),e.qZA()),2&De){const F=e.oxw(3);e.xp6(1),e.Oqu(F.typeToSearchText)}}function it(De,qe){}function Nt(De,qe){if(1&De&&(e.ynx(0),e.YNc(1,_t,2,1,"ng-template",null,33,e.W1O),e.YNc(3,it,0,0,"ng-template",18),e.BQk()),2&De){const F=e.MAs(2),Te=e.oxw(2);e.xp6(3),e.Q6J("ngTemplateOutlet",Te.typeToSearchTemplate||F)}}function lt(De,qe){if(1&De&&(e.TgZ(0,"div",32),e._uU(1),e.qZA()),2&De){const F=e.oxw(3);e.xp6(1),e.Oqu(F.loadingText)}}function zt(De,qe){}function ft(De,qe){if(1&De&&(e.ynx(0),e.YNc(1,lt,2,1,"ng-template",null,34,e.W1O),e.YNc(3,zt,0,0,"ng-template",14),e.BQk()),2&De){const F=e.MAs(2),Te=e.oxw(2);e.xp6(3),e.Q6J("ngTemplateOutlet",Te.loadingTextTemplate||F)("ngTemplateOutletContext",e.VKq(2,Me,Te.searchTerm))}}function Pt(De,qe){if(1&De){const F=e.EpF();e.TgZ(0,"ng-dropdown-panel",22),e.NdJ("update",function(It){e.CHM(F);const Ht=e.oxw();return e.KtG(Ht.viewPortItems=It)})("scroll",function(It){e.CHM(F);const Ht=e.oxw();return e.KtG(Ht.scroll.emit(It))})("scrollToEnd",function(It){e.CHM(F);const Ht=e.oxw();return e.KtG(Ht.scrollToEnd.emit(It))})("outsideClick",function(){e.CHM(F);const It=e.oxw();return e.KtG(It.close())}),e.ynx(1),e.YNc(2,j,4,22,"div",23),e.YNc(3,Y,4,6,"div",24),e.BQk(),e.YNc(4,Fe,4,4,"ng-container",3),e.YNc(5,Nt,4,1,"ng-container",3),e.YNc(6,ft,4,4,"ng-container",3),e.qZA()}if(2&De){const F=e.oxw();e.ekj("ng-select-multiple",F.multiple),e.Q6J("virtualScroll",F.virtualScroll)("bufferAmount",F.bufferAmount)("appendTo",F.appendTo)("position",F.dropdownPosition)("headerTemplate",F.headerTemplate)("footerTemplate",F.footerTemplate)("filterValue",F.searchTerm)("items",F.itemsList.filteredItems)("markedItem",F.itemsList.markedItem)("ngClass",F.appendTo?F.classes:null)("id",F.dropdownId),e.xp6(2),e.Q6J("ngForOf",F.viewPortItems)("ngForTrackBy",F.trackByOption),e.xp6(1),e.Q6J("ngIf",F.showAddTag),e.xp6(1),e.Q6J("ngIf",F.showNoItemsFound()),e.xp6(1),e.Q6J("ngIf",F.showTypeToSearch()),e.xp6(1),e.Q6J("ngIf",F.loading&&0===F.itemsList.filteredItems.length)}}const li=/[&<>"']/g,oi=RegExp(li.source),dt={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function ve(De){return null!=De}function N(De){return"object"==typeof De&&ve(De)}function We(De){return De instanceof Function}let wt=(()=>{class De{constructor(F){this.element=F,this.escape=!0}ngOnChanges(F){this.element.nativeElement.innerHTML=this.escape?function yt(De){return De&&oi.test(De)?De.replace(li,qe=>dt[qe]):De}(this.ngItemLabel):this.ngItemLabel}}return De.\u0275fac=function(F){return new(F||De)(e.Y36(e.SBq))},De.\u0275dir=e.lG2({type:De,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:"ngItemLabel",escape:"escape"},features:[e.TTD]}),De})(),Yt=(()=>{class De{constructor(F){this.template=F}}return De.\u0275fac=function(F){return new(F||De)(e.Y36(e.Rgc))},De.\u0275dir=e.lG2({type:De,selectors:[["","ng-option-tmp",""]]}),De})(),$t=(()=>{class De{constructor(F){this.template=F}}return De.\u0275fac=function(F){return new(F||De)(e.Y36(e.Rgc))},De.\u0275dir=e.lG2({type:De,selectors:[["","ng-optgroup-tmp",""]]}),De})(),ct=(()=>{class De{constructor(F){this.template=F}}return De.\u0275fac=function(F){return new(F||De)(e.Y36(e.Rgc))},De.\u0275dir=e.lG2({type:De,selectors:[["","ng-label-tmp",""]]}),De})(),Gt=(()=>{class De{constructor(F){this.template=F}}return De.\u0275fac=function(F){return new(F||De)(e.Y36(e.Rgc))},De.\u0275dir=e.lG2({type:De,selectors:[["","ng-multi-label-tmp",""]]}),De})(),te=(()=>{class De{constructor(F){this.template=F}}return De.\u0275fac=function(F){return new(F||De)(e.Y36(e.Rgc))},De.\u0275dir=e.lG2({type:De,selectors:[["","ng-header-tmp",""]]}),De})(),Ae=(()=>{class De{constructor(F){this.template=F}}return De.\u0275fac=function(F){return new(F||De)(e.Y36(e.Rgc))},De.\u0275dir=e.lG2({type:De,selectors:[["","ng-footer-tmp",""]]}),De})(),B=(()=>{class De{constructor(F){this.template=F}}return De.\u0275fac=function(F){return new(F||De)(e.Y36(e.Rgc))},De.\u0275dir=e.lG2({type:De,selectors:[["","ng-notfound-tmp",""]]}),De})(),pe=(()=>{class De{constructor(F){this.template=F}}return De.\u0275fac=function(F){return new(F||De)(e.Y36(e.Rgc))},De.\u0275dir=e.lG2({type:De,selectors:[["","ng-typetosearch-tmp",""]]}),De})(),Ut=(()=>{class De{constructor(F){this.template=F}}return De.\u0275fac=function(F){return new(F||De)(e.Y36(e.Rgc))},De.\u0275dir=e.lG2({type:De,selectors:[["","ng-loadingtext-tmp",""]]}),De})(),Vt=(()=>{class De{constructor(F){this.template=F}}return De.\u0275fac=function(F){return new(F||De)(e.Y36(e.Rgc))},De.\u0275dir=e.lG2({type:De,selectors:[["","ng-tag-tmp",""]]}),De})(),be=(()=>{class De{constructor(F){this.template=F}}return De.\u0275fac=function(F){return new(F||De)(e.Y36(e.Rgc))},De.\u0275dir=e.lG2({type:De,selectors:[["","ng-loadingspinner-tmp",""]]}),De})();function st(){return"axxxxxxxxxxx".replace(/[x]/g,()=>(16*Math.random()|0).toString(16))}const Z={"\u24b6":"A",\uff21:"A",\u00c0:"A",\u00c1:"A",\u00c2:"A",\u1ea6:"A",\u1ea4:"A",\u1eaa:"A",\u1ea8:"A",\u00c3:"A",\u0100:"A",\u0102:"A",\u1eb0:"A",\u1eae:"A",\u1eb4:"A",\u1eb2:"A",\u0226:"A",\u01e0:"A",\u00c4:"A",\u01de:"A",\u1ea2:"A",\u00c5:"A",\u01fa:"A",\u01cd:"A",\u0200:"A",\u0202:"A",\u1ea0:"A",\u1eac:"A",\u1eb6:"A",\u1e00:"A",\u0104:"A",\u023a:"A",\u2c6f:"A",\ua732:"AA",\u00c6:"AE",\u01fc:"AE",\u01e2:"AE",\ua734:"AO",\ua736:"AU",\ua738:"AV",\ua73a:"AV",\ua73c:"AY","\u24b7":"B",\uff22:"B",\u1e02:"B",\u1e04:"B",\u1e06:"B",\u0243:"B",\u0182:"B",\u0181:"B","\u24b8":"C",\uff23:"C",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u00c7:"C",\u1e08:"C",\u0187:"C",\u023b:"C",\ua73e:"C","\u24b9":"D",\uff24:"D",\u1e0a:"D",\u010e:"D",\u1e0c:"D",\u1e10:"D",\u1e12:"D",\u1e0e:"D",\u0110:"D",\u018b:"D",\u018a:"D",\u0189:"D",\ua779:"D",\u01f1:"DZ",\u01c4:"DZ",\u01f2:"Dz",\u01c5:"Dz","\u24ba":"E",\uff25:"E",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u1ec0:"E",\u1ebe:"E",\u1ec4:"E",\u1ec2:"E",\u1ebc:"E",\u0112:"E",\u1e14:"E",\u1e16:"E",\u0114:"E",\u0116:"E",\u00cb:"E",\u1eba:"E",\u011a:"E",\u0204:"E",\u0206:"E",\u1eb8:"E",\u1ec6:"E",\u0228:"E",\u1e1c:"E",\u0118:"E",\u1e18:"E",\u1e1a:"E",\u0190:"E",\u018e:"E","\u24bb":"F",\uff26:"F",\u1e1e:"F",\u0191:"F",\ua77b:"F","\u24bc":"G",\uff27:"G",\u01f4:"G",\u011c:"G",\u1e20:"G",\u011e:"G",\u0120:"G",\u01e6:"G",\u0122:"G",\u01e4:"G",\u0193:"G",\ua7a0:"G",\ua77d:"G",\ua77e:"G","\u24bd":"H",\uff28:"H",\u0124:"H",\u1e22:"H",\u1e26:"H",\u021e:"H",\u1e24:"H",\u1e28:"H",\u1e2a:"H",\u0126:"H",\u2c67:"H",\u2c75:"H",\ua78d:"H","\u24be":"I",\uff29:"I",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u0128:"I",\u012a:"I",\u012c:"I",\u0130:"I",\u00cf:"I",\u1e2e:"I",\u1ec8:"I",\u01cf:"I",\u0208:"I",\u020a:"I",\u1eca:"I",\u012e:"I",\u1e2c:"I",\u0197:"I","\u24bf":"J",\uff2a:"J",\u0134:"J",\u0248:"J","\u24c0":"K",\uff2b:"K",\u1e30:"K",\u01e8:"K",\u1e32:"K",\u0136:"K",\u1e34:"K",\u0198:"K",\u2c69:"K",\ua740:"K",\ua742:"K",\ua744:"K",\ua7a2:"K","\u24c1":"L",\uff2c:"L",\u013f:"L",\u0139:"L",\u013d:"L",\u1e36:"L",\u1e38:"L",\u013b:"L",\u1e3c:"L",\u1e3a:"L",\u0141:"L",\u023d:"L",\u2c62:"L",\u2c60:"L",\ua748:"L",\ua746:"L",\ua780:"L",\u01c7:"LJ",\u01c8:"Lj","\u24c2":"M",\uff2d:"M",\u1e3e:"M",\u1e40:"M",\u1e42:"M",\u2c6e:"M",\u019c:"M","\u24c3":"N",\uff2e:"N",\u01f8:"N",\u0143:"N",\u00d1:"N",\u1e44:"N",\u0147:"N",\u1e46:"N",\u0145:"N",\u1e4a:"N",\u1e48:"N",\u0220:"N",\u019d:"N",\ua790:"N",\ua7a4:"N",\u01ca:"NJ",\u01cb:"Nj","\u24c4":"O",\uff2f:"O",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u1ed2:"O",\u1ed0:"O",\u1ed6:"O",\u1ed4:"O",\u00d5:"O",\u1e4c:"O",\u022c:"O",\u1e4e:"O",\u014c:"O",\u1e50:"O",\u1e52:"O",\u014e:"O",\u022e:"O",\u0230:"O",\u00d6:"O",\u022a:"O",\u1ece:"O",\u0150:"O",\u01d1:"O",\u020c:"O",\u020e:"O",\u01a0:"O",\u1edc:"O",\u1eda:"O",\u1ee0:"O",\u1ede:"O",\u1ee2:"O",\u1ecc:"O",\u1ed8:"O",\u01ea:"O",\u01ec:"O",\u00d8:"O",\u01fe:"O",\u0186:"O",\u019f:"O",\ua74a:"O",\ua74c:"O",\u01a2:"OI",\ua74e:"OO",\u0222:"OU","\u24c5":"P",\uff30:"P",\u1e54:"P",\u1e56:"P",\u01a4:"P",\u2c63:"P",\ua750:"P",\ua752:"P",\ua754:"P","\u24c6":"Q",\uff31:"Q",\ua756:"Q",\ua758:"Q",\u024a:"Q","\u24c7":"R",\uff32:"R",\u0154:"R",\u1e58:"R",\u0158:"R",\u0210:"R",\u0212:"R",\u1e5a:"R",\u1e5c:"R",\u0156:"R",\u1e5e:"R",\u024c:"R",\u2c64:"R",\ua75a:"R",\ua7a6:"R",\ua782:"R","\u24c8":"S",\uff33:"S",\u1e9e:"S",\u015a:"S",\u1e64:"S",\u015c:"S",\u1e60:"S",\u0160:"S",\u1e66:"S",\u1e62:"S",\u1e68:"S",\u0218:"S",\u015e:"S",\u2c7e:"S",\ua7a8:"S",\ua784:"S","\u24c9":"T",\uff34:"T",\u1e6a:"T",\u0164:"T",\u1e6c:"T",\u021a:"T",\u0162:"T",\u1e70:"T",\u1e6e:"T",\u0166:"T",\u01ac:"T",\u01ae:"T",\u023e:"T",\ua786:"T",\ua728:"TZ","\u24ca":"U",\uff35:"U",\u00d9:"U",\u00da:"U",\u00db:"U",\u0168:"U",\u1e78:"U",\u016a:"U",\u1e7a:"U",\u016c:"U",\u00dc:"U",\u01db:"U",\u01d7:"U",\u01d5:"U",\u01d9:"U",\u1ee6:"U",\u016e:"U",\u0170:"U",\u01d3:"U",\u0214:"U",\u0216:"U",\u01af:"U",\u1eea:"U",\u1ee8:"U",\u1eee:"U",\u1eec:"U",\u1ef0:"U",\u1ee4:"U",\u1e72:"U",\u0172:"U",\u1e76:"U",\u1e74:"U",\u0244:"U","\u24cb":"V",\uff36:"V",\u1e7c:"V",\u1e7e:"V",\u01b2:"V",\ua75e:"V",\u0245:"V",\ua760:"VY","\u24cc":"W",\uff37:"W",\u1e80:"W",\u1e82:"W",\u0174:"W",\u1e86:"W",\u1e84:"W",\u1e88:"W",\u2c72:"W","\u24cd":"X",\uff38:"X",\u1e8a:"X",\u1e8c:"X","\u24ce":"Y",\uff39:"Y",\u1ef2:"Y",\u00dd:"Y",\u0176:"Y",\u1ef8:"Y",\u0232:"Y",\u1e8e:"Y",\u0178:"Y",\u1ef6:"Y",\u1ef4:"Y",\u01b3:"Y",\u024e:"Y",\u1efe:"Y","\u24cf":"Z",\uff3a:"Z",\u0179:"Z",\u1e90:"Z",\u017b:"Z",\u017d:"Z",\u1e92:"Z",\u1e94:"Z",\u01b5:"Z",\u0224:"Z",\u2c7f:"Z",\u2c6b:"Z",\ua762:"Z","\u24d0":"a",\uff41:"a",\u1e9a:"a",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u1ea7:"a",\u1ea5:"a",\u1eab:"a",\u1ea9:"a",\u00e3:"a",\u0101:"a",\u0103:"a",\u1eb1:"a",\u1eaf:"a",\u1eb5:"a",\u1eb3:"a",\u0227:"a",\u01e1:"a",\u00e4:"a",\u01df:"a",\u1ea3:"a",\u00e5:"a",\u01fb:"a",\u01ce:"a",\u0201:"a",\u0203:"a",\u1ea1:"a",\u1ead:"a",\u1eb7:"a",\u1e01:"a",\u0105:"a",\u2c65:"a",\u0250:"a",\ua733:"aa",\u00e6:"ae",\u01fd:"ae",\u01e3:"ae",\ua735:"ao",\ua737:"au",\ua739:"av",\ua73b:"av",\ua73d:"ay","\u24d1":"b",\uff42:"b",\u1e03:"b",\u1e05:"b",\u1e07:"b",\u0180:"b",\u0183:"b",\u0253:"b","\u24d2":"c",\uff43:"c",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u00e7:"c",\u1e09:"c",\u0188:"c",\u023c:"c",\ua73f:"c",\u2184:"c","\u24d3":"d",\uff44:"d",\u1e0b:"d",\u010f:"d",\u1e0d:"d",\u1e11:"d",\u1e13:"d",\u1e0f:"d",\u0111:"d",\u018c:"d",\u0256:"d",\u0257:"d",\ua77a:"d",\u01f3:"dz",\u01c6:"dz","\u24d4":"e",\uff45:"e",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u1ec1:"e",\u1ebf:"e",\u1ec5:"e",\u1ec3:"e",\u1ebd:"e",\u0113:"e",\u1e15:"e",\u1e17:"e",\u0115:"e",\u0117:"e",\u00eb:"e",\u1ebb:"e",\u011b:"e",\u0205:"e",\u0207:"e",\u1eb9:"e",\u1ec7:"e",\u0229:"e",\u1e1d:"e",\u0119:"e",\u1e19:"e",\u1e1b:"e",\u0247:"e",\u025b:"e",\u01dd:"e","\u24d5":"f",\uff46:"f",\u1e1f:"f",\u0192:"f",\ua77c:"f","\u24d6":"g",\uff47:"g",\u01f5:"g",\u011d:"g",\u1e21:"g",\u011f:"g",\u0121:"g",\u01e7:"g",\u0123:"g",\u01e5:"g",\u0260:"g",\ua7a1:"g",\u1d79:"g",\ua77f:"g","\u24d7":"h",\uff48:"h",\u0125:"h",\u1e23:"h",\u1e27:"h",\u021f:"h",\u1e25:"h",\u1e29:"h",\u1e2b:"h",\u1e96:"h",\u0127:"h",\u2c68:"h",\u2c76:"h",\u0265:"h",\u0195:"hv","\u24d8":"i",\uff49:"i",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u0129:"i",\u012b:"i",\u012d:"i",\u00ef:"i",\u1e2f:"i",\u1ec9:"i",\u01d0:"i",\u0209:"i",\u020b:"i",\u1ecb:"i",\u012f:"i",\u1e2d:"i",\u0268:"i",\u0131:"i","\u24d9":"j",\uff4a:"j",\u0135:"j",\u01f0:"j",\u0249:"j","\u24da":"k",\uff4b:"k",\u1e31:"k",\u01e9:"k",\u1e33:"k",\u0137:"k",\u1e35:"k",\u0199:"k",\u2c6a:"k",\ua741:"k",\ua743:"k",\ua745:"k",\ua7a3:"k","\u24db":"l",\uff4c:"l",\u0140:"l",\u013a:"l",\u013e:"l",\u1e37:"l",\u1e39:"l",\u013c:"l",\u1e3d:"l",\u1e3b:"l",\u017f:"l",\u0142:"l",\u019a:"l",\u026b:"l",\u2c61:"l",\ua749:"l",\ua781:"l",\ua747:"l",\u01c9:"lj","\u24dc":"m",\uff4d:"m",\u1e3f:"m",\u1e41:"m",\u1e43:"m",\u0271:"m",\u026f:"m","\u24dd":"n",\uff4e:"n",\u01f9:"n",\u0144:"n",\u00f1:"n",\u1e45:"n",\u0148:"n",\u1e47:"n",\u0146:"n",\u1e4b:"n",\u1e49:"n",\u019e:"n",\u0272:"n",\u0149:"n",\ua791:"n",\ua7a5:"n",\u01cc:"nj","\u24de":"o",\uff4f:"o",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u1ed3:"o",\u1ed1:"o",\u1ed7:"o",\u1ed5:"o",\u00f5:"o",\u1e4d:"o",\u022d:"o",\u1e4f:"o",\u014d:"o",\u1e51:"o",\u1e53:"o",\u014f:"o",\u022f:"o",\u0231:"o",\u00f6:"o",\u022b:"o",\u1ecf:"o",\u0151:"o",\u01d2:"o",\u020d:"o",\u020f:"o",\u01a1:"o",\u1edd:"o",\u1edb:"o",\u1ee1:"o",\u1edf:"o",\u1ee3:"o",\u1ecd:"o",\u1ed9:"o",\u01eb:"o",\u01ed:"o",\u00f8:"o",\u01ff:"o",\u0254:"o",\ua74b:"o",\ua74d:"o",\u0275:"o",\u01a3:"oi",\u0223:"ou",\ua74f:"oo","\u24df":"p",\uff50:"p",\u1e55:"p",\u1e57:"p",\u01a5:"p",\u1d7d:"p",\ua751:"p",\ua753:"p",\ua755:"p","\u24e0":"q",\uff51:"q",\u024b:"q",\ua757:"q",\ua759:"q","\u24e1":"r",\uff52:"r",\u0155:"r",\u1e59:"r",\u0159:"r",\u0211:"r",\u0213:"r",\u1e5b:"r",\u1e5d:"r",\u0157:"r",\u1e5f:"r",\u024d:"r",\u027d:"r",\ua75b:"r",\ua7a7:"r",\ua783:"r","\u24e2":"s",\uff53:"s",\u00df:"s",\u015b:"s",\u1e65:"s",\u015d:"s",\u1e61:"s",\u0161:"s",\u1e67:"s",\u1e63:"s",\u1e69:"s",\u0219:"s",\u015f:"s",\u023f:"s",\ua7a9:"s",\ua785:"s",\u1e9b:"s","\u24e3":"t",\uff54:"t",\u1e6b:"t",\u1e97:"t",\u0165:"t",\u1e6d:"t",\u021b:"t",\u0163:"t",\u1e71:"t",\u1e6f:"t",\u0167:"t",\u01ad:"t",\u0288:"t",\u2c66:"t",\ua787:"t",\ua729:"tz","\u24e4":"u",\uff55:"u",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u0169:"u",\u1e79:"u",\u016b:"u",\u1e7b:"u",\u016d:"u",\u00fc:"u",\u01dc:"u",\u01d8:"u",\u01d6:"u",\u01da:"u",\u1ee7:"u",\u016f:"u",\u0171:"u",\u01d4:"u",\u0215:"u",\u0217:"u",\u01b0:"u",\u1eeb:"u",\u1ee9:"u",\u1eef:"u",\u1eed:"u",\u1ef1:"u",\u1ee5:"u",\u1e73:"u",\u0173:"u",\u1e77:"u",\u1e75:"u",\u0289:"u","\u24e5":"v",\uff56:"v",\u1e7d:"v",\u1e7f:"v",\u028b:"v",\ua75f:"v",\u028c:"v",\ua761:"vy","\u24e6":"w",\uff57:"w",\u1e81:"w",\u1e83:"w",\u0175:"w",\u1e87:"w",\u1e85:"w",\u1e98:"w",\u1e89:"w",\u2c73:"w","\u24e7":"x",\uff58:"x",\u1e8b:"x",\u1e8d:"x","\u24e8":"y",\uff59:"y",\u1ef3:"y",\u00fd:"y",\u0177:"y",\u1ef9:"y",\u0233:"y",\u1e8f:"y",\u00ff:"y",\u1ef7:"y",\u1e99:"y",\u1ef5:"y",\u01b4:"y",\u024f:"y",\u1eff:"y","\u24e9":"z",\uff5a:"z",\u017a:"z",\u1e91:"z",\u017c:"z",\u017e:"z",\u1e93:"z",\u1e95:"z",\u01b6:"z",\u0225:"z",\u0240:"z",\u2c6c:"z",\ua763:"z",\u0386:"\u0391",\u0388:"\u0395",\u0389:"\u0397",\u038a:"\u0399",\u03aa:"\u0399",\u038c:"\u039f",\u038e:"\u03a5",\u03ab:"\u03a5",\u038f:"\u03a9",\u03ac:"\u03b1",\u03ad:"\u03b5",\u03ae:"\u03b7",\u03af:"\u03b9",\u03ca:"\u03b9",\u0390:"\u03b9",\u03cc:"\u03bf",\u03cd:"\u03c5",\u03cb:"\u03c5",\u03b0:"\u03c5",\u03c9:"\u03c9",\u03c2:"\u03c3"};function ke(De){return De.replace(/[^\u0000-\u007E]/g,F=>Z[F]||F)}class gt{constructor(qe,F){this._ngSelect=qe,this._selectionModel=F,this._items=[],this._filteredItems=[],this._markedIndex=-1}get items(){return this._items}get filteredItems(){return this._filteredItems}get markedIndex(){return this._markedIndex}get selectedItems(){return this._selectionModel.value}get markedItem(){return this._filteredItems[this._markedIndex]}get noItemsToSelect(){return this._ngSelect.hideSelected&&this._items.length===this.selectedItems.length}get maxItemsSelected(){return this._ngSelect.multiple&&this._ngSelect.maxSelectedItems<=this.selectedItems.length}get lastSelectedItem(){let qe=this.selectedItems.length-1;for(;qe>=0;qe--){const F=this.selectedItems[qe];if(!F.disabled)return F}return null}setItems(qe){this._items=qe.map((F,Te)=>this.mapItem(F,Te)),this._ngSelect.groupBy?(this._groups=this._groupBy(this._items,this._ngSelect.groupBy),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=[...this._items]}select(qe){if(qe.selected||this.maxItemsSelected)return;const F=this._ngSelect.multiple;F||this.clearSelected(),this._selectionModel.select(qe,F,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&this._hideSelected(qe)}unselect(qe){qe.selected&&(this._selectionModel.unselect(qe,this._ngSelect.multiple),this._ngSelect.hideSelected&&ve(qe.index)&&this._ngSelect.multiple&&this._showSelected(qe))}findItem(qe){let F;return F=this._ngSelect.compareWith?Te=>this._ngSelect.compareWith(Te.value,qe):this._ngSelect.bindValue?Te=>!Te.children&&this.resolveNested(Te.value,this._ngSelect.bindValue)===qe:Te=>Te.value===qe||!Te.children&&Te.label&&Te.label===this.resolveNested(qe,this._ngSelect.bindLabel),this._items.find(Te=>F(Te))}addItem(qe){const F=this.mapItem(qe,this._items.length);return this._items.push(F),this._filteredItems.push(F),F}clearSelected(qe=!1){this._selectionModel.clear(qe),this._items.forEach(F=>{F.selected=qe&&F.selected&&F.disabled,F.marked=!1}),this._ngSelect.hideSelected&&this.resetFilteredItems()}findByLabel(qe){return qe=ke(qe).toLocaleLowerCase(),this.filteredItems.find(F=>ke(F.label).toLocaleLowerCase().substr(0,qe.length)===qe)}filter(qe){if(!qe)return void this.resetFilteredItems();this._filteredItems=[],qe=this._ngSelect.searchFn?qe:ke(qe).toLocaleLowerCase();const F=this._ngSelect.searchFn||this._defaultSearchFn,Te=this._ngSelect.hideSelected;for(const It of Array.from(this._groups.keys())){const Ht=[];for(const bi of this._groups.get(It))Te&&(bi.parent&&bi.parent.selected||bi.selected)||F(qe,this._ngSelect.searchFn?bi.value:bi)&&Ht.push(bi);if(Ht.length>0){const[bi]=Ht.slice(-1);if(bi.parent){const mn=this._items.find($n=>$n===bi.parent);this._filteredItems.push(mn)}this._filteredItems.push(...Ht)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._filteredItems=this._ngSelect.hideSelected&&this.selectedItems.length>0?this._items.filter(qe=>!qe.selected):this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(qe){this._markedIndex=this._filteredItems.indexOf(qe)}markSelectedOrDefault(qe){if(0===this._filteredItems.length)return;const F=this._getLastMarkedIndex();this._markedIndex=F>-1?F:qe?this.filteredItems.findIndex(Te=>!Te.disabled):-1}resolveNested(qe,F){if(!N(qe))return qe;if(-1===F.indexOf("."))return qe[F];{const Te=F.split(".");let It=qe;for(let Ht=0,bi=Te.length;Ht<bi;++Ht){if(null==It)return null;It=It[Te[Ht]]}return It}}mapItem(qe,F){const Te=ve(qe.$ngOptionLabel)?qe.$ngOptionLabel:this.resolveNested(qe,this._ngSelect.bindLabel),It=ve(qe.$ngOptionValue)?qe.$ngOptionValue:qe;return{index:F,label:ve(Te)?Te.toString():"",value:It,disabled:qe.disabled,htmlId:`${this._ngSelect.dropdownId}-${F}`}}mapSelectedItems(){const qe=this._ngSelect.multiple;for(const F of this.selectedItems){const Te=this._ngSelect.bindValue?this.resolveNested(F.value,this._ngSelect.bindValue):F.value,It=ve(Te)?this.findItem(Te):null;this._selectionModel.unselect(F,qe),this._selectionModel.select(It||F,qe,this._ngSelect.selectableGroupAsModel)}this._ngSelect.hideSelected&&(this._filteredItems=this.filteredItems.filter(F=>-1===this.selectedItems.indexOf(F)))}_showSelected(qe){if(this._filteredItems.push(qe),qe.parent){const F=qe.parent;this._filteredItems.find(It=>It===F)||this._filteredItems.push(F)}else if(qe.children)for(const F of qe.children)F.selected=!1,this._filteredItems.push(F);this._filteredItems=[...this._filteredItems.sort((F,Te)=>F.index-Te.index)]}_hideSelected(qe){this._filteredItems=this._filteredItems.filter(F=>F!==qe),qe.parent?qe.parent.children.every(Te=>Te.selected)&&(this._filteredItems=this._filteredItems.filter(Te=>Te!==qe.parent)):qe.children&&(this._filteredItems=this.filteredItems.filter(F=>F.parent!==qe))}_defaultSearchFn(qe,F){return ke(F.label).toLocaleLowerCase().indexOf(qe)>-1}_getNextItemIndex(qe){return qe>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(qe){0===this._filteredItems.length||this._filteredItems.every(F=>F.disabled)||(this._markedIndex=this._getNextItemIndex(qe),this.markedItem.disabled&&this._stepToItem(qe))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected||this._markedIndex>-1&&void 0===this.markedItem)return-1;const qe=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&qe<0?-1:Math.max(this.markedIndex,qe)}_groupBy(qe,F){const Te=new Map;if(0===qe.length)return Te;if(Array.isArray(qe[0].value[F])){for(const bi of qe){const mn=(bi.value[F]||[]).map(($n,On)=>this.mapItem($n,On));Te.set(bi,mn)}return Te}const It=We(this._ngSelect.groupBy),Ht=bi=>{const mn=It?F(bi.value):bi.value[F];return ve(mn)?mn:void 0};for(const bi of qe){const mn=Ht(bi),$n=Te.get(mn);$n?$n.push(bi):Te.set(mn,[bi])}return Te}_flatten(qe){const F=We(this._ngSelect.groupBy),Te=[];for(const It of Array.from(qe.keys())){let Ht=Te.length;if(void 0===It){const io=qe.get(void 0)||[];Te.push(...io.map(uo=>(uo.index=Ht++,uo)));continue}const bi=N(It),mn={label:bi?"":String(It),children:void 0,parent:null,index:Ht++,disabled:!this._ngSelect.selectableGroup,htmlId:st()},$n=F?this._ngSelect.bindLabel:this._ngSelect.groupBy,On=this._ngSelect.groupValue||(()=>bi?It.value:{[$n]:It}),ko=qe.get(It).map(io=>(io.parent=mn,io.children=void 0,io.index=Ht++,io));mn.children=ko,mn.value=On(It,ko.map(io=>io.value)),Te.push(mn),Te.push(...ko)}return Te}}var Rt=(()=>{return(De=Rt||(Rt={}))[De.Tab=9]="Tab",De[De.Enter=13]="Enter",De[De.Esc=27]="Esc",De[De.Space=32]="Space",De[De.ArrowUp=38]="ArrowUp",De[De.ArrowDown=40]="ArrowDown",De[De.Backspace=8]="Backspace",Rt;var De})();let se=(()=>{class De{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}get dimensions(){return this._dimensions}calculateItems(F,Te,It){const Ht=this._dimensions,bi=Ht.itemHeight*Te,$n=Math.max(0,F)/bi*Te;let On=Math.min(Te,Math.ceil($n)+(Ht.itemsPerViewport+1));const io=Math.max(0,On-Ht.itemsPerViewport);let uo=Math.min(io,Math.floor($n)),Mr=Ht.itemHeight*Math.ceil(uo)-Ht.itemHeight*Math.min(uo,It);return Mr=isNaN(Mr)?0:Mr,uo=isNaN(uo)?-1:uo,On=isNaN(On)?-1:On,uo-=It,uo=Math.max(0,uo),On+=It,On=Math.min(Te,On),{topPadding:Mr,scrollHeight:bi,start:uo,end:On}}setDimensions(F,Te){const It=Math.max(1,Math.floor(Te/F));this._dimensions={itemHeight:F,panelHeight:Te,itemsPerViewport:It}}getScrollTo(F,Te,It){const{panelHeight:Ht}=this.dimensions,bi=F+Te,$n=It+Ht;return Ht>=bi&&It===F?null:bi>$n?It+bi-$n:F<=It?F:null}}return De.\u0275fac=function(F){return new(F||De)},De.\u0275prov=e.Yz7({token:De,factory:De.\u0275fac}),De})();const z=["top","right","bottom","left"],A=typeof requestAnimationFrame<"u"?Be.Z:he.E;let me=(()=>{class De{constructor(F,Te,It,Ht,bi){this._renderer=F,this._zone=Te,this._panelService=It,this._document=bi,this.items=[],this.position="auto",this.virtualScroll=!1,this.filterValue=null,this.update=new e.vpe,this.scroll=new e.vpe,this.scrollToEnd=new e.vpe,this.outsideClick=new e.vpe,this._destroy$=new Le.x,this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._dropdown=Ht.nativeElement}get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(F){F!==this._itemsLength&&(this._itemsLength=F,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem){const{itemHeight:F,panelHeight:Te}=this._panelService.dimensions,It=this.markedItem.index*F;return Te>It?0:It}return 0}ngOnInit(){this._select=this._dropdown.parentElement,this._virtualPadding=this.paddingElementRef.nativeElement,this._scrollablePanel=this.scrollElementRef.nativeElement,this._contentPanel=this.contentElementRef.nativeElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown(),this._setupMousedownListener()}ngOnChanges(F){if(F.items){const Te=F.items;this._onItemsChange(Te.currentValue,Te.firstChange)}}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this._destroy$.unsubscribe(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)}scrollTo(F,Te=!1){if(!F)return;const It=this.items.indexOf(F);if(It<0||It>=this.itemsLength)return;let Ht;if(this.virtualScroll){const bi=this._panelService.dimensions.itemHeight;Ht=this._panelService.getScrollTo(It*bi,bi,this._lastScrollPosition)}else{const bi=this._dropdown.querySelector(`#${F.htmlId}`);Ht=this._panelService.getScrollTo(bi.offsetTop,bi.clientHeight,Te?bi.offsetTop:this._lastScrollPosition)}ve(Ht)&&(this._scrollablePanel.scrollTop=Ht)}scrollToTag(){const F=this._scrollablePanel;F.scrollTop=F.scrollHeight-F.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),z.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),this.appendTo&&this._updateYPosition(),this._dropdown.style.opacity="1"}_updateDropdownClass(F){z.forEach(It=>{const Ht=`ng-select-${It}`;this._renderer.removeClass(this._dropdown,Ht),this._renderer.removeClass(this._select,Ht)});const Te=`ng-select-${F}`;this._renderer.addClass(this._dropdown,Te),this._renderer.addClass(this._select,Te)}_handleScroll(){this._zone.runOutsideAngular(()=>{(0,He.R)(this.scrollElementRef.nativeElement,"scroll").pipe((0,l.R)(this._destroy$),(0,b.e)(0,A)).subscribe(F=>{const Te=F.path||F.composedPath&&F.composedPath();this._onContentScrolled(Te&&0!==Te.length?Te[0].scrollTop:F.target.scrollTop)})})}_handleOutsideClick(){this._document&&this._zone.runOutsideAngular(()=>{(0,Qe.T)((0,He.R)(this._document,"touchstart",{capture:!0}),(0,He.R)(this._document,"mousedown",{capture:!0})).pipe((0,l.R)(this._destroy$)).subscribe(F=>this._checkToClose(F))})}_checkToClose(F){if(this._select.contains(F.target)||this._dropdown.contains(F.target))return;const Te=F.path||F.composedPath&&F.composedPath();F.target&&F.target.shadowRoot&&Te&&Te[0]&&this._select.contains(Te[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsChange(F,Te){this.items=F||[],this._scrollToEndFired=!1,this.itemsLength=F.length,this.virtualScroll?this._updateItemsRange(Te):(this._setVirtualHeight(),this._updateItems(Te))}_updateItems(F){this.update.emit(this.items),!1!==F&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._panelService.setDimensions(0,this._scrollablePanel.clientHeight),this._handleDropdownPosition(),this.scrollTo(this.markedItem,F)})})}_updateItemsRange(F){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{F?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(F){this.virtualScroll&&this._renderItemsRange(F),this._lastScrollPosition=F,this._fireScrollToEnd(F)}_updateVirtualHeight(F){this._updateScrollHeight&&(this._virtualPadding.style.height=`${F}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){this._virtualPadding&&(this._virtualPadding.style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(F=null){if(F&&this._lastScrollPosition===F)return;const Te=this._panelService.calculateItems(F=F||this._scrollablePanel.scrollTop,this.itemsLength,this.bufferAmount);this._updateVirtualHeight(Te.scrollHeight),this._contentPanel.style.transform=`translateY(${Te.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items.slice(Te.start,Te.end)),this.scroll.emit({start:Te.start,end:Te.end})}),ve(F)&&0===this._lastScrollPosition&&(this._scrollablePanel.scrollTop=F,this._lastScrollPosition=F)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||0===this.itemsLength)return Promise.resolve(this._panelService.dimensions);const[F]=this.items;return this.update.emit([F]),Promise.resolve().then(()=>{const It=this._dropdown.querySelector(`#${F.htmlId}`).clientHeight;return this._virtualPadding.style.height=It*this.itemsLength+"px",this._panelService.setDimensions(It,this._scrollablePanel.clientHeight),this._panelService.dimensions})}_fireScrollToEnd(F){this._scrollToEndFired||0===F||F+this._dropdown.clientHeight>=(this.virtualScroll?this._virtualPadding:this._contentPanel).clientHeight-1&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(F){if("auto"!==this.position)return this.position;const Te=this._select.getBoundingClientRect(),It=document.documentElement.scrollTop||document.body.scrollTop;return Te.top+window.pageYOffset+Te.height+F.getBoundingClientRect().height>It+document.documentElement.clientHeight?"top":"bottom"}_appendDropdown(){if(this.appendTo){if(this._parent=document.querySelector(this.appendTo),!this._parent)throw new Error(`appendTo selector ${this.appendTo} did not found any parent element`);this._updateXPosition(),this._parent.appendChild(this._dropdown)}}_updateXPosition(){const F=this._select.getBoundingClientRect(),Te=this._parent.getBoundingClientRect();this._dropdown.style.left=F.left-Te.left+"px",this._dropdown.style.width=F.width+"px",this._dropdown.style.minWidth=F.width+"px"}_updateYPosition(){const F=this._select.getBoundingClientRect(),Te=this._parent.getBoundingClientRect(),It=F.height;"top"===this._currentPosition?(this._dropdown.style.bottom=Te.bottom-F.bottom+It+"px",this._dropdown.style.top="auto"):"bottom"===this._currentPosition&&(this._dropdown.style.top=F.top-Te.top+It+"px",this._dropdown.style.bottom="auto")}_setupMousedownListener(){this._zone.runOutsideAngular(()=>{(0,He.R)(this._dropdown,"mousedown").pipe((0,l.R)(this._destroy$)).subscribe(F=>{"INPUT"!==F.target.tagName&&F.preventDefault()})})}}return De.\u0275fac=function(F){return new(F||De)(e.Y36(e.Qsj),e.Y36(e.R0b),e.Y36(se),e.Y36(e.SBq),e.Y36(s.K0,8))},De.\u0275cmp=e.Xpm({type:De,selectors:[["ng-dropdown-panel"]],viewQuery:function(F,Te){if(1&F&&(e.Gf(pt,7,e.SBq),e.Gf(Re,7,e.SBq),e.Gf(ze,7,e.SBq)),2&F){let It;e.iGM(It=e.CRH())&&(Te.contentElementRef=It.first),e.iGM(It=e.CRH())&&(Te.scrollElementRef=It.first),e.iGM(It=e.CRH())&&(Te.paddingElementRef=It.first)}},inputs:{items:"items",markedItem:"markedItem",position:"position",appendTo:"appendTo",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",headerTemplate:"headerTemplate",footerTemplate:"footerTemplate",filterValue:"filterValue"},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},features:[e.TTD],ngContentSelectors:ge,decls:9,vars:6,consts:[["class","ng-dropdown-header",4,"ngIf"],[1,"ng-dropdown-panel-items","scroll-host"],["scroll",""],["padding",""],["content",""],["class","ng-dropdown-footer",4,"ngIf"],[1,"ng-dropdown-header"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-dropdown-footer"]],template:function(F,Te){1&F&&(e.F$t(),e.YNc(0,Pe,2,4,"div",0),e.TgZ(1,"div",1,2),e._UZ(3,"div",null,3),e.TgZ(5,"div",null,4),e.Hsn(7),e.qZA()(),e.YNc(8,_e,2,4,"div",5)),2&F&&(e.Q6J("ngIf",Te.headerTemplate),e.xp6(3),e.ekj("total-padding",Te.virtualScroll),e.xp6(2),e.ekj("scrollable-content",Te.virtualScroll&&Te.items.length),e.xp6(3),e.Q6J("ngIf",Te.footerTemplate))},dependencies:[s.O5,s.tP],encapsulation:2,changeDetection:0}),De})(),Ye=(()=>{class De{constructor(F){this.elementRef=F,this.stateChange$=new Le.x,this._disabled=!1}get disabled(){return this._disabled}set disabled(F){this._disabled=this._isDisabled(F)}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}ngOnChanges(F){F.disabled&&this.stateChange$.next({value:this.value,disabled:this._disabled})}ngAfterViewChecked(){this.label!==this._previousLabel&&(this._previousLabel=this.label,this.stateChange$.next({value:this.value,disabled:this._disabled,label:this.elementRef.nativeElement.innerHTML}))}ngOnDestroy(){this.stateChange$.complete()}_isDisabled(F){return null!=F&&"false"!=`${F}`}}return De.\u0275fac=function(F){return new(F||De)(e.Y36(e.SBq))},De.\u0275cmp=e.Xpm({type:De,selectors:[["ng-option"]],inputs:{value:"value",disabled:"disabled"},features:[e.TTD],ngContentSelectors:ge,decls:1,vars:0,template:function(F,Te){1&F&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0}),De})(),Ot=(()=>{class De{constructor(){this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.disableVirtualScroll=!0,this.openOnEnter=!0,this.appearance="underline"}}return De.\u0275fac=function(F){return new(F||De)},De.\u0275prov=e.Yz7({token:De,factory:De.\u0275fac,providedIn:"root"}),De})(),ii=(()=>{class De{warn(F){console.warn(F)}}return De.\u0275fac=function(F){return new(F||De)},De.\u0275prov=e.Yz7({token:De,factory:De.\u0275fac,providedIn:"root"}),De})();const Ci=new e.OlP("ng-select-selection-model");let Si=(()=>{class De{constructor(F,Te,It,Ht,bi,mn,$n){this.classes=F,this.autoFocus=Te,this.config=It,this._cd=mn,this._console=$n,this.markFirst=!0,this.dropdownPosition="auto",this.loading=!1,this.closeOnSelect=!0,this.hideSelected=!1,this.selectOnTab=!1,this.bufferAmount=4,this.selectableGroup=!1,this.selectableGroupAsModel=!0,this.searchFn=null,this.trackByFn=null,this.clearOnBackspace=!0,this.labelForId=null,this.inputAttrs={},this.readonly=!1,this.searchWhileComposing=!0,this.minTermLength=0,this.editableSearchTerm=!1,this.keyDownFn=On=>!0,this.multiple=!1,this.addTag=!1,this.searchable=!0,this.clearable=!0,this.isOpen=!1,this.blurEvent=new e.vpe,this.focusEvent=new e.vpe,this.changeEvent=new e.vpe,this.openEvent=new e.vpe,this.closeEvent=new e.vpe,this.searchEvent=new e.vpe,this.clearEvent=new e.vpe,this.addEvent=new e.vpe,this.removeEvent=new e.vpe,this.scroll=new e.vpe,this.scrollToEnd=new e.vpe,this.useDefaultClass=!0,this.viewPortItems=[],this.searchTerm=null,this.dropdownId=st(),this.escapeHTML=!0,this._items=[],this._defaultLabel="label",this._pressedKeys=[],this._isComposing=!1,this._destroy$=new Le.x,this._keyPress$=new Le.x,this._onChange=On=>{},this._onTouched=()=>{},this.clearItem=On=>{const ko=this.selectedItems.find(io=>io.value===On);this.unselect(ko)},this.trackByOption=(On,ko)=>this.trackByFn?this.trackByFn(ko.value):ko,this._mergeGlobalConfig(It),this.itemsList=new gt(this,Ht()),this.element=bi.nativeElement}get items(){return this._items}set items(F){null===F&&(F=[]),this._itemsAreUsed=!0,this._items=F}get compareWith(){return this._compareWith}set compareWith(F){if(null!=F&&!We(F))throw Error("`compareWith` must be a function.");this._compareWith=F}get clearSearchOnAdd(){return ve(this._clearSearchOnAdd)?this._clearSearchOnAdd:ve(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect}set clearSearchOnAdd(F){this._clearSearchOnAdd=F}get disabled(){return this.readonly||this._disabled}get filtered(){return!!this.searchTerm&&this.searchable||this._isComposing}get single(){return!this.multiple}get _editableSearchTerm(){return this.editableSearchTerm&&!this.multiple}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(F=>F.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel)return this.dropdownPanel.currentPosition}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(F){F.multiple&&this.itemsList.clearSelected(),F.items&&this._setItems(F.items.currentValue||[]),F.isOpen&&(this._manualOpen=ve(F.isOpen.currentValue))}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),ve(this.autoFocus)&&this.focus()}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}handleKeyDown(F){if(Rt[F.which]){if(!1===this.keyDownFn(F))return;this.handleKeyCode(F)}else F.key&&1===F.key.length&&this._keyPress$.next(F.key.toLocaleLowerCase())}handleKeyCode(F){switch(F.which){case Rt.ArrowDown:this._handleArrowDown(F);break;case Rt.ArrowUp:this._handleArrowUp(F);break;case Rt.Space:this._handleSpace(F);break;case Rt.Enter:this._handleEnter(F);break;case Rt.Tab:this._handleTab(F);break;case Rt.Esc:this.close(),F.preventDefault();break;case Rt.Backspace:this._handleBackspace()}}handleMousedown(F){const Te=F.target;"INPUT"!==Te.tagName&&F.preventDefault(),Te.classList.contains("ng-clear-wrapper")?this.handleClearClick():Te.classList.contains("ng-arrow-wrapper")?this.handleArrowClick():Te.classList.contains("ng-value-icon")||(this.focused||this.focus(),this.searchable?this.open():this.toggle())}handleArrowClick(){this.isOpen?this.close():this.open()}handleClearClick(){this.hasValue&&(this.itemsList.clearSelected(!0),this._updateNgModel()),this._clearSearch(),this.focus(),this.clearEvent.emit(),this._onSelectionChanged()}clearModel(){this.clearable&&(this.itemsList.clearSelected(),this._updateNgModel())}writeValue(F){this.itemsList.clearSelected(),this._handleWriteValue(F),this._cd.markForCheck()}registerOnChange(F){this._onChange=F}registerOnTouched(F){this._onTouched=F}setDisabledState(F){this._disabled=F,this._cd.markForCheck()}toggle(){this.isOpen?this.close():this.open()}open(){this.disabled||this.isOpen||this._manualOpen||!this._isTypeahead&&!this.addTag&&this.itemsList.noItemsToSelect||(this.isOpen=!0,this.itemsList.markSelectedOrDefault(this.markFirst),this.openEvent.emit(),this.searchTerm||this.focus(),this.detectChanges())}close(){!this.isOpen||this._manualOpen||(this.isOpen=!1,this._isComposing=!1,this._editableSearchTerm?this.itemsList.resetFilteredItems():this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())}toggleItem(F){!F||F.disabled||this.disabled||(this.multiple&&F.selected?this.unselect(F):this.select(F),this._editableSearchTerm&&this._setSearchTermFromItems(),this._onSelectionChanged())}select(F){F.selected||(this.itemsList.select(F),this.clearSearchOnAdd&&!this._editableSearchTerm&&this._clearSearch(),this._updateNgModel(),this.multiple&&this.addEvent.emit(F.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close()}focus(){this.searchInput.nativeElement.readOnly||this.searchInput.nativeElement.focus()}blur(){this.searchInput.nativeElement.blur()}unselect(F){F&&(this.itemsList.unselect(F),this.focus(),this._updateNgModel(),this.removeEvent.emit(F))}selectTag(){let F;F=We(this.addTag)?this.addTag(this.searchTerm):this._primitive?this.searchTerm:{[this.bindLabel]:this.searchTerm};const Te=It=>this._isTypeahead||!this.isOpen?this.itemsList.mapItem(It,null):this.itemsList.addItem(It);!function re(De){return De instanceof Promise}(F)?F&&this.select(Te(F)):F.then(It=>this.select(Te(It))).catch(()=>{})}showClear(){return this.clearable&&(this.hasValue||this.searchTerm)&&!this.disabled}get showAddTag(){if(!this._validTerm)return!1;const F=this.searchTerm.toLowerCase().trim();return this.addTag&&!this.itemsList.filteredItems.some(Te=>Te.label.toLowerCase()===F)&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some(Te=>Te.label.toLowerCase()===F))&&!this.loading}showNoItemsFound(){const F=0===this.itemsList.filteredItems.length;return(F&&!this._isTypeahead&&!this.loading||F&&this._isTypeahead&&this._validTerm&&!this.loading)&&!this.showAddTag}showTypeToSearch(){return 0===this.itemsList.filteredItems.length&&this._isTypeahead&&!this._validTerm&&!this.loading}onCompositionStart(){this._isComposing=!0}onCompositionEnd(F){this._isComposing=!1,!this.searchWhileComposing&&this.filter(F)}filter(F){this._isComposing&&!this.searchWhileComposing||(this.searchTerm=F,this._isTypeahead&&(this._validTerm||0===this.minTermLength)&&this.typeahead.next(F),this._isTypeahead||(this.itemsList.filter(this.searchTerm),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit({term:F,items:this.itemsList.filteredItems.map(Te=>Te.value)}),this.open())}onInputFocus(F){this.focused||(this._editableSearchTerm&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(F),this.focused=!0)}onInputBlur(F){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(F),!this.isOpen&&!this.disabled&&this._onTouched(),this._editableSearchTerm&&this._setSearchTermFromItems(),this.focused=!1}onItemHover(F){F.disabled||this.itemsList.markItem(F)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){const F=this.selectedItems&&this.selectedItems[0];this.searchTerm=F&&F.label||null}_setItems(F){const Te=F[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=ve(Te)?!N(Te):this._primitive||this.bindLabel===this._defaultLabel,this.itemsList.setItems(F),F.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&ve(this.searchTerm)&&!this._isTypeahead&&this.itemsList.filter(this.searchTerm),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)}_setItemsFromNgOptions(){const F=It=>{this.items=It.map(Ht=>({$ngOptionValue:Ht.value,$ngOptionLabel:Ht.elementRef.nativeElement.innerHTML,disabled:Ht.disabled})),this.itemsList.setItems(this.items),this.hasValue&&this.itemsList.mapSelectedItems(),this.detectChanges()},Te=()=>{const It=(0,Qe.T)(this.ngOptions.changes,this._destroy$);(0,Qe.T)(...this.ngOptions.map(Ht=>Ht.stateChange$)).pipe((0,l.R)(It)).subscribe(Ht=>{const bi=this.itemsList.findItem(Ht.value);bi.disabled=Ht.disabled,bi.label=Ht.label||bi.label,this._cd.detectChanges()})};this.ngOptions.changes.pipe((0,O.O)(this.ngOptions),(0,l.R)(this._destroy$)).subscribe(It=>{this.bindLabel=this._defaultLabel,F(It),Te()})}_isValidWriteValue(F){if(!ve(F)||this.multiple&&""===F||Array.isArray(F)&&0===F.length)return!1;const Te=It=>!(!ve(this.compareWith)&&N(It)&&this.bindValue&&(this._console.warn(`Setting object(${JSON.stringify(It)}) as your model with bindValue is not allowed unless [compareWith] is used.`),1));return this.multiple?Array.isArray(F)?F.every(It=>Te(It)):(this._console.warn("Multiple select ngModel should be array."),!1):Te(F)}_handleWriteValue(F){if(!this._isValidWriteValue(F))return;const Te=It=>{let Ht=this.itemsList.findItem(It);if(Ht)this.itemsList.select(Ht);else{const bi=N(It);bi||!bi&&!this.bindValue?this.itemsList.select(this.itemsList.mapItem(It,null)):this.bindValue&&(Ht={[this.bindLabel]:null,[this.bindValue]:It},this.itemsList.select(this.itemsList.mapItem(Ht,null)))}};this.multiple?F.forEach(It=>Te(It)):Te(F)}_handleKeyPresses(){this.searchable||this._keyPress$.pipe((0,l.R)(this._destroy$),(0,X.b)(F=>this._pressedKeys.push(F)),(0,q.b)(200),(0,Ee.h)(()=>this._pressedKeys.length>0),(0,de.U)(()=>this._pressedKeys.join(""))).subscribe(F=>{const Te=this.itemsList.findByLabel(F);Te&&(this.isOpen?(this.itemsList.markItem(Te),this._scrollToMarked(),this._cd.markForCheck()):this.select(Te)),this._pressedKeys=[]})}_setInputAttributes(){const F=this.searchInput.nativeElement,Te={type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:this.labelForId?"off":this.dropdownId,...this.inputAttrs};for(const It of Object.keys(Te))F.setAttribute(It,Te[It])}_updateNgModel(){const F=[];for(const It of this.selectedItems)if(this.bindValue){let Ht=null;Ht=It.children?It.value[(this.groupValue?this.bindValue:this.groupBy)||this.groupBy]:this.itemsList.resolveNested(It.value,this.bindValue),F.push(Ht)}else F.push(It.value);const Te=this.selectedItems.map(It=>It.value);this.multiple?(this._onChange(F),this.changeEvent.emit(Te)):(this._onChange(ve(F[0])?F[0]:null),this.changeEvent.emit(Te[0])),this._cd.markForCheck()}_clearSearch(){this.searchTerm&&(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(F){this.searchTerm=F,this._isTypeahead&&this.typeahead.next(F)}_scrollToMarked(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollTo(this.itemsList.markedItem)}_scrollToTag(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollToTag()}_onSelectionChanged(){this.isOpen&&this.multiple&&this.appendTo&&(this._cd.detectChanges(),this.dropdownPanel.adjustPosition())}_handleTab(F){!1===this.isOpen&&!this.addTag||(this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),F.preventDefault()):this.showAddTag?(this.selectTag(),F.preventDefault()):this.close():this.close())}_handleEnter(F){if(this.isOpen||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else{if(!this.openOnEnter)return;this.open()}F.preventDefault()}_handleSpace(F){this.isOpen||this._manualOpen||(this.open(),F.preventDefault())}_handleArrowDown(F){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),F.preventDefault()}_handleArrowUp(F){this.isOpen&&(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),F.preventDefault())}_nextItemIsTag(F){const Te=this.itemsList.markedIndex+F;return this.addTag&&this.searchTerm&&this.itemsList.markedItem&&(Te<0||Te===this.itemsList.filteredItems.length)}_handleBackspace(){this.searchTerm||!this.clearable||!this.clearOnBackspace||!this.hasValue||(this.multiple?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}get _isTypeahead(){return this.typeahead&&this.typeahead.observers.length>0}get _validTerm(){const F=this.searchTerm&&this.searchTerm.trim();return F&&F.length>=this.minTermLength}_mergeGlobalConfig(F){this.placeholder=this.placeholder||F.placeholder,this.notFoundText=this.notFoundText||F.notFoundText,this.typeToSearchText=this.typeToSearchText||F.typeToSearchText,this.addTagText=this.addTagText||F.addTagText,this.loadingText=this.loadingText||F.loadingText,this.clearAllText=this.clearAllText||F.clearAllText,this.virtualScroll=ve(this.virtualScroll)?this.virtualScroll:!!ve(F.disableVirtualScroll)&&!F.disableVirtualScroll,this.openOnEnter=ve(this.openOnEnter)?this.openOnEnter:F.openOnEnter,this.appendTo=this.appendTo||F.appendTo,this.bindValue=this.bindValue||F.bindValue,this.bindLabel=this.bindLabel||F.bindLabel,this.appearance=this.appearance||F.appearance}}return De.\u0275fac=function(F){return new(F||De)(e.$8M("class"),e.$8M("autofocus"),e.Y36(Ot),e.Y36(Ci),e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(ii))},De.\u0275cmp=e.Xpm({type:De,selectors:[["ng-select"]],contentQueries:function(F,Te,It){if(1&F&&(e.Suo(It,Yt,5,e.Rgc),e.Suo(It,$t,5,e.Rgc),e.Suo(It,ct,5,e.Rgc),e.Suo(It,Gt,5,e.Rgc),e.Suo(It,te,5,e.Rgc),e.Suo(It,Ae,5,e.Rgc),e.Suo(It,B,5,e.Rgc),e.Suo(It,pe,5,e.Rgc),e.Suo(It,Ut,5,e.Rgc),e.Suo(It,Vt,5,e.Rgc),e.Suo(It,be,5,e.Rgc),e.Suo(It,Ye,5)),2&F){let Ht;e.iGM(Ht=e.CRH())&&(Te.optionTemplate=Ht.first),e.iGM(Ht=e.CRH())&&(Te.optgroupTemplate=Ht.first),e.iGM(Ht=e.CRH())&&(Te.labelTemplate=Ht.first),e.iGM(Ht=e.CRH())&&(Te.multiLabelTemplate=Ht.first),e.iGM(Ht=e.CRH())&&(Te.headerTemplate=Ht.first),e.iGM(Ht=e.CRH())&&(Te.footerTemplate=Ht.first),e.iGM(Ht=e.CRH())&&(Te.notFoundTemplate=Ht.first),e.iGM(Ht=e.CRH())&&(Te.typeToSearchTemplate=Ht.first),e.iGM(Ht=e.CRH())&&(Te.loadingTextTemplate=Ht.first),e.iGM(Ht=e.CRH())&&(Te.tagTemplate=Ht.first),e.iGM(Ht=e.CRH())&&(Te.loadingSpinnerTemplate=Ht.first),e.iGM(Ht=e.CRH())&&(Te.ngOptions=Ht)}},viewQuery:function(F,Te){if(1&F&&(e.Gf(me,5),e.Gf(le,7)),2&F){let It;e.iGM(It=e.CRH())&&(Te.dropdownPanel=It.first),e.iGM(It=e.CRH())&&(Te.searchInput=It.first)}},hostVars:20,hostBindings:function(F,Te){1&F&&e.NdJ("keydown",function(Ht){return Te.handleKeyDown(Ht)}),2&F&&e.ekj("ng-select-typeahead",Te.typeahead)("ng-select-multiple",Te.multiple)("ng-select-taggable",Te.addTag)("ng-select-searchable",Te.searchable)("ng-select-clearable",Te.clearable)("ng-select-opened",Te.isOpen)("ng-select",Te.useDefaultClass)("ng-select-disabled",Te.disabled)("ng-select-filtered",Te.filtered)("ng-select-single",Te.single)},inputs:{bindLabel:"bindLabel",bindValue:"bindValue",markFirst:"markFirst",placeholder:"placeholder",notFoundText:"notFoundText",typeToSearchText:"typeToSearchText",addTagText:"addTagText",loadingText:"loadingText",clearAllText:"clearAllText",appearance:"appearance",dropdownPosition:"dropdownPosition",appendTo:"appendTo",loading:"loading",closeOnSelect:"closeOnSelect",hideSelected:"hideSelected",selectOnTab:"selectOnTab",openOnEnter:"openOnEnter",maxSelectedItems:"maxSelectedItems",groupBy:"groupBy",groupValue:"groupValue",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",selectableGroup:"selectableGroup",selectableGroupAsModel:"selectableGroupAsModel",searchFn:"searchFn",trackByFn:"trackByFn",clearOnBackspace:"clearOnBackspace",labelForId:"labelForId",inputAttrs:"inputAttrs",tabIndex:"tabIndex",readonly:"readonly",searchWhileComposing:"searchWhileComposing",minTermLength:"minTermLength",editableSearchTerm:"editableSearchTerm",keyDownFn:"keyDownFn",typeahead:"typeahead",multiple:"multiple",addTag:"addTag",searchable:"searchable",clearable:"clearable",isOpen:"isOpen",items:"items",compareWith:"compareWith",clearSearchOnAdd:"clearSearchOnAdd"},outputs:{blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},features:[e._Bn([{provide:T.JU,useExisting:(0,e.Gpc)(()=>De),multi:!0},se]),e.TTD],decls:14,vars:19,consts:[[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[1,"ng-placeholder"],[4,"ngIf"],["role","combobox","aria-haspopup","listbox",1,"ng-input"],["aria-autocomplete","list",3,"readOnly","disabled","value","input","compositionstart","compositionend","focus","blur","change"],["searchInput",""],["class","ng-clear-wrapper",3,"title",4,"ngIf"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],["class","ng-dropdown-panel","role","listbox","aria-label","Options list",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ng-select-multiple","ngClass","id","update","scroll","scrollToEnd","outsideClick",4,"ngIf"],["class","ng-value",3,"ng-value-disabled",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ng-value"],["defaultLabelTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],["defaultLoadingSpinnerTemplate",""],[3,"ngTemplateOutlet"],[1,"ng-spinner-loader"],[1,"ng-clear-wrapper",3,"title"],["aria-hidden","true",1,"ng-clear"],["role","listbox","aria-label","Options list",1,"ng-dropdown-panel",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ngClass","id","update","scroll","scrollToEnd","outsideClick"],["class","ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked","click","mouseover",4,"ngFor","ngForOf","ngForTrackBy"],["class","ng-option","role","option",3,"ng-option-marked","mouseover","click",4,"ngIf"],[1,"ng-option",3,"click","mouseover"],["defaultOptionTemplate",""],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],["defaultTagTemplate",""],[1,"ng-tag-label"],["defaultNotFoundTemplate",""],[1,"ng-option","ng-option-disabled"],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""]],template:function(F,Te){if(1&F){const It=e.EpF();e.TgZ(0,"div",0),e.NdJ("mousedown",function(bi){return Te.handleMousedown(bi)}),e.TgZ(1,"div",1)(2,"div",2),e._uU(3),e.qZA(),e.YNc(4,vt,2,2,"ng-container",3),e.YNc(5,rt,1,5,null,3),e.TgZ(6,"div",4)(7,"input",5,6),e.NdJ("input",function(){e.CHM(It);const bi=e.MAs(8);return e.KtG(Te.filter(bi.value))})("compositionstart",function(){return Te.onCompositionStart()})("compositionend",function(){e.CHM(It);const bi=e.MAs(8);return e.KtG(Te.onCompositionEnd(bi.value))})("focus",function(bi){return Te.onInputFocus(bi)})("blur",function(bi){return Te.onInputBlur(bi)})("change",function(bi){return bi.stopPropagation()}),e.qZA()()(),e.YNc(9,gi,4,1,"ng-container",3),e.YNc(10,jt,3,1,"span",7),e.TgZ(11,"span",8),e._UZ(12,"span",9),e.qZA()(),e.YNc(13,Pt,7,19,"ng-dropdown-panel",10)}2&F&&(e.ekj("ng-appearance-outline","outline"===Te.appearance)("ng-has-value",Te.hasValue),e.xp6(3),e.Oqu(Te.placeholder),e.xp6(1),e.Q6J("ngIf",(!Te.multiLabelTemplate||!Te.multiple)&&Te.selectedItems.length>0),e.xp6(1),e.Q6J("ngIf",Te.multiple&&Te.multiLabelTemplate&&Te.selectedValues.length>0),e.xp6(1),e.uIk("aria-expanded",Te.isOpen)("aria-owns",Te.isOpen?Te.dropdownId:null),e.xp6(1),e.Q6J("readOnly",!Te.searchable||Te.itemsList.maxItemsSelected)("disabled",Te.disabled)("value",Te.searchTerm?Te.searchTerm:""),e.uIk("id",Te.labelForId)("tabindex",Te.tabIndex)("aria-activedescendant",Te.isOpen?null==Te.itemsList||null==Te.itemsList.markedItem?null:Te.itemsList.markedItem.htmlId:null)("aria-controls",Te.isOpen?Te.dropdownId:null),e.xp6(2),e.Q6J("ngIf",Te.loading),e.xp6(1),e.Q6J("ngIf",Te.showClear()),e.xp6(3),e.Q6J("ngIf",Te.isOpen))},dependencies:[s.mk,s.sg,s.O5,s.tP,me,wt],styles:['@charset "UTF-8";.ng-select{position:relative;display:block;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-webkit-user-select:none;user-select:none;cursor:default}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{cursor:default;display:flex;outline:none;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:flex;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}.ng-select .ng-select-container .ng-value-container .ng-input>input{box-sizing:content-box;background:none transparent;border:0 none;box-shadow:none;outline:none;padding:0;cursor:default;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-webkit-user-select:none;user-select:none;width:0;padding:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{position:absolute;left:0;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{z-index:1}.ng-select .ng-clear-wrapper{cursor:pointer;position:relative;width:17px;-webkit-user-select:none;user-select:none}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{border-radius:50%;width:17px;height:17px;margin-right:5px;font-size:10px;position:relative;text-indent:-9999em;border-top:2px solid rgba(66,66,66,.2);border-right:2px solid rgba(66,66,66,.2);border-bottom:2px solid rgba(66,66,66,.2);border-left:2px solid #424242;transform:translateZ(0);animation:load8 .8s infinite linear}.ng-select .ng-spinner-loader:after{border-radius:50%;width:17px;height:17px}@keyframes load8{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.ng-select .ng-arrow-wrapper{cursor:pointer;position:relative;text-align:center;-webkit-user-select:none;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{pointer-events:none;display:inline-block;height:0;width:0;position:relative}.ng-dropdown-panel{box-sizing:border-box;position:absolute;opacity:0;width:100%;z-index:1050;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .ng-dropdown-panel-items{display:block;height:auto;box-sizing:border-box;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;cursor:pointer;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-option-label:empty:before{content:"\\200b"}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{overflow:hidden;overflow-y:auto;position:relative;display:block;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .scrollable-content{top:0;left:0;width:100%;height:100%;position:absolute}.ng-dropdown-panel .total-padding{width:1px;opacity:0}\n'],encapsulation:2,changeDetection:0}),De})();function Fi(){return new vi}class vi{constructor(){this._selected=[]}get value(){return this._selected}select(qe,F,Te){if(qe.selected=!0,(!qe.children||!F&&Te)&&this._selected.push(qe),F)if(qe.parent){const It=qe.parent.children.length,Ht=qe.parent.children.filter(bi=>bi.selected).length;qe.parent.selected=It===Ht}else qe.children&&(this._setChildrenSelectedState(qe.children,!0),this._removeChildren(qe),this._selected=Te&&this._activeChildren(qe)?[...this._selected.filter(It=>It.parent!==qe),qe]:[...this._selected,...qe.children.filter(It=>!It.disabled)])}unselect(qe,F){if(this._selected=this._selected.filter(Te=>Te!==qe),qe.selected=!1,F)if(qe.parent&&qe.parent.selected){const Te=qe.parent.children;this._removeParent(qe.parent),this._removeChildren(qe.parent),this._selected.push(...Te.filter(It=>It!==qe&&!It.disabled)),qe.parent.selected=!1}else qe.children&&(this._setChildrenSelectedState(qe.children,!1),this._removeChildren(qe))}clear(qe){this._selected=qe?this._selected.filter(F=>F.disabled):[]}_setChildrenSelectedState(qe,F){for(const Te of qe)Te.disabled||(Te.selected=F)}_removeChildren(qe){this._selected=[...this._selected.filter(F=>F.parent!==qe),...qe.children.filter(F=>F.parent===qe&&F.disabled&&F.selected)]}_removeParent(qe){this._selected=this._selected.filter(F=>F!==qe)}_activeChildren(qe){return qe.children.every(F=>!F.disabled||F.selected)}}let Lt=(()=>{class De{}return De.\u0275fac=function(F){return new(F||De)},De.\u0275mod=e.oAB({type:De}),De.\u0275inj=e.cJS({providers:[{provide:Ci,useValue:Fi}],imports:[s.ez]}),De})();var Et=p(1281),et=p(3238),Ve=p(9549),bt=p(2687);const fe=["*"],Ze=["ngSelect"];function At(De,qe){}const si=function(De,qe,F,Te){return{item:De,item$:qe,index:F,searchTerm:Te}};function Gi(De,qe){if(1&De&&e.YNc(0,At,0,0,"ng-template",4),2&De){const F=qe.item,Te=qe.item$,It=qe.index,Ht=qe.searchTerm,bi=e.oxw(2);e.Q6J("ngTemplateOutlet",bi.optionTemplate)("ngTemplateOutletContext",e.l5B(2,si,F,Te,It,Ht))}}function nn(De,qe){1&De&&(e.ynx(0),e.YNc(1,Gi,1,7,"ng-template",3),e.BQk())}function Wi(De,qe){}function Un(De,qe){if(1&De&&e.YNc(0,Wi,0,0,"ng-template",4),2&De){const F=qe.item,Te=qe.item$,It=qe.index,Ht=qe.searchTerm,bi=e.oxw(2);e.Q6J("ngTemplateOutlet",bi.optgroupTemplate)("ngTemplateOutletContext",e.l5B(2,si,F,Te,It,Ht))}}function to(De,qe){1&De&&(e.ynx(0),e.YNc(1,Un,1,7,"ng-template",5),e.BQk())}function Bn(De,qe){}const xo=function(De,qe,F){return{item:De,clear:qe,label:F}};function gn(De,qe){if(1&De&&e.YNc(0,Bn,0,0,"ng-template",4),2&De){const F=qe.item,Te=qe.clear,It=qe.label,Ht=e.oxw(2);e.Q6J("ngTemplateOutlet",Ht.labelTemplate)("ngTemplateOutletContext",e.kEZ(2,xo,F,Te,It))}}function Yn(De,qe){1&De&&(e.ynx(0),e.YNc(1,gn,1,6,"ng-template",6),e.BQk())}function Pn(De,qe){}const Vn=function(De,qe){return{items:De,clear:qe}};function Jn(De,qe){if(1&De&&e.YNc(0,Pn,0,0,"ng-template",4),2&De){const F=qe.items,Te=qe.clear,It=e.oxw(2);e.Q6J("ngTemplateOutlet",It.multiLabelTemplate)("ngTemplateOutletContext",e.WLB(2,Vn,F,Te))}}function wo(De,qe){1&De&&(e.ynx(0),e.YNc(1,Jn,1,5,"ng-template",7),e.BQk())}function Jo(De,qe){}function ao(De,qe){if(1&De&&e.YNc(0,Jo,0,0,"ng-template",9),2&De){const F=e.oxw(2);e.Q6J("ngTemplateOutlet",F.headerTemplate)}}function at(De,qe){1&De&&(e.ynx(0),e.YNc(1,ao,1,1,"ng-template",8),e.BQk())}function xt(De,qe){}function w(De,qe){if(1&De&&e.YNc(0,xt,0,0,"ng-template",9),2&De){const F=e.oxw(2);e.Q6J("ngTemplateOutlet",F.footerTemplate)}}function J(De,qe){1&De&&(e.ynx(0),e.YNc(1,w,1,1,"ng-template",10),e.BQk())}function Ie(De,qe){}const Xe=function(De){return{searchTerm:De}};function ei(De,qe){if(1&De&&e.YNc(0,Ie,0,0,"ng-template",4),2&De){const F=qe.searchTerm,Te=e.oxw(2);e.Q6J("ngTemplateOutlet",Te.notFoundTemplate)("ngTemplateOutletContext",e.VKq(2,Xe,F))}}function Ei(De,qe){1&De&&(e.ynx(0),e.YNc(1,ei,1,4,"ng-template",11),e.BQk())}function Yi(De,qe){}function Mn(De,qe){if(1&De&&e.YNc(0,Yi,0,0,"ng-template",9),2&De){const F=e.oxw(2);e.Q6J("ngTemplateOutlet",F.typeToSearchTemplate)}}function Tn(De,qe){1&De&&(e.ynx(0),e.YNc(1,Mn,1,1,"ng-template",12),e.BQk())}function Li(De,qe){}function Xn(De,qe){if(1&De&&e.YNc(0,Li,0,0,"ng-template",4),2&De){const F=qe.searchTerm,Te=e.oxw(2);e.Q6J("ngTemplateOutlet",Te.loadingTextTemplate)("ngTemplateOutletContext",e.VKq(2,Xe,F))}}function Gn(De,qe){1&De&&(e.ynx(0),e.YNc(1,Xn,1,4,"ng-template",13),e.BQk())}function To(De,qe){}function $o(De,qe){if(1&De&&e.YNc(0,To,0,0,"ng-template",4),2&De){const F=qe.searchTerm,Te=e.oxw(2);e.Q6J("ngTemplateOutlet",Te.tagTemplate)("ngTemplateOutletContext",e.VKq(2,Xe,F))}}function Hn(De,qe){1&De&&(e.ynx(0),e.YNc(1,$o,1,4,"ng-template",14),e.BQk())}function Dr(De,qe){}function Eo(De,qe){if(1&De&&e.YNc(0,Dr,0,0,"ng-template",9),2&De){const F=e.oxw(2);e.Q6J("ngTemplateOutlet",F.loadingSpinnerTemplate)}}function So(De,qe){1&De&&(e.ynx(0),e.YNc(1,Eo,1,1,"ng-template",15),e.BQk())}const Zo=function(){return{standalone:!0}};let Xo=(()=>{class De{get disabled(){return this._disabled}set disabled(F){this._disabled=(0,Et.Ig)(F)}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}constructor(F){this.elementRef=F,this._disabled=!1,this.stateChange$=new Le.x}ngOnChanges(F){F.disabled&&this.stateChange$.next({value:this.value,disabled:this._disabled})}ngAfterViewChecked(){this.label!==this._previousLabel&&(this._previousLabel=this.label,this.stateChange$.next({value:this.value,disabled:this._disabled,label:this.elementRef.nativeElement.innerHTML}))}ngOnDestroy(){this.stateChange$.complete()}}return De.\u0275fac=function(F){return new(F||De)(e.Y36(e.SBq))},De.\u0275cmp=e.Xpm({type:De,selectors:[["mtx-option"]],inputs:{value:"value",disabled:"disabled"},exportAs:["mtxOption"],features:[e.TTD],ngContentSelectors:fe,decls:1,vars:0,template:function(F,Te){1&F&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0}),De})(),_n=(()=>{class De{constructor(F){this.template=F}}return De.\u0275fac=function(F){return new(F||De)(e.Y36(e.Rgc))},De.\u0275dir=e.lG2({type:De,selectors:[["","ng-option-tmp",""]]}),De})(),Ro=(()=>{class De{constructor(F){this.template=F}}return De.\u0275fac=function(F){return new(F||De)(e.Y36(e.Rgc))},De.\u0275dir=e.lG2({type:De,selectors:[["","ng-optgroup-tmp",""]]}),De})(),Ho=(()=>{class De{constructor(F){this.template=F}}return De.\u0275fac=function(F){return new(F||De)(e.Y36(e.Rgc))},De.\u0275dir=e.lG2({type:De,selectors:[["","ng-label-tmp",""]]}),De})(),fr=(()=>{class De{constructor(F){this.template=F}}return De.\u0275fac=function(F){return new(F||De)(e.Y36(e.Rgc))},De.\u0275dir=e.lG2({type:De,selectors:[["","ng-multi-label-tmp",""]]}),De})(),lr=(()=>{class De{constructor(F){this.template=F}}return De.\u0275fac=function(F){return new(F||De)(e.Y36(e.Rgc))},De.\u0275dir=e.lG2({type:De,selectors:[["","ng-header-tmp",""]]}),De})(),gr=(()=>{class De{constructor(F){this.template=F}}return De.\u0275fac=function(F){return new(F||De)(e.Y36(e.Rgc))},De.\u0275dir=e.lG2({type:De,selectors:[["","ng-footer-tmp",""]]}),De})(),Wo=(()=>{class De{constructor(F){this.template=F}}return De.\u0275fac=function(F){return new(F||De)(e.Y36(e.Rgc))},De.\u0275dir=e.lG2({type:De,selectors:[["","ng-notfound-tmp",""]]}),De})(),jn=(()=>{class De{constructor(F){this.template=F}}return De.\u0275fac=function(F){return new(F||De)(e.Y36(e.Rgc))},De.\u0275dir=e.lG2({type:De,selectors:[["","ng-typetosearch-tmp",""]]}),De})(),Jr=(()=>{class De{constructor(F){this.template=F}}return De.\u0275fac=function(F){return new(F||De)(e.Y36(e.Rgc))},De.\u0275dir=e.lG2({type:De,selectors:[["","ng-loadingtext-tmp",""]]}),De})(),qn=(()=>{class De{constructor(F){this.template=F}}return De.\u0275fac=function(F){return new(F||De)(e.Y36(e.Rgc))},De.\u0275dir=e.lG2({type:De,selectors:[["","ng-tag-tmp",""]]}),De})(),lo=(()=>{class De{constructor(F){this.template=F}}return De.\u0275fac=function(F){return new(F||De)(e.Y36(e.Rgc))},De.\u0275dir=e.lG2({type:De,selectors:[["","ng-loadingspinner-tmp",""]]}),De})();const qo=new e.OlP("mtx-select-default-options");let co=0;const _i=(0,et.Id)((0,et.FD)(class{constructor(De,qe,F,Te){this._defaultErrorStateMatcher=De,this._parentForm=qe,this._parentFormGroup=F,this.ngControl=Te,this.stateChanges=new Le.x}}));let rn=(()=>{class De extends _i{get clearSearchOnAdd(){return this._clearSearchOnAdd??this.closeOnSelect}set clearSearchOnAdd(F){this._clearSearchOnAdd=F}get items(){return this._items}set items(F){this._itemsAreUsed=!0,this._items=F}get value(){return this._value}set value(F){this._assignValue(F)&&this._onChange(F)}get id(){return this._id}set id(F){this._id=F||this._uid,this.stateChanges.next()}get placeholder(){return this._placeholder}set placeholder(F){this._placeholder=F,this.stateChanges.next()}get focused(){return this._focused}get empty(){return null==this.value||Array.isArray(this.value)&&0===this.value.length}get shouldLabelFloat(){return this.focused||!this.empty}get required(){return this._required??this.ngControl?.control?.hasValidator(T.kI.required)??!1}set required(F){this._required=(0,Et.Ig)(F),this.stateChanges.next()}get panelOpen(){return!!this.ngSelect.isOpen}constructor(F,Te,It,Ht,bi,mn,$n,On,ko){super(Ht,bi,mn,$n),this._changeDetectorRef=F,this._elementRef=Te,this._focusMonitor=It,this._parentFormField=On,this._defaultOptions=ko,this.addTag=!1,this.addTagText=this._defaultOptions?.addTagText??"Add item",this.appearance="underline",this.appendTo=this._defaultOptions?.appendTo??"body",this.bindLabel=this._defaultOptions?.bindLabel,this.bindValue=this._defaultOptions?.bindValue,this.closeOnSelect=!0,this.clearAllText=this._defaultOptions?.clearAllText??"Clear all",this.clearable=!0,this.clearOnBackspace=!0,this.dropdownPosition="auto",this.bufferAmount=4,this.selectableGroup=!1,this.selectableGroupAsModel=!0,this.hideSelected=!1,this.loading=!1,this.loadingText=this._defaultOptions?.loadingText??"Loading...",this.labelForId=null,this.markFirst=!0,this.multiple=!1,this.notFoundText=this._defaultOptions?.notFoundText??"No items found",this.searchable=!0,this.readonly=!1,this.searchFn=null,this.searchWhileComposing=!0,this.selectOnTab=!1,this.trackByFn=null,this.inputAttrs={},this.openOnEnter=this._defaultOptions?.openOnEnter??!0,this.minTermLength=0,this.editableSearchTerm=!1,this.keyDownFn=io=>!0,this.virtualScroll=!1,this.typeToSearchText=this._defaultOptions?.typeToSearchText??"Type to search",this.blurEvent=new e.vpe,this.focusEvent=new e.vpe,this.changeEvent=new e.vpe,this.openEvent=new e.vpe,this.closeEvent=new e.vpe,this.searchEvent=new e.vpe,this.clearEvent=new e.vpe,this.addEvent=new e.vpe,this.removeEvent=new e.vpe,this.scroll=new e.vpe,this.scrollToEnd=new e.vpe,this._clearSearchOnAdd=this._defaultOptions?.clearSearchOnAdd,this._items=[],this._itemsAreUsed=!1,this._destroy$=new Le.x,this._value=null,this.stateChanges=new Le.x,this._uid="mtx-select-"+co++,this._placeholder=this._defaultOptions?.placeholder,this._focused=!1,this.ariaLabel="",this.ariaLabelledby=null,this._ariaDescribedby=null,this.controlType="mtx-select",this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mtx-select-value-"+co++,It.monitor(this._elementRef,!0).subscribe(io=>{this._focused&&!io&&this._onTouched(),this._focused=!!io,this.stateChanges.next()}),this.ngControl&&(this.ngControl.valueAccessor=this),this.id=this.id}ngOnInit(){this.compareWith&&(this.ngSelect.compareWith=this.compareWith)}ngAfterViewInit(){this._itemsAreUsed||this._setItemsFromMtxOptions()}ngDoCheck(){const F=this.ngControl;this.ngControl&&(this._previousControl!==F.control&&(void 0!==this._previousControl&&null!==F.disabled&&F.disabled!==this.disabled&&(this.disabled=F.disabled),this._previousControl=F.control),this.updateErrorState())}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this.stateChanges.complete(),this._focusMonitor.stopMonitoring(this._elementRef)}_getAriaLabelledby(){if(this.ariaLabel)return null;const F=this._parentFormField?.getLabelId();let Te=(F?F+" ":"")+this._valueId;return this.ariaLabelledby&&(Te+=" "+this.ariaLabelledby),Te}setDescribedByIds(F){this._ariaDescribedby=F.length?F.join(" "):null}setDisabledState(F){this.disabled=F,this.readonly=F,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}onContainerClick(F){/mat-mdc-form-field|mtx-select/g.test(F.target.parentElement?.classList[0]||"")&&(this.focus(),this.open())}writeValue(F){this._assignValue(F)}registerOnChange(F){this._onChange=F}registerOnTouched(F){this._onTouched=F}_assignValue(F){return!!(F!==this._value||this.multiple&&Array.isArray(F))&&(this._value=F,this._changeDetectorRef.markForCheck(),!0)}_setItemsFromMtxOptions(){const F=It=>{this.items=It.map(Ht=>({$ngOptionValue:Ht.value,$ngOptionLabel:Ht.elementRef.nativeElement.innerHTML,disabled:Ht.disabled})),this.ngSelect.itemsList.setItems(this.items),this.ngSelect.hasValue&&this.ngSelect.itemsList.mapSelectedItems(),this.ngSelect.detectChanges()},Te=()=>{const It=(0,Qe.T)(this.mtxOptions.changes,this._destroy$);(0,Qe.T)(...this.mtxOptions.map(Ht=>Ht.stateChange$)).pipe((0,l.R)(It)).subscribe(Ht=>{const bi=this.ngSelect.itemsList.findItem(Ht.value);bi.disabled=Ht.disabled,bi.label=Ht.label||bi.label,this.ngSelect.detectChanges()})};this.mtxOptions.changes.pipe((0,O.O)(this.mtxOptions),(0,l.R)(this._destroy$)).subscribe(It=>{F(It),Te()})}open(){this.ngSelect.open()}close(){this.ngSelect.close()}focus(){this.ngSelect.focus()}blur(){this.ngSelect.blur()}}return De.\u0275fac=function(F){return new(F||De)(e.Y36(e.sBO),e.Y36(e.SBq),e.Y36(bt.tE),e.Y36(et.rD),e.Y36(T.F,8),e.Y36(T.sg,8),e.Y36(T.a5,10),e.Y36(Ve.G_,8),e.Y36(qo,8))},De.\u0275cmp=e.Xpm({type:De,selectors:[["mtx-select"]],contentQueries:function(F,Te,It){if(1&F&&(e.Suo(It,_n,5,e.Rgc),e.Suo(It,Ro,5,e.Rgc),e.Suo(It,Ho,5,e.Rgc),e.Suo(It,fr,5,e.Rgc),e.Suo(It,lr,5,e.Rgc),e.Suo(It,gr,5,e.Rgc),e.Suo(It,Wo,5,e.Rgc),e.Suo(It,jn,5,e.Rgc),e.Suo(It,Jr,5,e.Rgc),e.Suo(It,qn,5,e.Rgc),e.Suo(It,lo,5,e.Rgc),e.Suo(It,Xo,5)),2&F){let Ht;e.iGM(Ht=e.CRH())&&(Te.optionTemplate=Ht.first),e.iGM(Ht=e.CRH())&&(Te.optgroupTemplate=Ht.first),e.iGM(Ht=e.CRH())&&(Te.labelTemplate=Ht.first),e.iGM(Ht=e.CRH())&&(Te.multiLabelTemplate=Ht.first),e.iGM(Ht=e.CRH())&&(Te.headerTemplate=Ht.first),e.iGM(Ht=e.CRH())&&(Te.footerTemplate=Ht.first),e.iGM(Ht=e.CRH())&&(Te.notFoundTemplate=Ht.first),e.iGM(Ht=e.CRH())&&(Te.typeToSearchTemplate=Ht.first),e.iGM(Ht=e.CRH())&&(Te.loadingTextTemplate=Ht.first),e.iGM(Ht=e.CRH())&&(Te.tagTemplate=Ht.first),e.iGM(Ht=e.CRH())&&(Te.loadingSpinnerTemplate=Ht.first),e.iGM(Ht=e.CRH())&&(Te.mtxOptions=Ht)}},viewQuery:function(F,Te){if(1&F&&e.Gf(Ze,7),2&F){let It;e.iGM(It=e.CRH())&&(Te.ngSelect=It.first)}},hostAttrs:["role","combobox","aria-autocomplete","none",1,"mtx-select"],hostVars:20,hostBindings:function(F,Te){2&F&&(e.uIk("id",Te.id)("aria-expanded",Te.panelOpen)("aria-label",Te.ariaLabel||null)("aria-labelledby",Te._getAriaLabelledby())("aria-describedby",Te._ariaDescribedby||null)("aria-required",Te.required.toString())("aria-disabled",Te.disabled.toString())("aria-invalid",Te.errorState),e.ekj("mtx-select-floating",Te.shouldLabelFloat)("mtx-select-disabled",Te.disabled)("mtx-select-invalid",Te.errorState)("mtx-select-required",Te.required)("mtx-select-empty",Te.empty)("mtx-select-multiple",Te.multiple))},inputs:{disabled:"disabled",addTag:"addTag",addTagText:"addTagText",appearance:"appearance",appendTo:"appendTo",bindLabel:"bindLabel",bindValue:"bindValue",closeOnSelect:"closeOnSelect",clearAllText:"clearAllText",clearable:"clearable",clearOnBackspace:"clearOnBackspace",compareWith:"compareWith",dropdownPosition:"dropdownPosition",groupBy:"groupBy",groupValue:"groupValue",bufferAmount:"bufferAmount",selectableGroup:"selectableGroup",selectableGroupAsModel:"selectableGroupAsModel",hideSelected:"hideSelected",isOpen:"isOpen",loading:"loading",loadingText:"loadingText",labelForId:"labelForId",markFirst:"markFirst",maxSelectedItems:"maxSelectedItems",multiple:"multiple",notFoundText:"notFoundText",searchable:"searchable",readonly:"readonly",searchFn:"searchFn",searchWhileComposing:"searchWhileComposing",selectOnTab:"selectOnTab",trackByFn:"trackByFn",inputAttrs:"inputAttrs",tabIndex:"tabIndex",openOnEnter:"openOnEnter",minTermLength:"minTermLength",editableSearchTerm:"editableSearchTerm",keyDownFn:"keyDownFn",virtualScroll:"virtualScroll",typeToSearchText:"typeToSearchText",typeahead:"typeahead",clearSearchOnAdd:"clearSearchOnAdd",items:"items",value:"value",id:"id",placeholder:"placeholder",required:"required",errorStateMatcher:"errorStateMatcher",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"]},outputs:{blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},exportAs:["mtxSelect"],features:[e._Bn([{provide:Ve.Eo,useExisting:De}]),e.qOj],decls:13,vars:59,consts:[[3,"ngModel","ngModelOptions","placeholder","items","addTag","addTagText","appendTo","appearance","bindLabel","bindValue","closeOnSelect","clearAllText","clearable","clearOnBackspace","dropdownPosition","groupBy","groupValue","bufferAmount","hideSelected","isOpen","inputAttrs","loading","loadingText","labelForId","markFirst","maxSelectedItems","multiple","notFoundText","readonly","typeahead","typeToSearchText","trackByFn","searchable","searchFn","searchWhileComposing","clearSearchOnAdd","selectableGroup","selectableGroupAsModel","selectOnTab","tabIndex","openOnEnter","minTermLength","editableSearchTerm","keyDownFn","virtualScroll","ngModelChange","blur","focus","change","open","close","search","clear","add","remove","scroll","scrollToEnd"],["ngSelect",""],[4,"ngIf"],["ng-option-tmp",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["ng-optgroup-tmp",""],["ng-label-tmp",""],["ng-multi-label-tmp",""],["ng-header-tmp",""],[3,"ngTemplateOutlet"],["ng-footer-tmp",""],["ng-notfound-tmp",""],["ng-typetosearch-tmp",""],["ng-loadingtext-tmp",""],["ng-tag-tmp",""],["ng-loadingspinner-tmp",""]],template:function(F,Te){1&F&&(e.TgZ(0,"ng-select",0,1),e.NdJ("ngModelChange",function(Ht){return Te.value=Ht})("blur",function(Ht){return Te.blurEvent.emit(Ht)})("focus",function(Ht){return Te.focusEvent.emit(Ht)})("change",function(Ht){return Te.changeEvent.emit(Ht)})("open",function(Ht){return Te.openEvent.emit(Ht)})("close",function(Ht){return Te.closeEvent.emit(Ht)})("search",function(Ht){return Te.searchEvent.emit(Ht)})("clear",function(Ht){return Te.clearEvent.emit(Ht)})("add",function(Ht){return Te.addEvent.emit(Ht)})("remove",function(Ht){return Te.removeEvent.emit(Ht)})("scroll",function(Ht){return Te.scroll.emit(Ht)})("scrollToEnd",function(Ht){return Te.scrollToEnd.emit(Ht)}),e.YNc(2,nn,2,0,"ng-container",2),e.YNc(3,to,2,0,"ng-container",2),e.YNc(4,Yn,2,0,"ng-container",2),e.YNc(5,wo,2,0,"ng-container",2),e.YNc(6,at,2,0,"ng-container",2),e.YNc(7,J,2,0,"ng-container",2),e.YNc(8,Ei,2,0,"ng-container",2),e.YNc(9,Tn,2,0,"ng-container",2),e.YNc(10,Gn,2,0,"ng-container",2),e.YNc(11,Hn,2,0,"ng-container",2),e.YNc(12,So,2,0,"ng-container",2),e.qZA()),2&F&&(e.ekj("ng-select-invalid",Te.errorState),e.Q6J("ngModel",Te.value)("ngModelOptions",e.DdM(58,Zo))("placeholder",Te.placeholder)("items",Te.items)("addTag",Te.addTag)("addTagText",Te.addTagText)("appendTo",Te.appendTo)("appearance",Te.appearance)("bindLabel",Te.bindLabel)("bindValue",Te.bindValue)("closeOnSelect",Te.closeOnSelect)("clearAllText",Te.clearAllText)("clearable",Te.clearable)("clearOnBackspace",Te.clearOnBackspace)("dropdownPosition",Te.dropdownPosition)("groupBy",Te.groupBy)("groupValue",Te.groupValue)("bufferAmount",Te.bufferAmount)("hideSelected",Te.hideSelected)("isOpen",Te.isOpen)("inputAttrs",Te.inputAttrs)("loading",Te.loading)("loadingText",Te.loadingText)("labelForId",Te.labelForId)("markFirst",Te.markFirst)("maxSelectedItems",Te.maxSelectedItems)("multiple",Te.multiple)("notFoundText",Te.notFoundText)("readonly",Te.readonly)("typeahead",Te.typeahead)("typeToSearchText",Te.typeToSearchText)("trackByFn",Te.trackByFn)("searchable",Te.searchable)("searchFn",Te.searchFn)("searchWhileComposing",Te.searchWhileComposing)("clearSearchOnAdd",Te.clearSearchOnAdd)("selectableGroup",Te.selectableGroup)("selectableGroupAsModel",Te.selectableGroupAsModel)("selectOnTab",Te.selectOnTab)("tabIndex",Te.tabIndex)("openOnEnter",Te.openOnEnter)("minTermLength",Te.minTermLength)("editableSearchTerm",Te.editableSearchTerm)("keyDownFn",Te.keyDownFn)("virtualScroll",Te.virtualScroll),e.xp6(2),e.Q6J("ngIf",Te.optionTemplate),e.xp6(1),e.Q6J("ngIf",Te.optgroupTemplate),e.xp6(1),e.Q6J("ngIf",Te.labelTemplate),e.xp6(1),e.Q6J("ngIf",Te.multiLabelTemplate),e.xp6(1),e.Q6J("ngIf",Te.headerTemplate),e.xp6(1),e.Q6J("ngIf",Te.footerTemplate),e.xp6(1),e.Q6J("ngIf",Te.notFoundTemplate),e.xp6(1),e.Q6J("ngIf",Te.typeToSearchTemplate),e.xp6(1),e.Q6J("ngIf",Te.loadingTextTemplate),e.xp6(1),e.Q6J("ngIf",Te.tagTemplate),e.xp6(1),e.Q6J("ngIf",Te.loadingSpinnerTemplate))},dependencies:[s.O5,s.tP,T.JJ,T.On,Si,$t,Yt,ct,Gt,te,Ae,B,pe,Ut,Vt,be,Ro,_n,Ho,fr,lr,gr,Wo,jn,Jr,qn,lo],styles:['.ng-select{padding-right:16px;padding-left:16px;margin-right:-16px;margin-left:-16px}.ng-select .ng-select-container,.ng-select .ng-select-container .ng-value-container{align-items:center}.ng-select .ng-select-container .ng-value-container .ng-input>input{font:inherit;padding:0}.ng-select .ng-placeholder{transition:opacity .2s;opacity:1}.mat-form-field-hide-placeholder .ng-select .ng-placeholder{opacity:0}.ng-select .ng-has-value .ng-placeholder{display:none}.ng-select.ng-select-opened .ng-arrow-wrapper .ng-arrow{top:-2px;border-width:0 5px 5px}.ng-select.ng-select-single.ng-select-filtered .ng-placeholder{display:initial;visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-placeholder:after,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value:after{display:inline-block;content:""}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{margin:2px 4px 2px 0;border-radius:16px;font-size:.875em;line-height:18px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{margin-right:auto;margin-left:4px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-label{display:inline-block;margin:0 8px}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:inline-block;width:18px;height:18px;border-radius:100%;text-align:center}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{margin-right:-4px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.left{margin-left:-4px;margin-right:auto}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{margin-left:-4px}[dir=rtl] .ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon.right{margin-right:-4px;margin-left:auto}.ng-select .ng-clear-wrapper{text-align:center}.ng-select .ng-arrow-wrapper{width:18px}.ng-select .ng-arrow-wrapper .ng-arrow{border-width:5px 5px 2px;border-style:solid}.ng-dropdown-panel.ng-select-bottom{top:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px;box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.ng-dropdown-panel.ng-select-top{bottom:100%;border-top-left-radius:4px;border-top-right-radius:4px;box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.ng-dropdown-panel .ng-dropdown-header,.ng-dropdown-panel .ng-dropdown-footer{padding:14px 16px}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{padding:14px 16px;font-weight:500;-webkit-user-select:none;user-select:none;cursor:pointer}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup.ng-option-disabled{cursor:default}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{position:relative;padding:14px 16px;text-overflow:ellipsis;text-decoration:none;text-align:left;white-space:nowrap;overflow:hidden}[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option{text-align:right}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-left:32px}[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option.ng-option-child{padding-right:32px;padding-left:0}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{padding-right:5px;font-size:80%;font-weight:400}[dir=rtl] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-tag-label{padding-left:5px;padding-right:0}\n'],encapsulation:2,changeDetection:0}),De})(),fo=(()=>{class De{}return De.\u0275fac=function(F){return new(F||De)},De.\u0275mod=e.oAB({type:De}),De.\u0275inj=e.cJS({imports:[s.ez,T.u5,T.UX,Lt]}),De})()},3495:(ri,mt,p)=>{p.d(mt,{Yv:()=>W,y6:()=>C});var e=p(4650),s=p(6895),T=p(2687),l=p(8184),b=p(7376),O=p(3238),X=p(6597),q=p(1281),Ee=p(9521),de=p(3353),Be=p(4080),he=p(7579),Le=p(2722),He=p(5698),Qe=p(445),pt=p(7340);const Re=["tooltip"];function ze($,we){}const Me=function($){return{$implicit:$}};function Pe($,we){if(1&$&&e.YNc(0,ze,0,0,"ng-template",5),2&$){const Fe=e.oxw();e.Q6J("ngTemplateOutlet",Fe.message)("ngTemplateOutletContext",e.VKq(2,Me,Fe.tooltipContext))}}function _e($,we){if(1&$&&e._uU(0),2&$){const Fe=e.oxw();e.Oqu(Fe.message)}}function le($){return Error(`Tooltip position "${$}" is invalid.`)}const Se=new e.OlP("mtx-tooltip-scroll-strategy"),Ke={provide:Se,deps:[l.aV],useFactory:function je($){return()=>$.scrollStrategies.reposition({scrollThrottle:20})}},vt=new e.OlP("mtx-tooltip-default-options",{providedIn:"root",factory:function Ge(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),kt="tooltip-panel",rt=(0,de.i$)({passive:!0});let ot=(()=>{class ${get position(){return this._position}set position(Fe){Fe!==this._position&&(this._position=Fe,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(Fe){this._positionAtOrigin=(0,q.Ig)(Fe),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(Fe){this._disabled=(0,q.Ig)(Fe),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(Fe){this._showDelay=(0,q.su)(Fe)}get hideDelay(){return this._hideDelay}set hideDelay(Fe){this._hideDelay=(0,q.su)(Fe),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(Fe){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=Fe instanceof e.Rgc?Fe:null!=Fe?`${Fe}`.trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipContext(){return this._tooltipContext}set tooltipContext(Fe){this._tooltipContext=Fe,this._setTooltipContext(this._tooltipContext)}get tooltipClass(){return this._tooltipClass}set tooltipClass(Fe){this._tooltipClass=Fe,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(Fe,_t,it,Nt,lt,zt,ft,Pt,li,oi,dt,yt){this._overlay=Fe,this._elementRef=_t,this._scrollDispatcher=it,this._viewContainerRef=Nt,this._ngZone=lt,this._platform=zt,this._ariaDescriber=ft,this._focusMonitor=Pt,this._dir=oi,this._defaultOptions=dt,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mtx",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new he.x,this._scrollStrategy=li,this._document=yt,dt&&(dt.position&&(this.position=dt.position),dt.positionAtOrigin&&(this.positionAtOrigin=dt.positionAtOrigin),dt.touchGestures&&(this.touchGestures=dt.touchGestures)),oi.change.pipe((0,Le.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,Le.R)(this._destroyed)).subscribe(Fe=>{Fe?"keyboard"===Fe&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const Fe=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([_t,it])=>{Fe.removeEventListener(_t,it,rt)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(Fe,this.message,"tooltip"),this._focusMonitor.stopMonitoring(Fe)}show(Fe=this.showDelay,_t){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const it=this._createOverlay(_t);this._detach(),this._portal=this._portal||new Be.C5(this._tooltipComponent,this._viewContainerRef);const Nt=this._tooltipInstance=it.attach(this._portal).instance;Nt._triggerElement=this._elementRef.nativeElement,Nt._mouseLeaveHideDelay=this._hideDelay,Nt.afterHidden().pipe((0,Le.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._setTooltipContext(this._tooltipContext),this._updateTooltipMessage(),Nt.show(Fe)}hide(Fe=this.hideDelay){const _t=this._tooltipInstance;_t&&(_t.isVisible()?_t.hide(Fe):(_t._cancelPendingAnimations(),this._detach()))}toggle(Fe){this._isTooltipVisible()?this.hide():this.show(void 0,Fe)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(Fe){if(this._overlayRef){const Nt=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!Fe)&&Nt._origin instanceof e.SBq)return this._overlayRef;this._detach()}const _t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),it=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&Fe||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(_t);return it.positionChanges.pipe((0,Le.R)(this._destroyed)).subscribe(Nt=>{this._updateCurrentPositionClass(Nt.connectionPair),this._tooltipInstance&&Nt.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:it,panelClass:`${this._cssClassPrefix}-${kt}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,Le.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,Le.R)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,Le.R)(this._destroyed)).subscribe(Nt=>{this._isTooltipVisible()&&Nt.keyCode===Ee.hY&&!(0,Ee.Vb)(Nt)&&(Nt.preventDefault(),Nt.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(Fe){const _t=Fe.getConfig().positionStrategy,it=this._getOrigin(),Nt=this._getOverlayPosition();_t.withPositions([this._addOffset({...it.main,...Nt.main}),this._addOffset({...it.fallback,...Nt.fallback})])}_addOffset(Fe){return Fe}_getOrigin(){const Fe=!this._dir||"ltr"==this._dir.value,_t=this.position;let it;if("above"==_t||"below"==_t)it={originX:"center",originY:"above"==_t?"top":"bottom"};else if("before"==_t||"left"==_t&&Fe||"right"==_t&&!Fe)it={originX:"start",originY:"center"};else{if(!("after"==_t||"right"==_t&&Fe||"left"==_t&&!Fe))throw le(_t);it={originX:"end",originY:"center"}}const{x:Nt,y:lt}=this._invertPosition(it.originX,it.originY);return{main:it,fallback:{originX:Nt,originY:lt}}}_getOverlayPosition(){const Fe=!this._dir||"ltr"==this._dir.value,_t=this.position;let it;if("above"==_t)it={overlayX:"center",overlayY:"bottom"};else if("below"==_t)it={overlayX:"center",overlayY:"top"};else if("before"==_t||"left"==_t&&Fe||"right"==_t&&!Fe)it={overlayX:"end",overlayY:"center"};else{if(!("after"==_t||"right"==_t&&Fe||"left"==_t&&!Fe))throw le(_t);it={overlayX:"start",overlayY:"center"}}const{x:Nt,y:lt}=this._invertPosition(it.overlayX,it.overlayY);return{main:it,fallback:{overlayX:Nt,overlayY:lt}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,He.q)(1),(0,Le.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipContext(Fe){this._tooltipInstance&&(this._tooltipInstance.tooltipContext=Fe,this._tooltipInstance._markForCheck())}_setTooltipClass(Fe){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=Fe,this._tooltipInstance._markForCheck())}_invertPosition(Fe,_t){return"above"===this.position||"below"===this.position?"top"===_t?_t="bottom":"bottom"===_t&&(_t="top"):"end"===Fe?Fe="start":"start"===Fe&&(Fe="end"),{x:Fe,y:_t}}_updateCurrentPositionClass(Fe){const{overlayY:_t,originX:it,originY:Nt}=Fe;let lt;if(lt="center"===_t?this._dir&&"rtl"===this._dir.value?"end"===it?"left":"right":"start"===it?"left":"right":"bottom"===_t&&"top"===Nt?"above":"below",lt!==this._currentPosition){const zt=this._overlayRef;if(zt){const ft=`${this._cssClassPrefix}-${kt}-`;zt.removePanelClass(ft+this._currentPosition),zt.addPanelClass(ft+lt)}this._currentPosition=lt}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",Fe=>{let _t;this._setupPointerExitEventsIfNeeded(),void 0!==Fe.x&&void 0!==Fe.y&&(_t=Fe),this.show(void 0,_t)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",Fe=>{const _t=Fe.targetTouches?.[0],it=_t?{x:_t.clientX,y:_t.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,it),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const Fe=[];if(this._platformSupportsMouseEvents())Fe.push(["mouseleave",_t=>{const it=_t.relatedTarget;(!it||!this._overlayRef?.overlayElement.contains(it))&&this.hide()}],["wheel",_t=>this._wheelListener(_t)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const _t=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};Fe.push(["touchend",_t],["touchcancel",_t])}this._addListeners(Fe),this._passiveListeners.push(...Fe)}_addListeners(Fe){Fe.forEach(([_t,it])=>{this._elementRef.nativeElement.addEventListener(_t,it,rt)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(Fe){if(this._isTooltipVisible()){const _t=this._document.elementFromPoint(Fe.clientX,Fe.clientY),it=this._elementRef.nativeElement;_t!==it&&!it.contains(_t)&&this.hide()}}_disableNativeGesturesIfNecessary(){const Fe=this.touchGestures;if("off"!==Fe){const _t=this._elementRef.nativeElement,it=_t.style;("on"===Fe||"INPUT"!==_t.nodeName&&"TEXTAREA"!==_t.nodeName)&&(it.userSelect=it.msUserSelect=it.webkitUserSelect=it.MozUserSelect="none"),("on"===Fe||!_t.draggable)&&(it.webkitUserDrag="none"),it.touchAction="none",it.webkitTapHighlightColor="transparent"}}}return $.\u0275fac=function(Fe){e.$Z()},$.\u0275dir=e.lG2({type:$,inputs:{position:["mtxTooltipPosition","position"],positionAtOrigin:["mtxTooltipPositionAtOrigin","positionAtOrigin"],disabled:["mtxTooltipDisabled","disabled"],showDelay:["mtxTooltipShowDelay","showDelay"],hideDelay:["mtxTooltipHideDelay","hideDelay"],touchGestures:["mtxTooltipTouchGestures","touchGestures"],message:["mtxTooltip","message"],tooltipContext:["mtxTooltipContext","tooltipContext"],tooltipClass:["mtxTooltipClass","tooltipClass"]}}),$})(),W=(()=>{class $ extends ot{constructor(Fe,_t,it,Nt,lt,zt,ft,Pt,li,oi,dt,yt){super(Fe,_t,it,Nt,lt,zt,ft,Pt,li,oi,dt,yt),this._tooltipComponent=H,this._cssClassPrefix="mtx-mdc",this._viewportMargin=8}_addOffset(Fe){const it=!this._dir||"ltr"==this._dir.value;return"top"===Fe.originY?Fe.offsetY=-8:"bottom"===Fe.originY?Fe.offsetY=8:"start"===Fe.originX?Fe.offsetX=it?-8:8:"end"===Fe.originX&&(Fe.offsetX=it?8:-8),Fe}}return $.\u0275fac=function(Fe){return new(Fe||$)(e.Y36(l.aV),e.Y36(e.SBq),e.Y36(b.mF),e.Y36(e.s_b),e.Y36(e.R0b),e.Y36(de.t4),e.Y36(T.$s),e.Y36(T.tE),e.Y36(Se),e.Y36(Qe.Is,8),e.Y36(vt,8),e.Y36(s.K0))},$.\u0275dir=e.lG2({type:$,selectors:[["","mtxTooltip",""]],hostAttrs:[1,"mtx-mdc-tooltip-trigger"],exportAs:["mtxTooltip"],features:[e.qOj]}),$})(),j=(()=>{class ${constructor(Fe,_t){this._changeDetectorRef=Fe,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new he.x,this._animationsDisabled="NoopAnimations"===_t}show(Fe){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},Fe)}hide(Fe){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},Fe)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:Fe}){(!Fe||!this._triggerElement.contains(Fe))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:Fe}){(Fe===this._showAnimation||Fe===this._hideAnimation)&&this._finalizeAnimation(Fe===this._showAnimation)}_cancelPendingAnimations(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(Fe){Fe?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(Fe){const _t=this._tooltip.nativeElement,it=this._showAnimation,Nt=this._hideAnimation;if(_t.classList.remove(Fe?Nt:it),_t.classList.add(Fe?it:Nt),this._isVisible=Fe,Fe&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const lt=getComputedStyle(_t);("0s"===lt.getPropertyValue("animation-duration")||"none"===lt.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}Fe&&this._onShow(),this._animationsDisabled&&(_t.classList.add("_mtx-animation-noopable"),this._finalizeAnimation(Fe))}}return $.\u0275fac=function(Fe){return new(Fe||$)(e.Y36(e.sBO),e.Y36(e.QbO,8))},$.\u0275dir=e.lG2({type:$}),$})(),H=(()=>{class $ extends j{constructor(Fe,_t,it){super(Fe,it),this._elementRef=_t,this._isMultiline=!1,this._showAnimation="mtx-mdc-tooltip-show",this._hideAnimation="mtx-mdc-tooltip-hide"}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const Fe=this._elementRef.nativeElement.getBoundingClientRect();return Fe.height>24&&Fe.width>=200}}return $.\u0275fac=function(Fe){return new(Fe||$)(e.Y36(e.sBO),e.Y36(e.SBq),e.Y36(e.QbO,8))},$.\u0275cmp=e.Xpm({type:$,selectors:[["mtx-tooltip-component"]],viewQuery:function(Fe,_t){if(1&Fe&&e.Gf(Re,7),2&Fe){let it;e.iGM(it=e.CRH())&&(_t._tooltip=it.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(Fe,_t){1&Fe&&e.NdJ("mouseleave",function(Nt){return _t._handleMouseLeave(Nt)}),2&Fe&&e.Udp("zoom",_t.isVisible()?1:null)},features:[e.qOj],decls:7,vars:7,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mtx-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"],[3,"ngIf","ngIfElse"],["msgStrTpl",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(Fe,_t){if(1&Fe&&(e.TgZ(0,"div",0,1),e.NdJ("animationend",function(Nt){return _t._handleAnimationEnd(Nt)}),e.TgZ(2,"div",2),e.YNc(3,Pe,1,4,"ng-template",3),e.ALo(4,"isTemplateRef"),e.YNc(5,_e,1,1,"ng-template",null,4,e.W1O),e.qZA()()),2&Fe){const it=e.MAs(6);e.ekj("mdc-tooltip--multiline",_t._isMultiline),e.Q6J("ngClass",_t.tooltipClass),e.xp6(3),e.Q6J("ngIf",e.lcZ(4,5,_t.message))("ngIfElse",it)}},dependencies:[s.mk,s.O5,s.tP,X.U7],styles:['.mdc-tooltip__surface{word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface:before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid transparent;border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface:before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:184px;margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:304px;align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{outline:1px solid transparent;z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color, #fff)}.mdc-tooltip__surface,.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color, #000)}.mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font, inherit);font-size:var(--mdc-plain-tooltip-supporting-text-size, inherit);font-weight:var(--mdc-plain-tooltip-supporting-text-weight, inherit);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, inherit)}.mdc-tooltip.mat-mdc-tooltip,.mdc-tooltip.mtx-mdc-tooltip{position:relative}.mtx-mdc-tooltip{position:relative;transform:scale(0)}.mtx-mdc-tooltip:before{content:"";inset:0;z-index:-1;position:absolute}.mtx-mdc-tooltip-panel-below .mtx-mdc-tooltip:before{top:-8px}.mtx-mdc-tooltip-panel-above .mtx-mdc-tooltip:before{bottom:-8px}.mtx-mdc-tooltip-panel-right .mtx-mdc-tooltip:before{left:-8px}.mtx-mdc-tooltip-panel-left .mtx-mdc-tooltip:before{right:-8px}.mtx-mdc-tooltip._mtx-animation-noopable{animation:none;transform:scale(1)}.mtx-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mtx-mdc-tooltip-show{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes mtx-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}.mtx-mdc-tooltip-show{animation:mtx-mdc-tooltip-show .15s cubic-bezier(0,0,.2,1) forwards}.mtx-mdc-tooltip-hide{animation:mtx-mdc-tooltip-hide 75ms cubic-bezier(.4,0,1,1) forwards}\n'],encapsulation:2,changeDetection:0}),$})(),C=(()=>{class ${}return $.\u0275fac=function(Fe){return new(Fe||$)},$.\u0275mod=e.oAB({type:$}),$.\u0275inj=e.cJS({providers:[Ke],imports:[T.rt,s.ez,l.U8,O.BQ,X.Jr,O.BQ,b.ZD]}),$})();(0,pt.X$)("state",[(0,pt.SB)("initial, void, hidden",(0,pt.oB)({opacity:0,transform:"scale(0.8)"})),(0,pt.SB)("visible",(0,pt.oB)({transform:"scale(1)"})),(0,pt.eR)("* => visible",(0,pt.jt)("150ms cubic-bezier(0, 0, 0.2, 1)")),(0,pt.eR)("* => hidden",(0,pt.jt)("75ms cubic-bezier(0.4, 0, 1, 1)"))])},9066:(ri,mt,p)=>{p.d(mt,{Pi:()=>Wt,Zw:()=>He,aw:()=>gi,X$:()=>yi,sK:()=>rt});var e=p(4650),s=p(9646),T=p(5191),l=p(4128),b=p(7272),O=p(9770),X=p(5698),q=p(4707),Ee=p(3099);function de(jt,ai,ot){let W,j=!1;return jt&&"object"==typeof jt?({bufferSize:W=1/0,windowTime:ai=1/0,refCount:j=!1,scheduler:ot}=jt):W=jt??1/0,(0,Ee.B)({connector:()=>new q.t(W,ai,ot),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:j})}var Be=p(4004),he=p(4351),Le=p(3900);class He{}let Qe=(()=>{class jt extends He{getTranslation(ot){return(0,s.of)({})}}return jt.\u0275fac=function(){let ai;return function(W){return(ai||(ai=e.n5z(jt)))(W||jt)}}(),jt.\u0275prov=e.Yz7({token:jt,factory:jt.\u0275fac}),jt})();class pt{}let Re=(()=>{class jt{handle(ot){return ot.key}}return jt.\u0275fac=function(ot){return new(ot||jt)},jt.\u0275prov=e.Yz7({token:jt,factory:jt.\u0275fac}),jt})();function ze(jt,ai){if(jt===ai)return!0;if(null===jt||null===ai)return!1;if(jt!=jt&&ai!=ai)return!0;let j,H,C,ot=typeof jt;if(ot==typeof ai&&"object"==ot){if(!Array.isArray(jt)){if(Array.isArray(ai))return!1;for(H in C=Object.create(null),jt){if(!ze(jt[H],ai[H]))return!1;C[H]=!0}for(H in ai)if(!(H in C)&&typeof ai[H]<"u")return!1;return!0}if(!Array.isArray(ai))return!1;if((j=jt.length)==ai.length){for(H=0;H<j;H++)if(!ze(jt[H],ai[H]))return!1;return!0}}return!1}function Me(jt){return typeof jt<"u"&&null!==jt}function Pe(jt){return jt&&"object"==typeof jt&&!Array.isArray(jt)}function _e(jt,ai){let ot=Object.assign({},jt);return Pe(jt)&&Pe(ai)&&Object.keys(ai).forEach(W=>{Pe(ai[W])?W in jt?ot[W]=_e(jt[W],ai[W]):Object.assign(ot,{[W]:ai[W]}):Object.assign(ot,{[W]:ai[W]})}),ot}class ge{}let le=(()=>{class jt extends ge{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(ot,W){let j;return j="string"==typeof ot?this.interpolateString(ot,W):"function"==typeof ot?this.interpolateFunction(ot,W):ot,j}getValue(ot,W){let j="string"==typeof W?W.split("."):[W];W="";do{W+=j.shift(),!Me(ot)||!Me(ot[W])||"object"!=typeof ot[W]&&j.length?j.length?W+=".":ot=void 0:(ot=ot[W],W="")}while(j.length);return ot}interpolateFunction(ot,W){return ot(W)}interpolateString(ot,W){return W?ot.replace(this.templateMatcher,(j,H)=>{let C=this.getValue(W,H);return Me(C)?C:j}):ot}}return jt.\u0275fac=function(){let ai;return function(W){return(ai||(ai=e.n5z(jt)))(W||jt)}}(),jt.\u0275prov=e.Yz7({token:jt,factory:jt.\u0275fac}),jt})();class Se{}let je=(()=>{class jt extends Se{compile(ot,W){return ot}compileTranslations(ot,W){return ot}}return jt.\u0275fac=function(){let ai;return function(W){return(ai||(ai=e.n5z(jt)))(W||jt)}}(),jt.\u0275prov=e.Yz7({token:jt,factory:jt.\u0275fac}),jt})();class Ke{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new e.vpe,this.onLangChange=new e.vpe,this.onDefaultLangChange=new e.vpe}}const Ge=new e.OlP("USE_STORE"),vt=new e.OlP("USE_DEFAULT_LANG"),xe=new e.OlP("DEFAULT_LANGUAGE"),kt=new e.OlP("USE_EXTEND");let rt=(()=>{class jt{constructor(ot,W,j,H,C,Y=!0,$=!1,we=!1,Fe){this.store=ot,this.currentLoader=W,this.compiler=j,this.parser=H,this.missingTranslationHandler=C,this.useDefaultLang=Y,this.isolate=$,this.extend=we,this.pending=!1,this._onTranslationChange=new e.vpe,this._onLangChange=new e.vpe,this._onDefaultLangChange=new e.vpe,this._langs=[],this._translations={},this._translationRequests={},Fe&&this.setDefaultLang(Fe)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(ot){this.isolate?this._defaultLang=ot:this.store.defaultLang=ot}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(ot){this.isolate?this._currentLang=ot:this.store.currentLang=ot}get langs(){return this.isolate?this._langs:this.store.langs}set langs(ot){this.isolate?this._langs=ot:this.store.langs=ot}get translations(){return this.isolate?this._translations:this.store.translations}set translations(ot){this.isolate?this._translations=ot:this.store.translations=ot}setDefaultLang(ot){if(ot===this.defaultLang)return;let W=this.retrieveTranslations(ot);typeof W<"u"?(null==this.defaultLang&&(this.defaultLang=ot),W.pipe((0,X.q)(1)).subscribe(j=>{this.changeDefaultLang(ot)})):this.changeDefaultLang(ot)}getDefaultLang(){return this.defaultLang}use(ot){if(ot===this.currentLang)return(0,s.of)(this.translations[ot]);let W=this.retrieveTranslations(ot);return typeof W<"u"?(this.currentLang||(this.currentLang=ot),W.pipe((0,X.q)(1)).subscribe(j=>{this.changeLang(ot)}),W):(this.changeLang(ot),(0,s.of)(this.translations[ot]))}retrieveTranslations(ot){let W;return(typeof this.translations[ot]>"u"||this.extend)&&(this._translationRequests[ot]=this._translationRequests[ot]||this.getTranslation(ot),W=this._translationRequests[ot]),W}getTranslation(ot){this.pending=!0;const W=this.currentLoader.getTranslation(ot).pipe(de(1),(0,X.q)(1));return this.loadingTranslations=W.pipe((0,Be.U)(j=>this.compiler.compileTranslations(j,ot)),de(1),(0,X.q)(1)),this.loadingTranslations.subscribe({next:j=>{this.translations[ot]=this.extend&&this.translations[ot]?{...j,...this.translations[ot]}:j,this.updateLangs(),this.pending=!1},error:j=>{this.pending=!1}}),W}setTranslation(ot,W,j=!1){W=this.compiler.compileTranslations(W,ot),this.translations[ot]=(j||this.extend)&&this.translations[ot]?_e(this.translations[ot],W):W,this.updateLangs(),this.onTranslationChange.emit({lang:ot,translations:this.translations[ot]})}getLangs(){return this.langs}addLangs(ot){ot.forEach(W=>{-1===this.langs.indexOf(W)&&this.langs.push(W)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(ot,W,j){let H;if(W instanceof Array){let C={},Y=!1;for(let $ of W)C[$]=this.getParsedResult(ot,$,j),(0,T.b)(C[$])&&(Y=!0);if(Y){const $=W.map(we=>(0,T.b)(C[we])?C[we]:(0,s.of)(C[we]));return(0,l.D)($).pipe((0,Be.U)(we=>{let Fe={};return we.forEach((_t,it)=>{Fe[W[it]]=_t}),Fe}))}return C}if(ot&&(H=this.parser.interpolate(this.parser.getValue(ot,W),j)),typeof H>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(H=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],W),j)),typeof H>"u"){let C={key:W,translateService:this};typeof j<"u"&&(C.interpolateParams=j),H=this.missingTranslationHandler.handle(C)}return typeof H<"u"?H:W}get(ot,W){if(!Me(ot)||!ot.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,he.b)(j=>(j=this.getParsedResult(j,ot,W),(0,T.b)(j)?j:(0,s.of)(j))));{let j=this.getParsedResult(this.translations[this.currentLang],ot,W);return(0,T.b)(j)?j:(0,s.of)(j)}}getStreamOnTranslationChange(ot,W){if(!Me(ot)||!ot.length)throw new Error('Parameter "key" required');return(0,b.z)((0,O.P)(()=>this.get(ot,W)),this.onTranslationChange.pipe((0,Le.w)(j=>{const H=this.getParsedResult(j.translations,ot,W);return"function"==typeof H.subscribe?H:(0,s.of)(H)})))}stream(ot,W){if(!Me(ot)||!ot.length)throw new Error('Parameter "key" required');return(0,b.z)((0,O.P)(()=>this.get(ot,W)),this.onLangChange.pipe((0,Le.w)(j=>{const H=this.getParsedResult(j.translations,ot,W);return(0,T.b)(H)?H:(0,s.of)(H)})))}instant(ot,W){if(!Me(ot)||!ot.length)throw new Error('Parameter "key" required');let j=this.getParsedResult(this.translations[this.currentLang],ot,W);if((0,T.b)(j)){if(ot instanceof Array){let H={};return ot.forEach((C,Y)=>{H[ot[Y]]=ot[Y]}),H}return ot}return j}set(ot,W,j=this.currentLang){this.translations[j][ot]=this.compiler.compile(W,j),this.updateLangs(),this.onTranslationChange.emit({lang:j,translations:this.translations[j]})}changeLang(ot){this.currentLang=ot,this.onLangChange.emit({lang:ot,translations:this.translations[ot]}),null==this.defaultLang&&this.changeDefaultLang(ot)}changeDefaultLang(ot){this.defaultLang=ot,this.onDefaultLangChange.emit({lang:ot,translations:this.translations[ot]})}reloadLang(ot){return this.resetLang(ot),this.getTranslation(ot)}resetLang(ot){this._translationRequests[ot]=void 0,this.translations[ot]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let ot=window.navigator.languages?window.navigator.languages[0]:null;return ot=ot||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof ot>"u"?void 0:(-1!==ot.indexOf("-")&&(ot=ot.split("-")[0]),-1!==ot.indexOf("_")&&(ot=ot.split("_")[0]),ot)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let ot=window.navigator.languages?window.navigator.languages[0]:null;return ot=ot||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,ot}}return jt.\u0275fac=function(ot){return new(ot||jt)(e.LFG(Ke),e.LFG(He),e.LFG(Se),e.LFG(ge),e.LFG(pt),e.LFG(vt),e.LFG(Ge),e.LFG(kt),e.LFG(xe))},jt.\u0275prov=e.Yz7({token:jt,factory:jt.\u0275fac}),jt})(),Wt=(()=>{class jt{constructor(ot,W,j){this.translateService=ot,this.element=W,this._ref=j,this.onTranslationChangeSub||(this.onTranslationChangeSub=this.translateService.onTranslationChange.subscribe(H=>{H.lang===this.translateService.currentLang&&this.checkNodes(!0,H.translations)})),this.onLangChangeSub||(this.onLangChangeSub=this.translateService.onLangChange.subscribe(H=>{this.checkNodes(!0,H.translations)})),this.onDefaultLangChangeSub||(this.onDefaultLangChangeSub=this.translateService.onDefaultLangChange.subscribe(H=>{this.checkNodes(!0)}))}set translate(ot){ot&&(this.key=ot,this.checkNodes())}set translateParams(ot){ze(this.currentParams,ot)||(this.currentParams=ot,this.checkNodes(!0))}ngAfterViewChecked(){this.checkNodes()}checkNodes(ot=!1,W){let j=this.element.nativeElement.childNodes;j.length||(this.setContent(this.element.nativeElement,this.key),j=this.element.nativeElement.childNodes);for(let H=0;H<j.length;++H){let C=j[H];if(3===C.nodeType){let Y;if(ot&&(C.lastKey=null),Me(C.lookupKey))Y=C.lookupKey;else if(this.key)Y=this.key;else{let $=this.getContent(C),we=$.trim();we.length&&(C.lookupKey=we,$!==C.currentValue?(Y=we,C.originalContent=$||C.originalContent):C.originalContent?Y=C.originalContent.trim():$!==C.currentValue&&(Y=we,C.originalContent=$||C.originalContent))}this.updateValue(Y,C,W)}}}updateValue(ot,W,j){if(ot){if(W.lastKey===ot&&this.lastParams===this.currentParams)return;this.lastParams=this.currentParams;let H=C=>{C!==ot&&(W.lastKey=ot),W.originalContent||(W.originalContent=this.getContent(W)),W.currentValue=Me(C)?C:W.originalContent||ot,this.setContent(W,this.key?W.currentValue:W.originalContent.replace(ot,W.currentValue)),this._ref.markForCheck()};if(Me(j)){let C=this.translateService.getParsedResult(j,ot,this.currentParams);(0,T.b)(C)?C.subscribe({next:H}):H(C)}else this.translateService.get(ot,this.currentParams).subscribe(H)}}getContent(ot){return Me(ot.textContent)?ot.textContent:ot.data}setContent(ot,W){Me(ot.textContent)?ot.textContent=W:ot.data=W}ngOnDestroy(){this.onLangChangeSub&&this.onLangChangeSub.unsubscribe(),this.onDefaultLangChangeSub&&this.onDefaultLangChangeSub.unsubscribe(),this.onTranslationChangeSub&&this.onTranslationChangeSub.unsubscribe()}}return jt.\u0275fac=function(ot){return new(ot||jt)(e.Y36(rt),e.Y36(e.SBq),e.Y36(e.sBO))},jt.\u0275dir=e.lG2({type:jt,selectors:[["","translate",""],["","ngx-translate",""]],inputs:{translate:"translate",translateParams:"translateParams"}}),jt})(),yi=(()=>{class jt{constructor(ot,W){this.translate=ot,this._ref=W,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(ot,W,j){let H=C=>{this.value=void 0!==C?C:ot,this.lastKey=ot,this._ref.markForCheck()};if(j){let C=this.translate.getParsedResult(j,ot,W);(0,T.b)(C.subscribe)?C.subscribe(H):H(C)}this.translate.get(ot,W).subscribe(H)}transform(ot,...W){if(!ot||!ot.length)return ot;if(ze(ot,this.lastKey)&&ze(W,this.lastParams))return this.value;let j;if(Me(W[0])&&W.length)if("string"==typeof W[0]&&W[0].length){let H=W[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{j=JSON.parse(H)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${W[0]}`)}}else"object"==typeof W[0]&&!Array.isArray(W[0])&&(j=W[0]);return this.lastKey=ot,this.lastParams=W,this.updateValue(ot,j),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(H=>{this.lastKey&&H.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(ot,j,H.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(H=>{this.lastKey&&(this.lastKey=null,this.updateValue(ot,j,H.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(ot,j))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return jt.\u0275fac=function(ot){return new(ot||jt)(e.Y36(rt,16),e.Y36(e.sBO,16))},jt.\u0275pipe=e.Yjl({name:"translate",type:jt,pure:!1}),jt.\u0275prov=e.Yz7({token:jt,factory:jt.\u0275fac}),jt})(),gi=(()=>{class jt{static forRoot(ot={}){return{ngModule:jt,providers:[ot.loader||{provide:He,useClass:Qe},ot.compiler||{provide:Se,useClass:je},ot.parser||{provide:ge,useClass:le},ot.missingTranslationHandler||{provide:pt,useClass:Re},Ke,{provide:Ge,useValue:ot.isolate},{provide:vt,useValue:ot.useDefaultLang},{provide:kt,useValue:ot.extend},{provide:xe,useValue:ot.defaultLanguage},rt]}}static forChild(ot={}){return{ngModule:jt,providers:[ot.loader||{provide:He,useClass:Qe},ot.compiler||{provide:Se,useClass:je},ot.parser||{provide:ge,useClass:le},ot.missingTranslationHandler||{provide:pt,useClass:Re},{provide:Ge,useValue:ot.isolate},{provide:vt,useValue:ot.useDefaultLang},{provide:kt,useValue:ot.extend},{provide:xe,useValue:ot.defaultLanguage},rt]}}}return jt.\u0275fac=function(ot){return new(ot||jt)},jt.\u0275mod=e.oAB({type:jt}),jt.\u0275inj=e.cJS({}),jt})()},7185:(ri,mt,p)=>{p.d(mt,{Rh:()=>gi,_W:()=>kt});var e=p(4650),s=p(7340),T=p(6895),l=p(7579),b=p(1481);const O=["toast-component",""];function X(j,H){if(1&j){const C=e.EpF();e.TgZ(0,"button",5),e.NdJ("click",function(){e.CHM(C);const $=e.oxw();return e.KtG($.remove())}),e.TgZ(1,"span",6),e._uU(2,"\xd7"),e.qZA()()}}function q(j,H){if(1&j&&(e.ynx(0),e._uU(1),e.BQk()),2&j){const C=e.oxw(2);e.xp6(1),e.hij("[",C.duplicatesCount+1,"]")}}function Ee(j,H){if(1&j&&(e.TgZ(0,"div"),e._uU(1),e.YNc(2,q,2,1,"ng-container",4),e.qZA()),2&j){const C=e.oxw();e.Tol(C.options.titleClass),e.uIk("aria-label",C.title),e.xp6(1),e.hij(" ",C.title," "),e.xp6(1),e.Q6J("ngIf",C.duplicatesCount)}}function de(j,H){if(1&j&&e._UZ(0,"div",7),2&j){const C=e.oxw();e.Tol(C.options.messageClass),e.Q6J("innerHTML",C.message,e.oJD)}}function Be(j,H){if(1&j&&(e.TgZ(0,"div",8),e._uU(1),e.qZA()),2&j){const C=e.oxw();e.Tol(C.options.messageClass),e.uIk("aria-label",C.message),e.xp6(1),e.hij(" ",C.message," ")}}function he(j,H){if(1&j&&(e.TgZ(0,"div"),e._UZ(1,"div",9),e.qZA()),2&j){const C=e.oxw();e.xp6(1),e.Udp("width",C.width+"%")}}class Pe{constructor(H,C){this.component=H,this.injector=C}attach(H,C){return this._attachedHost=H,H.attach(this,C)}detach(){const H=this._attachedHost;if(H)return this._attachedHost=void 0,H.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(H){this._attachedHost=H}}class _e{attach(H,C){return this._attachedPortal=H,this.attachComponentPortal(H,C)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(H){this._disposeFn=H}}class ge{constructor(H){this._overlayRef=H,this.duplicatesCount=0,this._afterClosed=new l.x,this._activate=new l.x,this._manualClose=new l.x,this._resetTimeout=new l.x,this._countDuplicate=new l.x}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(H,C){H&&this._resetTimeout.next(),C&&this._countDuplicate.next(++this.duplicatesCount)}}class le{constructor(H,C,Y,$,we,Fe){this.toastId=H,this.config=C,this.message=Y,this.title=$,this.toastType=we,this.toastRef=Fe,this._onTap=new l.x,this._onAction=new l.x,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(H){this._onAction.next(H)}onAction(){return this._onAction.asObservable()}}const je=new e.OlP("ToastConfig");class Ke extends _e{constructor(H,C,Y){super(),this._hostDomElement=H,this._componentFactoryResolver=C,this._appRef=Y}attachComponentPortal(H,C){const Y=this._componentFactoryResolver.resolveComponentFactory(H.component);let $;return $=Y.create(H.injector),this._appRef.attachView($.hostView),this.setDisposeFn(()=>{this._appRef.detachView($.hostView),$.destroy()}),C?this._hostDomElement.insertBefore(this._getComponentRootNode($),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode($)),$}_getComponentRootNode(H){return H.hostView.rootNodes[0]}}let Ge=(()=>{class j{constructor(){this._document=(0,e.f3M)(T.K0)}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const C=this._document.createElement("div");C.classList.add("overlay-container"),C.setAttribute("aria-live","polite"),this._document.body.appendChild(C),this._containerElement=C}}return j.\u0275fac=function(C){return new(C||j)},j.\u0275prov=e.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j})();class vt{constructor(H){this._portalHost=H}attach(H,C=!0){return this._portalHost.attach(H,C)}detach(){return this._portalHost.detach()}}let xe=(()=>{class j{constructor(){this._overlayContainer=(0,e.f3M)(Ge),this._componentFactoryResolver=(0,e.f3M)(e._Vd),this._appRef=(0,e.f3M)(e.z2F),this._document=(0,e.f3M)(T.K0),this._paneElements=new Map}create(C,Y){return this._createOverlayRef(this.getPaneElement(C,Y))}getPaneElement(C="",Y){return this._paneElements.get(Y)||this._paneElements.set(Y,{}),this._paneElements.get(Y)[C]||(this._paneElements.get(Y)[C]=this._createPaneElement(C,Y)),this._paneElements.get(Y)[C]}_createPaneElement(C,Y){const $=this._document.createElement("div");return $.id="toast-container",$.classList.add(C),$.classList.add("toast-container"),Y?Y.getContainerElement().appendChild($):this._overlayContainer.getContainerElement().appendChild($),$}_createPortalHost(C){return new Ke(C,this._componentFactoryResolver,this._appRef)}_createOverlayRef(C){return new vt(this._createPortalHost(C))}}return j.\u0275fac=function(C){return new(C||j)},j.\u0275prov=e.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j})(),kt=(()=>{class j{constructor(C,Y,$,we,Fe){this.overlay=Y,this._injector=$,this.sanitizer=we,this.ngZone=Fe,this.currentlyActive=0,this.toasts=[],this.index=0,this.toastrConfig={...C.default,...C.config},C.config.iconClasses&&(this.toastrConfig.iconClasses={...C.default.iconClasses,...C.config.iconClasses})}show(C,Y,$={},we=""){return this._preBuildNotification(we,C,Y,this.applyConfig($))}success(C,Y,$={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",C,Y,this.applyConfig($))}error(C,Y,$={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",C,Y,this.applyConfig($))}info(C,Y,$={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",C,Y,this.applyConfig($))}warning(C,Y,$={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",C,Y,this.applyConfig($))}clear(C){for(const Y of this.toasts)if(void 0!==C){if(Y.toastId===C)return void Y.toastRef.manualClose()}else Y.toastRef.manualClose()}remove(C){const Y=this._findToast(C);if(!Y||(Y.activeToast.toastRef.close(),this.toasts.splice(Y.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 $=this.toasts[this.currentlyActive].toastRef;$.isInactive()||(this.currentlyActive=this.currentlyActive+1,$.activate())}return!0}findDuplicate(C="",Y="",$,we){const{includeTitleDuplicates:Fe}=this.toastrConfig;for(const _t of this.toasts)if((!Fe||Fe&&_t.title===C)&&_t.message===Y)return _t.toastRef.onDuplicate($,we),_t;return null}applyConfig(C={}){return{...this.toastrConfig,...C}}_findToast(C){for(let Y=0;Y<this.toasts.length;Y++)if(this.toasts[Y].toastId===C)return{index:Y,activeToast:this.toasts[Y]};return null}_preBuildNotification(C,Y,$,we){return we.onActivateTick?this.ngZone.run(()=>this._buildNotification(C,Y,$,we)):this._buildNotification(C,Y,$,we)}_buildNotification(C,Y,$,we){if(!we.toastComponent)throw new Error("toastComponent required");const Fe=this.findDuplicate($,Y,this.toastrConfig.resetTimeoutOnDuplicate&&we.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&$||Y)&&this.toastrConfig.preventDuplicates&&null!==Fe)return Fe;this.previousToastMessage=Y;let _t=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(_t=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const it=this.overlay.create(we.positionClass,this.overlayContainer);this.index=this.index+1;let Nt=Y;Y&&we.enableHtml&&(Nt=this.sanitizer.sanitize(e.q3G.HTML,Y));const lt=new ge(it),zt=new le(this.index,we,Nt,$,C,lt),Pt=e.zs3.create({providers:[{provide:le,useValue:zt}],parent:this._injector}),li=new Pe(we.toastComponent,Pt),oi=it.attach(li,we.newestOnTop);lt.componentInstance=oi.instance;const dt={toastId:this.index,title:$||"",message:Y||"",toastRef:lt,onShown:lt.afterActivate(),onHidden:lt.afterClosed(),onTap:zt.onTap(),onAction:zt.onAction(),portal:oi};return _t||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{dt.toastRef.activate()})),this.toasts.push(dt),dt}}return j.\u0275fac=function(C){return new(C||j)(e.LFG(je),e.LFG(xe),e.LFG(e.zs3),e.LFG(b.H7),e.LFG(e.R0b))},j.\u0275prov=e.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j})(),rt=(()=>{class j{get displayStyle(){if("inactive"===this.state.value)return"none"}constructor(C,Y,$){this.toastrService=C,this.toastPackage=Y,this.ngZone=$,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=Y.message,this.title=Y.title,this.options=Y.config,this.originalTimeout=Y.config.timeOut,this.toastClasses=`${Y.toastType} ${Y.config.toastClass}`,this.sub=Y.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=Y.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=Y.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=Y.toastRef.countDuplicate().subscribe(we=>{this.duplicatesCount=we})}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state={...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 C=(new Date).getTime();this.width=(this.hideTime-C)/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={...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={...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&&"extendedTimeOut"!==this.options.disableTimeOut&&(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(C,Y){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(C),Y)):this.timeout=setTimeout(()=>C(),Y)}outsideInterval(C,Y){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(C),Y)):this.intervalId=setInterval(()=>C(),Y)}runInsideAngular(C){this.ngZone?this.ngZone.run(()=>C()):C()}}return j.\u0275fac=function(C){return new(C||j)(e.Y36(kt),e.Y36(le),e.Y36(e.R0b))},j.\u0275cmp=e.Xpm({type:j,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(C,Y){1&C&&e.NdJ("click",function(){return Y.tapToast()})("mouseenter",function(){return Y.stickAround()})("mouseleave",function(){return Y.delayedHideToast()}),2&C&&(e.d8E("@flyInOut",Y.state),e.Tol(Y.toastClasses),e.Udp("display",Y.displayStyle))},standalone:!0,features:[e.jDz],attrs:O,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(C,Y){1&C&&(e.YNc(0,X,3,0,"button",0),e.YNc(1,Ee,3,5,"div",1),e.YNc(2,de,1,3,"div",2),e.YNc(3,Be,2,4,"div",3),e.YNc(4,he,2,2,"div",4)),2&C&&(e.Q6J("ngIf",Y.options.closeButton),e.xp6(1),e.Q6J("ngIf",Y.title),e.xp6(1),e.Q6J("ngIf",Y.message&&Y.options.enableHtml),e.xp6(1),e.Q6J("ngIf",Y.message&&!Y.options.enableHtml),e.xp6(1),e.Q6J("ngIf",Y.options.progressBar))},dependencies:[T.O5],encapsulation:2,data:{animation:[(0,s.X$)("flyInOut",[(0,s.SB)("inactive",(0,s.oB)({opacity:0})),(0,s.SB)("active",(0,s.oB)({opacity:1})),(0,s.SB)("removed",(0,s.oB)({opacity:0})),(0,s.eR)("inactive => active",(0,s.jt)("{{ easeTime }}ms {{ easing }}")),(0,s.eR)("active => removed",(0,s.jt)("{{ easeTime }}ms {{ easing }}"))])]}}),j})();const Wt={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",toastComponent:rt},yi=(j={})=>(0,e.MR2)([{provide:je,useValue:{default:Wt,config:j}}]);let gi=(()=>{class j{static forRoot(C={}){return{ngModule:j,providers:[yi(C)]}}}return j.\u0275fac=function(C){return new(C||j)},j.\u0275mod=e.oAB({type:j}),j.\u0275inj=e.cJS({imports:[rt]}),j})()},5861:(ri,mt,p)=>{function e(T,l,b,O,X,q,Ee){try{var de=T[q](Ee),Be=de.value}catch(he){return void b(he)}de.done?l(Be):Promise.resolve(Be).then(O,X)}function s(T){return function(){var l=this,b=arguments;return new Promise(function(O,X){var q=T.apply(l,b);function Ee(Be){e(q,O,X,Ee,de,"next",Be)}function de(Be){e(q,O,X,Ee,de,"throw",Be)}Ee(void 0)})}}p.d(mt,{Z:()=>s})},7582:(ri,mt,p)=>{function he(W,j,H,C){return new(H||(H=Promise))(function($,we){function Fe(Nt){try{it(C.next(Nt))}catch(lt){we(lt)}}function _t(Nt){try{it(C.throw(Nt))}catch(lt){we(lt)}}function it(Nt){Nt.done?$(Nt.value):function Y($){return $ instanceof H?$:new H(function(we){we($)})}(Nt.value).then(Fe,_t)}it((C=C.apply(W,j||[])).next())})}function _e(W){return this instanceof _e?(this.v=W,this):new _e(W)}function ge(W,j,H){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Y,C=H.apply(W,j||[]),$=[];return Y=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),Fe("next"),Fe("throw"),Fe("return",function we(ft){return function(Pt){return Promise.resolve(Pt).then(ft,lt)}}),Y[Symbol.asyncIterator]=function(){return this},Y;function Fe(ft,Pt){C[ft]&&(Y[ft]=function(li){return new Promise(function(oi,dt){$.push([ft,li,oi,dt])>1||_t(ft,li)})},Pt&&(Y[ft]=Pt(Y[ft])))}function _t(ft,Pt){try{!function it(ft){ft.value instanceof _e?Promise.resolve(ft.value.v).then(Nt,lt):zt($[0][2],ft)}(C[ft](Pt))}catch(li){zt($[0][3],li)}}function Nt(ft){_t("next",ft)}function lt(ft){_t("throw",ft)}function zt(ft,Pt){ft(Pt),$.shift(),$.length&&_t($[0][0],$[0][1])}}function Se(W){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var H,j=W[Symbol.asyncIterator];return j?j.call(W):(W=function pt(W){var j="function"==typeof Symbol&&Symbol.iterator,H=j&&W[j],C=0;if(H)return H.call(W);if(W&&"number"==typeof W.length)return{next:function(){return W&&C>=W.length&&(W=void 0),{value:W&&W[C++],done:!W}}};throw new TypeError(j?"Object is not iterable.":"Symbol.iterator is not defined.")}(W),H={},C("next"),C("throw"),C("return"),H[Symbol.asyncIterator]=function(){return this},H);function C($){H[$]=W[$]&&function(we){return new Promise(function(Fe,_t){!function Y($,we,Fe,_t){Promise.resolve(_t).then(function(it){$({value:it,done:Fe})},we)}(Fe,_t,(we=W[$](we)).done,we.value)})}}}p.d(mt,{FC:()=>ge,KL:()=>Se,mG:()=>he,qq:()=>_e}),"function"==typeof SuppressedError&&SuppressedError}},ri=>{ri(ri.s=9533)}]);