1import{K as jn,L as qn,M as Dt,N as Hn,a as Mt,b as kn,d as An,e as it,f as me,g as Ct,h as ci,i as On,j as xn,k as Fn,o as In,p as Rn,q as Pn,r as Nn,s as Ln,u as Tt,v as di,w as zn,y as Bn,z as Vn}from"./chunk-DASMOJJL.js";import{c as wn,d as En,e as Sn,j as Mn,l as Cn,n as Tn,r as Dn}from"./chunk-TIDGBLW4.js";import{a as Qn,c as Kn}from"./chunk-424RMMJE.js";import{Aa as re,Ba as A,Bb as tt,Ca as un,D as je,Da as w,Ea as v,F as sn,Fa as S,Ga as te,Ha as si,Ia as li,Ib as gn,Ja as Je,Jb as _n,Kb as wt,Lb as Et,M as Ie,Ma as B,Mb as St,N as ri,Na as I,Nb as yn,O as $,Oa as Ce,Pa as V,Qb as ue,Ra as mn,S as D,Sa as Y,T as Me,Ta as R,U,Ua as Te,Ub as bn,Va as bt,Wa as hn,Wb as vn,X as ln,Xa as pn,Y as G,Ya as et,Z as W,_ as ye,aa as cn,ab as vt,ba as qe,ca as He,da as oi,ea as ai,f as Se,fa as z,fb as De,ga as H,jb as O,kb as de,lb as Q,mb as x,n as ii,rb as oe,s as on,sa as be,ta as Ze,u as an,ub as ae,v as Ve,va as E,w as ni,wb as fn,xa as M,ya as dn,yb as Qe,za as ve}from"./chunk-REVLUFU3.js";import"./chunk-NLMHZ7JJ.js";var nt=class{},kt=class{};var he="*";function ot(n,t){return{type:7,name:n,definitions:t,options:{}}}function at(n,t=null){return{type:4,styles:t,timings:n}}function At(n,t=null){return{type:2,steps:n,options:t}}function se(n){return{type:6,styles:n,offset:null}}function Ke(n,t,e){return{type:0,name:n,styles:t,options:e}}function $e(n,t,e=null){return{type:1,expr:n,animation:t,options:e}}function $n(n=null){return{type:9,options:n}}function Un(n,t,e=null){return{type:11,selector:n,animation:t,options:e}}function Gn(n){Promise.resolve().then(n)}var ke=class{constructor(t=0,e=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=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Gn(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){let e=t=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}};var rt=class{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,i=0,r=0,o=this.players.length;o==0?Gn(()=>this._onFinish()):this.players.forEach(a=>{a.onDone(()=>{++e==o&&this._onFinish()}),a.onDestroy(()=>{++i==o&&this._onDestroy()}),a.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((a,s)=>Math.max(a,s.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEac
1h(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){let e=t*this.totalTime;this.players.forEach(i=>{let r=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(r)})}getPosition(){let t=this.players.reduce((e,i)=>e===null||i.totalTime>e.totalTime?i:e,null);return t!=null?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){let e=t=="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}};var Ot="!";function Wn(n){return new D(3e3,!1)}function no(){return new D(3100,!1)}function ro(){return new D(3101,!1)}function oo(n){return new D(3001,!1)}function ao(n){return new D(3003,!1)}function so(n){return new D(3004,!1)}function lo(n,t){return new D(3005,!1)}function co(){return new D(3006,!1)}function uo(){return new D(3007,!1)}function mo(n,t){return new D(3008,!1)}function ho(n){return new D(3002,!1)}function po(n,t,e,i,r){return new D(3010,!1)}function fo(){return new D(3011,!1)}function go(){return new D(3012,!1)}function _o(){return new D(3200,!1)}function yo(){return new D(3202,!1)}function bo(){return new D(3013,!1)}function vo(n){return new D(3014,!1)}function wo(n){return new D(3015,!1)}function Eo(n){return new D(3016,!1)}function So(n,t){return new D(3404,!1)}function Mo(n){return new D(3502,!1)}function Co(n){return new D(3503,!1)}function To(){return new D(3300,!1)}function Do(n){return new D(3504,!1)}function ko(n){return new D(3301,!1)}function Ao(n,t){return new D(3302,!1)}function Oo(n){return new D(3303,!1)}function xo(n,t){return new D(3400,!1)}function Fo(n){return new D(3401,!1)}function Io(n){return new D(3402,!1)}function Ro(n,t){return new D(3505,!1)}function Po(){return typeof window<"u"&&typeof window.document<"u"}function xi(){return typeof process<"u"&&{}.toString.call(process)==="[object process]"}function Ae(n){switch(n.length){case 0:return new ke;case 1:return n[0];default:return new rt(n)}}function dr(n,t,e,i,r=new Map,o=new Map){let a=[],s=[],l=-1,c=null;if(i.forEach(d=>{let u=d.get("offset"),y=u==l,_=y&&c||new Map;d.forEach((p,h)=>{let b=h,C=p;if(h!=="offset")switch(b=t.normalizePropertyName(b,a),C){case Ot:C=r.get(h);break;case he:C=o.get(h);break;default:C=t.normalizeStyleValue(h,b,C,a);break}_.set(b,C)}),y||s.push(_),c=_,l=u}),a.length)throw Mo(a);return s}function Fi(n,t,e,i){switch(t){case"start":n.onStart(()=>i(e&&ui(e,"start",n)));break;case"done":n.onDone(()=>i(e&&ui(e,"done",n)));break;case"destroy":n.onDestroy(()=>i(e&&ui(e,"destroy",n)));break}}function ui(n,t,e){let i=e.totalTime,r=!!e.disabled,o=Ii(n.element,n.triggerName,n.fromState,n.toState,t||n.phaseName,i??n.totalTime,r),a=n._data;return a!=null&&(o._data=a),o}function Ii(n,t,e,i,r="",o=0,a){return{element:n,triggerName:t,fromState:e,toState:i,phaseName:r,totalTime:o,disabled:!!a}}function Z(n,t,e){let i=n.get(t);return i||n.set(t,i=e),i}function Yn(n){let t=n.indexOf(":"),e=n.substring(1,t),i=n.slice(t+1);return[e,i]}var _i=(n,t)=>!1,ur=(n,t,e)=>[],mr=null;function Ri(n){let t=n.parentNode||n.host;return t===mr?null:t}var No=xi();(No||typeof Element<"u")&&(Po()?(mr=(()=>document.documentElement)(),_i=(n,t)=>{for(;t;){if(t===n)return!0;t=Ri(t)}return!1}):_i=(n,t)=>n.contains(t),ur=(n,t,e)=>{if(e)return Array.from(n.querySelectorAll(t));let i=n.querySelector(t);return i?[i]:[]});function Lo(n){return n.substring(1,6)=="ebkit"}var Re=null,Xn=!1;function zo(n){Re||(Re=Bo()||{},Xn=Re.style?"WebkitAppearance"in Re.style:!1);let t=!0;return Re.style&&!Lo(n)&&(t=n in Re.style,!t&&Xn&&(t="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in Re.style)),t}function Bo(){return typeof document<"u"?document.body:null}var hr=_i,pr=ur;var Pi=(()=>{class n{validateStyleProperty(e){return zo(e)}matchesElement(e,i){return!1}containsElement(e,i){return hr(e,i)}getParentElement(e){return Ri(e)}query(e,i,r){return pr(e,i,r)}computeStyle(e,i,r){return r||""}animate(e,i,r,o,a,s=[],l){return new ke(r,o)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Me({token:n,factory:n.\u0275fac}),n})(),pt=(()=>{class n{}n.NOOP=new Pi;return n})(),Vo=1e3,fr="{{",jo="}}
1",gr="ng-enter",yi="ng-leave",xt="ng-trigger",Pt=".ng-trigger",Zn="ng-animating",bi=".ng-animating";function we(n){if(typeof n=="number")return n;let t=n.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:vi(parseFloat(t[1]),t[2])}function vi(n,t){switch(t){case"s":return n*Vo;default:return n}}function Nt(n,t,e){return n.hasOwnProperty("duration")?n:qo(n,t,e)}function qo(n,t,e){let i=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,r,o=0,a="";if(typeof n=="string"){let s=n.match(i);if(s===null)return t.push(Wn(n)),{duration:0,delay:0,easing:""};r=vi(parseFloat(s[1]),s[2]);let l=s[3];l!=null&&(o=vi(parseFloat(l),s[4]));let c=s[5];c&&(a=c)}else r=n;if(!e){let s=!1,l=t.length;r<0&&(t.push(no()),s=!0),o<0&&(t.push(ro()),s=!0),s&&t.splice(l,0,Wn(n))}return{duration:r,delay:o,easing:a}}function ft(n,t={}){return Object.keys(n).forEach(e=>{t[e]=n[e]}),t}function _r(n){let t=new Map;return Object.keys(n).forEach(e=>{let i=n[e];t.set(e,i)}),t}function Ho(n){return n.length?n[0]instanceof Map?n:n.map(t=>_r(t)):[]}function Ge(n,t=new Map,e){if(e)for(let[i,r]of e)t.set(i,r);for(let[i,r]of n)t.set(i,r);return t}function Jn(n,t,e){return e?t+":"+e+";":""}function yr(n){let t="";for(let e=0;e<n.style.length;e++){let i=n.style.item(e);t+=Jn(n,i,n.style.getPropertyValue(i))}for(let e in n.style){if(!n.style.hasOwnProperty(e)||e.startsWith("_"))continue;let i=$o(e);t+=Jn(n,i,n.style[e])}n.setAttribute("style",t)}function pe(n,t,e){n.style&&(t.forEach((i,r)=>{let o=Ni(r);e&&!e.has(r)&&e.set(r,n.style[o]),n.style[o]=i}),xi()&&yr(n))}function Ne(n,t){n.style&&(t.forEach((e,i)=>{let r=Ni(i);n.style[r]=""}),xi()&&yr(n))}function st(n){return Array.isArray(n)?n.length==1?n[0]:At(n):n}function Qo(n,t,e){let i=t.params||{},r=br(n);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||e.push(oo(o))})}var wi=new RegExp(`${fr}\\s*(.+?)\\s*${jo}`,"g");function br(n){let t=[];if(typeof n=="string"){let e;for(;e=wi.exec(n);)t.push(e[1]);wi.lastIndex=0}return t}function ct(n,t,e){let i=n.toString(),r=i.replace(wi,(o,a)=>{let s=t[a];return s==null&&(e.push(ao(a)),s=""),s.toString()});return r==i?n:r}function Lt(n){let t=[],e=n.next();for(;!e.done;)t.push(e.value),e=n.next();return t}var Ko=/-+([a-z0-9])/g;function Ni(n){return n.replace(Ko,(...t)=>t[1].toUpperCase())}function $o(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Uo(n,t){return n===0||t===0}function Go(n,t,e){if(e.size&&t.length){let i=t[0],r=[];if(e.forEach((o,a)=>{i.has(a)||r.push(a),i.set(a,o)}),r.length)for(let o=1;o<t.length;o++){let a=t[o];r.forEach(s=>a.set(s,vr(n,s)))}}return t}function X(n,t,e){switch(t.type){case 7:return n.visitTrigger(t,e);case 0:return n.visitState(t,e);case 1:return n.visitTransition(t,e);case 2:return n.visitSequence(t,e);case 3:return n.visitGroup(t,e);case 4:return n.visitAnimate(t,e);case 5:return n.visitKeyframes(t,e);case 6:return n.visitStyle(t,e);case 8:return n.visitReference(t,e);case 9:return n.visitAnimateChild(t,e);case 10:return n.visitAnimateRef(t,e);case 11:return n.visitQuery(t,e);case 12:return n.visitStagger(t,e);default:throw so(t.type)}}function vr(n,t){return window.getComputedStyle(n)[t]}var wr=!1;function Er(n){let t=` 2 - `;return`${t}${n.filter(Boolean).map(e=>e).join(t)}`}function Wo(n,t){wr&&console.warn(`The animation trigger "${n}" has built with the following warnings:${Er(t)}`)}function Yo(n){wr&&console.warn(`Animation built with the following warnings:${Er(n)}`)}var zt="*";function Xo(n,t){let e=[];return typeof n=="string"?n.split(/\s*,\s*/).forEach(i=>Zo(i,e,t)):e.push(n),e}function Zo(n,t,e){if(n[0]==":"){let l=Jo(n,e);if(typeof l=="function"){t.push(l);return}n=l}let i=n.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(i==null||i.length<4)return e.push(wo(n)),t;let r=i[1],o=i[2],a=i[3];t.push(er(r,a));let s=r==zt&&a==zt;o[0]=="<"&&!s&&t.push(er(a,r))}function Jo(n,t){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i)<parseFloat(e);
2default:return t.push(Eo(n)),"* => *"}}var Ft=new Set(["true","1"]),It=new Set(["false","0"]);function er(n,t){let e=Ft.has(n)||It.has(n),i=Ft.has(t)||It.has(t);return(r,o)=>{let a=n==zt||n==r,s=t==zt||t==o;return!a&&e&&typeof r=="boolean"&&(a=r?Ft.has(n):It.has(n)),!s&&i&&typeof o=="boolean"&&(s=o?Ft.has(t):It.has(t)),a&&s}}var Sr=":self",ea=new RegExp(`s*${Sr}s*,?`,"g");function Mr(n,t,e,i){return new Ei(n).build(t,e,i)}var tr="",Ei=class{constructor(t){this._driver=t}build(t,e,i){let r=new Si(e);return this._resetContextStyleTimingState(r),X(this,st(t),r)}_resetContextStyleTimingState(t){t.currentQuerySelector=tr,t.collectedStyles=new Map,t.collectedStyles.set(tr,new Map),t.currentTime=0}visitTrigger(t,e){let i=e.queryCount=0,r=e.depCount=0,o=[],a=[];return t.name.charAt(0)=="@"&&e.errors.push(co()),t.definitions.forEach(s=>{if(this._resetContextStyleTimingState(e),s.type==0){let l=s,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,o.push(this.visitState(l,e))}),l.name=c}else if(s.type==1){let l=this.visitTransition(s,e);i+=l.queryCount,r+=l.depCount,a.push(l)}else e.errors.push(uo())}),{type:7,name:t.name,states:o,transitions:a,queryCount:i,depCount:r,options:null}}visitState(t,e){let i=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(i.containsDynamicStyles){let o=new Set,a=r||{};if(i.styles.forEach(s=>{s instanceof Map&&s.forEach(l=>{br(l).forEach(c=>{a.hasOwnProperty(c)||o.add(c)})})}),o.size){let s=Lt(o.values());e.errors.push(mo(t.name,s))}}return{type:0,name:t.name,style:i,options:r?{params:r}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;let i=X(this,st(t.animation),e),r=Xo(t.expr,e.errors);return{type:1,matchers:r,animation:i,queryCount:e.queryCount,depCount:e.depCount,options:Pe(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(i=>X(this,i,e)),options:Pe(t.options)}}visitGroup(t,e){let i=e.currentTime,r=0,o=t.steps.map(a=>{e.currentTime=i;let s=X(this,a,e);return r=Math.max(r,e.currentTime),s});return e.currentTime=r,{type:3,steps:o,options:Pe(t.options)}}visitAnimate(t,e){let i=ra(t.timings,e.errors);e.currentAnimateTimings=i;let r,o=t.styles?t.styles:se({});if(o.type==5)r=this.visitKeyframes(o,e);else{let a=t.styles,s=!1;if(!a){s=!0;let c={};i.easing&&(c.easing=i.easing),a=se(c)}e.currentTime+=i.duration+i.delay;let l=this.visitStyle(a,e);l.isEmptyStep=s,r=l}return e.currentAnimateTimings=null,{type:4,timings:i,style:r,options:null}}visitStyle(t,e){let i=this._makeStyleAst(t,e);return this._validateStyleAst(i,e),i}_makeStyleAst(t,e){let i=[],r=Array.isArray(t.styles)?t.styles:[t.styles];for(let s of r)typeof s=="string"?s===he?i.push(s):e.errors.push(ho(s)):i.push(_r(s));let o=!1,a=null;return i.forEach(s=>{if(s instanceof Map&&(s.has("easing")&&(a=s.get("easing"),s.delete("easing")),!o)){for(let l of s.values())if(l.toString().indexOf(fr)>=0){o=!0;break}}}),{type:6,styles:i,easing:a,offset:t.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(t,e){let i=e.currentAnimateTimings,r=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),t.styles.forEach(a=>{typeof a!="string"&&a.forEach((s,l)=>{let c=e.collectedStyles.get(e.currentQuerySelector),d=c.get(l),u=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(e.errors.push(po(l,d.startTime,d.endTime,o,r)),u=!1),o=d.startTime),u&&c.set(l,{startTime:o,endTime:r}),e.options&&Qo(s,e.options,e.errors)})})}visitKeyframes(t,e){let i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(fo()),i;let r=1,o=0,a=[],s=!1,l=!1,c=0,d=t.steps.map(C=>{let F=this._makeStyleAst(C,e),j=F.offset!=null?F.offset:na(F.styles),N=0;return j!=null&&(o++,N=F.offset=j),l=l||N<0||N>1,s=s||N<c,c=N,a.push(N),F});l&&e.errors.push(go()),s&&e.errors.push(_o());let u=t.steps.length,y=0;o>0&&o<u?e.errors.push(yo()):o==0&&(y=r/(u-1));let _=u-1,p=e.currentTime,h=e.currentAnimateTimings,b=h.duration;return d.forEach((C,F)=>{let j=y>0?F==_?1:y*F:a[F],N=j*b;e.currentTime=p+h.delay+N,h.duration=N,this._validateStyleAst(C,e),C.offset=j,i.styles.push(C)}),i}visitReference(t,e){return{type:8,animation:X(this,st(t.animation),e),options:Pe(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:Pe(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:Pe(t.options)}}visitQuery(t,e){let i=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;let[o,a]=ta(t.selector);e.currentQuerySelector=i.length?i+" "+o:o,Z(e.collectedStyles,e.currentQuerySelector,new Map);let s=X(this,st(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:a,animation:s,originalSelector:t.selector,options:Pe(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(bo());
vendor: 11,906 bytes, line 2
2let i=t.timings==="full"?{duration:0,delay:0,easing:"full"}:Nt(t.timings,e.errors,!0);return{type:12,animation:X(this,st(t.animation),e),timings:i,options:null}}};function ta(n){let t=!!n.split(/\s*,\s*/).find(e=>e==Sr);return t&&(n=n.replace(ea,"")),n=n.replace(/@\*/g,Pt).replace(/@\w+/g,e=>Pt+"-"+e.slice(1)).replace(/:animating/g,bi),[n,t]}function ia(n){return n?ft(n):null}var Si=class{constructor(t){this.errors=t,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 na(n){if(typeof n=="string")return null;let t=null;if(Array.isArray(n))n.forEach(e=>{if(e instanceof Map&&e.has("offset")){let i=e;t=parseFloat(i.get("offset")),i.delete("offset")}});else if(n instanceof Map&&n.has("offset")){let e=n;t=parseFloat(e.get("offset")),e.delete("offset")}return t}function ra(n,t){if(n.hasOwnProperty("duration"))return n;if(typeof n=="number"){let o=Nt(n,t).duration;return mi(o,0,"")}let e=n;if(e.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=mi(0,0,"");return o.dynamic=!0,o.strValue=e,o}let r=Nt(e,t);return mi(r.duration,r.delay,r.easing)}function Pe(n){return n?(n=ft(n),n.params&&(n.params=ia(n.params))):n={},n}function mi(n,t,e){return{duration:n,delay:t,easing:e}}function Li(n,t,e,i,r,o,a=null,s=!1){return{type:1,element:n,keyframes:t,preStyleProps:e,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:a,subTimeline:s}}var dt=class{constructor(){this._map=new Map}get(t){return this._map.get(t)||[]}append(t,e){let i=this._map.get(t);i||this._map.set(t,i=[]),i.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}};var oa=1,aa=":enter",sa=new RegExp(aa,"g"),la=":leave",ca=new RegExp(la,"g");function Cr(n,t,e,i,r,o=new Map,a=new Map,s,l,c=[]){return new Mi().buildKeyframes(n,t,e,i,r,o,a,s,l,c)}var Mi=class{buildKeyframes(t,e,i,r,o,a,s,l,c,d=[]){c=c||new dt;let u=new ut(t,e,c,r,o,d,[]);u.options=l;let y=l.delay?we(l.delay):0;u.currentTimeline.delayNextStep(y),u.currentTimeline.setStyles([a],null,u.errors,l),X(this,i,u);let _=u.timelines.filter(p=>p.containsAnimation());if(_.length&&s.size){let p;for(let h=_.length-1;h>=0;h--){let b=_[h];if(b.element===e){p=b;break}}p&&!p.allowOnlyTimelineStyles()&&p.setStyles([s],null,u.errors,l)}return _.length?_.map(p=>p.buildKeyframes()):[Li(e,[],[],[],0,y,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){let i=e.subInstructions.get(e.element);if(i){let r=e.createSubContext(t.options),o=e.currentTimeline.currentTime,a=this._visitSubInstructions(i,r,r.options);o!=a&&e.transformIntoNewTimeline(a)}e.previousNode=t}visitAnimateRef(t,e){let i=e.createSubContext(t.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],e,i),this.visitReference(t.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=t}_applyAnimationRefDelays(t,e,i){for(let r of t){let o=r?.delay;if(o){let a=typeof o=="number"?o:we(ct(o,r?.params??{},e.errors));i.delayNextStep(a)}}}_visitSubInstructions(t,e,i){let o=e.currentTimeline.currentTime,a=i.duration!=null?we(i.duration):null,s=i.delay!=null?we(i.delay):null;return a!==0&&t.forEach(l=>{let c=e.appendInstructionToTimeline(l,a,s);o=Math.max(o,c.duration+c.delay)}),o}visitReference(t,e){e.updateOptions(t.options,!0),X(this,t.animation,e),e.previousNode=t}visitSequence(t,e){let i=e.subContextCount,r=e,o=t.options;if(o&&(o.params||o.delay)&&(r=e.createSubContext(o),r.transformIntoNewTimeline(),o.delay!=null)){r.previousNode.type==6&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Bt);let a=we(o.delay);r.delayNextStep(a)}t.steps.length&&(t.steps.forEach(a=>X(this,a,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){let i=[],r=e.currentTimeline.currentTime,o=t.options&&t.options.delay?we(t.options.delay):0;t.steps.forEach(a=>{let s=e.createSubContext(t.options);o&&s.delayNextStep(o),X(this,a,s),r=Math.max(r,s.currentTimeline.currentTime),i.push(s.currentTimeline)}),i.forEach(a=>e.currentTimeline.mergeTimelineCollectedStyles(a)),e.transformIntoNewTimeline(r),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){let i=t.strValue,r=e.params?ct(i,e.params,e.errors):i;return Nt(r,e.errors)}else return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){let i=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),r.snapshotCurrentStyles());let o=t.style;o.type==5?this.visitKeyframes(o,e):(e.incrementTime(i.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){let i=e.currentTimeline,r=e.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();let o=r&&r.easing||t.easing;t.isEmptyStep?i.applyEmptyStep(o):i.setStyles(t.styles,o,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){let i=e.currentAnimateTimings,r=e.currentTimeline.duration,o=i.duration,s=e.createSubContext().currentTimeline;s.easing=i.easing,t.styles.forEach(l=>{let c=l.offset||0;s.forwardTime(c*o),s.setStyles(l.styles,l.easing,e.errors,e.options),s.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(s),e.transformIntoNewTimeline(r+o),e.previousNode=t}visitQuery(t,e){let i=e.currentTimeline.currentTime,r=t.options||{},o=r.delay?we(r.delay):0;o&&(e.previousNode.type===6||i==0&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Bt);let a=i,s=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=s.length;let l=null;s.forEach((c,d)=>{e.currentQueryIndex=d;let u=e.createSubContext(t.options,c);o&&u.delayNextStep(o),c===e.element&&(l=u.currentTimeline),X(this,t.animation,u),u.currentTimeline.applyStylesToKeyframe();let y=u.currentTimeline.currentTime;a=Math.max(a,y)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(a),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){let i=e.parentContext,r=e.currentTimeline,o=t.timings,a=Math.abs(o.duration),s=a*(e.currentQueryTotal-1),l=a*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=s-l;break;case"full":l=i.currentStaggerTime;break}let d=e.currentTimeline;l&&d.delayNextStep(l);let u=d.currentTime;X(this,t.animation,e),e.previousNode=t,i.currentStaggerTime=r.currentTime-u+(r.startTime-i.currentTimeline.startTime)}},Bt={},ut=class{constructor(t,e,i,r,o,a,s,l){this._driver=t,this.element=e,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=a,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Bt,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new We(this._driver,e,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;let i=t,r=this.options;i.duration!=null&&(r.duration=we(i.duration)),i.delay!=null&&(r.delay=we(i.delay));let o=i.params;if(o){let a=r.params;a||(a=this.options.params={}),Object.keys(o).forEach(s=>{(!e||!a.hasOwnProperty(s))&&(a[s]=ct(o[s],a,this.errors))})}}_copyOptions(){let t={};if(this.options){let e=this.options.params;if(e){let i=t.params={};Object.keys(e).forEach(r=>{i[r]=e[r]})}}return t}createSubContext(t=null,e,i){let r=e||this.element,o=new ut(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(t){return this.previousNode=Bt,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,i){let r={duration:e??t.duration,delay:this.currentTimeline.currentTime+(i??0)+t.delay,easing:""},o=new Ci(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,i,r,o,a){let s=[];if(r&&s.push(this.element),t.length>0){t=t.replace(sa,"."+this._enterClassName),t=t.replace(ca,"."+this._leaveClassName);let l=i!=1,c=this._driver.query(this.element,t,l);i!==0&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),s.push(...c)}return!o&&s.length==0&&a.push(vo(e)),s}},We=class{constructor(t,e,i,r){this._driver=t,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,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(t){let e=this._keyframes.size===1&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new We(this._driver,t,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+=oa,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles.set(t,e),this._globalTimelineStyles.set(t,e),this._styleSummary.set(t,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||he),this._currentKeyframe.set(e,he);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,i,r){e&&this._previousKeyframe.set("easing",e);let o=r&&r.params||{},a=da(t,this._globalTimelineStyles);for(let[s,l]of a){let c=ct(l,o,i);this._pendingStyles.set(s,c),this._localTimelineStyles.has(s)||this._backFill.set(s,this._globalTimelineStyles.get(s)??he),this._updateStyle(s,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((t,e)=>{this._currentKeyframe.set(e,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,t)}))}snapshotCurrentStyles(){for(let[t,e]of this._localTimelineStyles)this._pendingStyles.set(t,e),this._updateStyle(t,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let t=[];for(let e in this._currentKeyframe)t.push(e);return t}
2mergeTimelineCollectedStyles(t){t._styleSummary.forEach((e,i)=>{let r=this._styleSummary.get(i);(!r||e.time>r.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();let t=new Set,e=new Set,i=this._keyframes.size===1&&this.duration===0,r=[];this._keyframes.forEach((s,l)=>{let c=Ge(s,new Map,this._backFill);c.forEach((d,u)=>{d===Ot?t.add(u):d===he&&e.add(u)}),i||c.set("offset",l/this.duration),r.push(c)});let o=t.size?Lt(t.values()):[],a=e.size?Lt(e.values()):[];if(i){let s=r[0],l=new Map(s);s.set("offset",0),l.set("offset",1),r=[s,l]}return Li(this.element,r,o,a,this.duration,this.startTime,this.easing,!1)}},Ci=class extends We{constructor(t,e,i,r,o,a,s=!1){super(t,e,a.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=s,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){let o=[],a=i+e,s=e/a,l=Ge(t[0]);l.set("offset",0),o.push(l);let c=Ge(t[0]);c.set("offset",ir(s)),o.push(c);let d=t.length-1;for(let u=1;u<=d;u++){let y=Ge(t[u]),_=y.get("offset"),p=e+_*i;y.set("offset",ir(p/a)),o.push(y)}i=a,e=0,r="",t=o}return Li(this.element,t,this.preStyleProps,this.postStyleProps,i,e,r,!0)}};function ir(n,t=3){let e=Math.pow(10,t-1);return Math.round(n*e)/e}function da(n,t){let e=new Map,i;return n.forEach(r=>{if(r==="*"){i=i||t.keys();for(let o of i)e.set(o,he)}else Ge(r,e)}),e}var Le=class{};var ua=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"]),Vt=class extends Le{normalizePropertyName(t,e){return Ni(t)}normalizeStyleValue(t,e,i,r){let o="",a=i.toString().trim();if(ua.has(e)&&i!==0&&i!=="0")if(typeof i=="number")o="px";else{let s=i.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&s[1].length==0&&r.push(lo(t,i))}return a+o}};function nr(n,t,e,i,r,o,a,s,l,c,d,u,y){return{type:0,element:n,triggerName:t,isRemovalTransition:r,fromState:e,fromStyles:o,toState:i,toStyles:a,timelines:s,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:y}}var hi={},jt=class{constructor(t,e,i){this._triggerName=t,this.ast=e,this._stateStyles=i}match(t,e,i,r){return ma(this.ast.matchers,t,e,i,r)}buildStyles(t,e,i){let r=this._stateStyles.get("*");return t!==void 0&&(r=this._stateStyles.get(t?.toString())||r),r?r.buildStyles(e,i):new Map}build(t,e,i,r,o,a,s,l,c,d){let u=[],y=this.ast.options&&this.ast.options.params||hi,_=s&&s.params||hi,p=this.buildStyles(i,_,u),h=l&&l.params||hi,b=this.buildStyles(r,h,u),C=new Set,F=new Map,j=new Map,N=r==="void",Be={params:ha(h,y),delay:this.ast.options?.delay},le=d?[]:Cr(t,e,this.ast.animation,o,a,p,b,Be,c,u),q=0;if(le.forEach(ge=>{q=Math.max(ge.duration+ge.delay,q)}),u.length)return nr(e,this._triggerName,i,r,N,p,b,[],[],F,j,q,u);le.forEach(ge=>{let _e=ge.element,en=Z(F,_e,new Set);ge.preStyleProps.forEach(xe=>en.add(xe));let Xe=Z(j,_e,new Set);ge.postStyleProps.forEach(xe=>Xe.add(xe)),_e!==e&&C.add(_e)});let fe=Lt(C.values());return nr(e,this._triggerName,i,r,N,p,b,le,fe,F,j,q)}};function ma(n,t,e,i,r){return n.some(o=>o(t,e,i,r))}function ha(n,t){let e=ft(t);for(let i in n)n.hasOwnProperty(i)&&n[i]!=null&&(e[i]=n[i]);return e}var Ti=class{constructor(t,e,i){this.styles=t,this.defaultParams=e,this.normalizer=i}buildStyles(t,e){let i=new Map,r=ft(this.defaultParams);return Object.keys(t).forEach(o=>{let a=t[o];a!==null&&(r[o]=a)}),this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((a,s)=>{a&&(a=ct(a,r,e));let l=this.normalizer.normalizePropertyName(s,e);a=this.normalizer.normalizeStyleValue(s,l,a,e),i.set(l,a)})}),i}};function pa(n,t,e){return new Di(n,t,e)}var Di=class{constructor(t,e,i){this.name=t,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states=new Map,e.states.forEac
2h(r=>{let o=r.options&&r.options.params||{};this.states.set(r.name,new Ti(r.style,o,i))}),rr(this.states,"true","1"),rr(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new jt(t,r,this.states))}),this.fallbackTransition=fa(t,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,i,r){return this.transitionFactories.find(a=>a.match(t,e,i,r))||null}matchStyles(t,e,i){return this.fallbackTransition.buildStyles(t,e,i)}};function fa(n,t,e){let o={type:1,animation:{type:2,steps:[],options:null},matchers:[(a,s)=>!0],options:null,queryCount:0,depCount:0};return new jt(n,o,t)}function rr(n,t,e){n.has(t)?n.has(e)||n.set(e,n.get(t)):n.has(e)&&n.set(t,n.get(e))}var ga=new dt,ki=class{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(t,e){let i=[],r=[],o=Mr(this._driver,e,i,r);if(i.length)throw Co(i);r.length&&Yo(r),this._animations.set(t,o)}_buildPlayer(t,e,i){let r=t.element,o=dr(this._driver,this._normalizer,r,t.keyframes,e,i);return this._driver.animate(r,o,t.duration,t.delay,t.easing,[],!0)}create(t,e,i={}){let r=[],o=this._animations.get(t),a,s=new Map;if(o?(a=Cr(this._driver,e,o,gr,yi,new Map,new Map,i,ga,r),a.forEach(d=>{let u=Z(s,d.element,new Map);d.postStyleProps.forEach(y=>u.set(y,null))})):(r.push(To()),a=[]),r.length)throw Do(r);s.forEach((d,u)=>{d.forEach((y,_)=>{d.set(_,this._driver.computeStyle(u,_,he))})});let l=a.map(d=>{let u=s.get(d.element);return this._buildPlayer(d,new Map,u)}),c=Ae(l);return this._playersById.set(t,c),c.onDestroy(()=>this.destroy(t)),this.players.push(c),c}destroy(t){let e=this._getPlayer(t);e.destroy(),this._playersById.delete(t);let i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(t){let e=this._playersById.get(t);if(!e)throw ko(t);return e}listen(t,e,i,r){let o=Ii(e,"","","");return Fi(this._getPlayer(t),i,o,r),()=>{}}command(t,e,i,r){if(i=="register"){this.register(t,r[0]);return}if(i=="create"){let a=r[0]||{};this.create(t,e,a);return}let o=this._getPlayer(t);switch(i){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t);break}}};var or="ng-animate-queued",_a=".ng-animate-queued",pi="ng-animate-disabled",ya=".ng-animate-disabled",ba="ng-star-inserted",va=".ng-star-inserted",wa=[],Tr={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ea={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ie="__ng_removed",mt=class{constructor(t,e=""){this.namespaceId=e;let i=t&&t.hasOwnProperty("value"),r=i?t.value:t;if(this.value=Ma(r),i){let o=ft(t);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){let e=t.params;if(e){let i=this.options.params;Object.keys(e).forEach(r=>{i[r]==null&&(i[r]=e[r])})}}},lt="void",fi=new mt(lt),Ai=class{constructor(t,e,i){this.id=t,this.hostElement=e,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"
vendor: 4,065 bytes, line 2
2+t,ne(e,this._hostClassName)}listen(t,e,i,r){if(!this._triggers.has(e))throw Ao(i,e);if(i==null||i.length==0)throw Oo(e);if(!Ca(i))throw xo(i,e);let o=Z(this._elementListeners,t,[]),a={name:e,phase:i,callback:r};o.push(a);let s=Z(this._engine.statesByElement,t,new Map);return s.has(e)||(ne(t,xt),ne(t,xt+"-"+e),s.set(e,fi)),()=>{this._engine.afterFlush(()=>{let l=o.indexOf(a);l>=0&&o.splice(l,1),this._triggers.has(e)||s.delete(e)})}}register(t,e){return this._triggers.has(t)?!1:(this._triggers.set(t,e),!0)}_getTrigger(t){let e=this._triggers.get(t);if(!e)throw Fo(t);return e}trigger(t,e,i,r=!0){let o=this._getTrigger(e),a=new ht(this.id,e,t),s=this._engine.statesByElement.get(t);s||(ne(t,xt),ne(t,xt+"-"+e),this._engine.statesByElement.set(t,s=new Map));let l=s.get(e),c=new mt(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),s.set(e,c),l||(l=fi),!(c.value===lt)&&l.value===c.value){if(!ka(l.params,c.params)){let h=[],b=o.matchStyles(l.value,l.params,h),C=o.matchStyles(c.value,c.params,h);h.length?this._engine.reportError(h):this._engine.afterFlush(()=>{Ne(t,b),pe(t,C)})}return}let y=Z(this._engine.playersByElement,t,[]);y.forEach(h=>{h.namespaceId==this.id&&h.triggerName==e&&h.queued&&h.destroy()});let _=o.matchTransition(l.value,c.value,t,c.params),p=!1;if(!_){if(!r)return;_=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:_,fromState:l,toState:c,player:a,isFallbackTransition:p}),p||(ne(t,or),a.onStart(()=>{Ue(t,or)})),a.onDone(()=>{let h=this.players.indexOf(a);h>=0&&this.players.splice(h,1);let b=this._engine.playersByElement.get(t);if(b){let C=b.indexOf(a);C>=0&&b.splice(C,1)}}),this.players.push(a),y.push(a),a}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(e=>e.delete(t)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(r=>r.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);let e=this._engine.playersByElement.get(t);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){let i=this._engine.driver.query(t,Pt,!0);i.forEach(r=>{if(r[ie])return;let o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(a=>a.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(t,e,i,r){let o=this._engine.statesByElement.get(t),a=new Map;if(o){let s=[];if(o.forEach((l,c)=>{if(a.set(c,l.value),this._triggers.has(c)){let d=this.trigger(t,c,lt,r);d&&s.push(d)}}),s.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,a),i&&Ae(s).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){let e=this._elementListeners.get(t),i=this._engine.statesByElement.get(t);if(e&&i){let r=new Set;e.forEach(o=>{let a=o.name;if(r.has(a))return;r.add(a);let l=this._triggers.get(a).fallbackTransition,c=i.get(a)||fi,d=new mt(lt),u=new ht(this.id,a,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:a,transition:l,fromState:c,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(t,e){let i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let r=!1;if(i.totalAnimations){let o=i.players.length?i.playersByQueriedElement.get(t):[];if(o&&o.length)r=!0;else{let a=t;for(;a=a.parentNode;)if(i.statesByElement.get(a)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(t),r)i.markElementAsRemoved(this.id,t,!1,e);else{let o=t[ie];(!o||o===Tr)&&(i.afterFlush(()=>this.clearElementCache(t)),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}insertNode(t,e){ne(t,this._hostClassName)}drainQueuedTransitions(t){let e=[];return this._queue.forEach(i=>{let r=i.player;if(r.destroyed)return;let o=i.element,a=this._elementListeners.get(o);a&&a.forEach(s=>{if(s.name==i.triggerName){let l=Ii(o,i.triggerName,i.fromState.value,i.toState.value);
2l._data=t,Fi(i.player,s.phase,l,s.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(i)}),this._queue=[],e.sort((i,r)=>{let o=i.transition.ast.depCount,a=r.transition.ast.depCount;return o==0||a==0?o-a:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(t){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(i=>i.element===t)||e,e}},Oi=class{constructor(t,e,i){this.bodyNode=t,this.driver=e,this._normalizer=i,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=(r,o)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){let t=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&t.push(i)})}),t}createNamespace(t,e){let i=new Ai(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[t]=i}_balanceNamespaceList(t,e){let i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let a=!1,s=this.driver.getParentElement(e);for(;s;){let l=r.get(s);if(l){let c=i.indexOf(l);i.splice(c+1,0,t),a=!0;break}s=this.driver.getParentElement(s)}a||i.unshift(t)}else i.push(t);return r.set(e,t),t}register(t,e){let i=this._namespaceLookup[t];return i||(i=this.createNamespace(t,e)),i}registerTrigger(t,e,i){let r=this._namespaceLookup[t];r&&r.register(e,i)&&this.totalAnimations++}destroy(t,e){if(!t)return;let i=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[t];let r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1)}),this.afterFlushAnimationsDone(()=>i.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){let e=new Set,i=this.statesByElement.get(t);if(i){for(let r of i.values())if(r.namespaceId){let o=this._fetchNamespace(r.namespaceId);o&&e.add(o)}}return e}trigger(t,e,i,r){if(Rt(e)){let o=this._fetchNamespace(t);if(o)return o.trigger(e,i,r),!0}return!1}insertNode(t,e,i,r){if(!Rt(e))return;let o=e[ie];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let a=this.collectedLeaveElements.indexOf(e);a>=0&&this.collectedLeaveElements.splice(a,1)}if(t){let a=this._fetchNamespace(t);a&&a.insertNode(e,i)}r&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),ne(t,pi)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Ue(t,pi))}removeNode(t,e,i,r){if(Rt(e)){let o=t?this._fetchNamespace(t):null;if(o?o.removeNode(e,r):this.markElementAsRemoved(t,e,!1,r),i){let a=this.namespacesByHostElement.get(e);a&&a.id!==t&&a.removeNode(e,r)}}else this._onRemovalComplete(e,r)}markElementAsRemoved(t,e,i,r,o){this.collectedLeaveElements.push(e),e[ie]={namespaceId:t,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(t,e,i,r,o){return Rt(e)?this._fetchNamespace(t).listen(e,i,r,o):()=>{}}_buildInstruction(t,e,i,r,o){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,i,r,t.fromState.options,t.toState.options,e,o)}destroyInnerAnimations(t){let e=this.driver.query(t,Pt,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),this.playersByQueriedElement.size!=0&&(e=this.driver.query(t,bi,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(t){let e=this.playersByElement.get(t);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(t){let e=this.playersByQueriedElement.get(t);e&&e.forEach(i=>
vendor: 9,463 bytes, line 2
2i.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return Ae(this.players).onDone(()=>t());t()})}processLeaveNode(t){let e=t[ie];if(e&&e.setForRemoval){if(t[ie]=Tr,e.namespaceId){this.destroyInnerAnimations(t);let i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}t.classList?.contains(pi)&&this.markElementAsDisabled(t,!1),this.driver.query(t,ya,!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++){let r=this.collectedEnterElements[i];ne(r,ba)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let i=[];try{e=this._flushAnimations(i,t)}finally{for(let r=0;r<i.length;r++)i[r]()}}else for(let i=0;i<this.collectedLeaveElements.length;i++){let r=this.collectedLeaveElements[i];this.processLeaveNode(r)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(i=>i()),this._flushFns=[],this._whenQuietFns.length){let i=this._whenQuietFns;this._whenQuietFns=[],e.length?Ae(e).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(t){throw Io(t)}_flushAnimations(t,e){let i=new dt,r=[],o=new Map,a=[],s=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(m=>{d.add(m);let f=this.driver.query(m,_a,!0);for(let g=0;g<f.length;g++)d.add(f[g])});let u=this.bodyNode,y=Array.from(this.statesByElement.keys()),_=lr(y,this.collectedEnterElements),p=new Map,h=0;_.forEach((m,f)=>{let g=gr+h++;p.set(f,g),m.forEach(T=>ne(T,g))});let b=[],C=new Set,F=new Set;for(let m=0;m<this.collectedLeaveElements.length;m++){let f=this.collectedLeaveElements[m],g=f[ie];g&&g.setForRemoval&&(b.push(f),C.add(f),g.hasAnimation?this.driver.query(f,va,!0).forEach(T=>C.add(T)):F.add(f))}let j=new Map,N=lr(y,Array.from(C));N.forEach((m,f)=>{let g=yi+h++;j.set(f,g),m.forEach(T=>ne(T,g))}),t.push(()=>{_.forEach((m,f)=>{let g=p.get(f);m.forEach(T=>Ue(T,g))}),N.forEach((m,f)=>{let g=j.get(f);m.forEach(T=>Ue(T,g))}),b.forEach(m=>{this.processLeaveNode(m)})});let Be=[],le=[];for(let m=this._namespaceList.length-1;m>=0;m--)this._namespaceList[m].drainQueuedTransitions(e).forEach(g=>{let T=g.player,P=g.element;if(Be.push(T),this.collectedEnterElements.length){let L=P[ie];if(L&&L.setForMove){if(L.previousTriggersValues&&L.previousTriggersValues.has(g.triggerName)){let Fe=L.previousTriggersValues.get(g.triggerName),ee=this.statesByElement.get(g.element);if(ee&&ee.has(g.triggerName)){let yt=ee.get(g.triggerName);yt.value=Fe,ee.set(g.triggerName,yt)}}T.destroy();return}}let ce=!u||!this.driver.containsElement(u,P),K=j.get(P),Ee=p.get(P),k=this._buildInstruction(g,i,Ee,K,ce);if(k.errors&&k.errors.length){le.push(k);return}if(ce){T.onStart(()=>Ne(P,k.fromStyles)),T.onDestroy(()=>pe(P,k.toStyles)),r.push(T);return}if(g.isFallbackTransition){T.onStart(()=>Ne(P,k.fromStyles)),T.onDestroy(()=>pe(P,k.toStyles)),r.push(T);return}let rn=[];k.timelines.forEach(L=>{L.stretchStartingKeyframe=!0,this.disabledNodes.has(L.element)||rn.push(L)}),k.timelines=rn,i.append(P,k.timelines);let io={instruction:k,player:T,element:P};a.push(io),k.queriedElements.forEach(L=>Z(s,L,[]).push(T)),k.preStyleProps.forEach((L,Fe)=>{if(L.size){let ee=l.get(Fe);ee||l.set(Fe,ee=new Set),L.forEach((yt,ti)=>ee.add(ti))}}),k.postStyleProps.forEach((L,Fe)=>{let ee=c.get(Fe);ee||c.set(Fe,ee=new Set),L.forEach((yt,ti)=>ee.add(ti))})});if(le.length){let m=[];le.forEach(f=>{m.push(Ro(f.triggerName,f.errors))}),Be.forEach(f=>f.destroy()),this.reportError(m)}let q=new Map,fe=new Map;a.forEach(m=>{let f=m.element;i.has(f)&&(fe.set(f,f),this._beforeAnimationBuild(m.player.namespaceId,m.instruction,q))}),r.forEach(m=>{let f=m.element;this._getPreviousPlayers(f,!1,m.namespaceId,m.triggerName,null).forEach(T=>{Z(q,f,[]).push(T),T.destroy()})});let ge=b.filter(m=>cr(m,l,c)),_e=new Map;sr(_e,this.driver,F,c,he).forEach(m=>{cr(m,l,c)&&ge.push(m)});let Xe=new Map;_.forEach((m,f)=>{sr(Xe,this.driver,new Set(m),l,Ot)}),ge.forEach(m=>{let f=_e.get(m),g=Xe.get(m);_e.set(m,new Map([...Array.from(f?.entries()??[]),...Array.from(g?.entries()??[])]))});let xe=[],tn=[],nn={};a.forEach(m=>{let{element:f,player:g,instruction:T}=m;if(i.has(f)){if(d.has(f)){g.onDestroy(()=>pe(f,T.toStyles)),g.disabled=!0,g.overrideTotalTime(T.totalTime),r.push(g);return}let P=nn;if(fe.size>1){let K=f,Ee=[];for(;K=K.parentNode;){let k=fe.get(K);if(k){P=k;break}Ee.push(K)}Ee.forEach(k=>fe.set(k,P))}let ce=this._buildAnimation(g.namespaceId,T,q,o,Xe,_e);if(g.setRealPlayer(ce),P===nn)xe.push(g);else{let K=this.playersByElement.get(P);K&&K.length&&(g.parentPlayer=Ae(K)),r.push(g)}}else Ne(f,T.fromStyles),g.onDestroy(()=>pe(f,T.toStyles)),tn.push(g),d.has(f)&&r.push(g)}),tn.forEach(m=>{let f=o.get(m.element);if(f&&f.length){let g=Ae(f);m.setRealPlayer(g)}}),r.forEach(m=>{m.parentPlayer?m.syncPlayerEvents(m.parentPlayer):m.destroy()});for(let m=0;m<b.length;m++){let f=b[m],g=f[ie];if(Ue(f,yi),g&&g.hasAnimation)continue;let T=[];if(s.size){let ce=s.get(f);ce&&ce.length&&T.push(...ce);let K=this.driver.query(f,bi,!0);for(let Ee=0;Ee<K.length;Ee++){let k=s.get(K[Ee]);k&&k.length&&T.push(...k)}}let P=T.filter(ce=>!ce.destroyed);P.length?Ta(this,f,P):this.processLeaveNode(f)}return b.length=0,xe.forEach(m=>{this.players.push(m),m.onDone(()=>{m.destroy();let f=this.players.indexOf(m);this.players.splice(f,1)}),m.play()}),xe}elementContainsData(t,e){let i=!1,r=e[ie];return r&&r.setForRemoval&&(i=!0),this.playersByElement.has(e)&&(i=!0),this.playersByQueriedElement.has(e)&&(i=!0),this.statesByElement.has(e)&&(i=!0),this._fetchNamespace(t).elementContainsData(e)||i}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,i,r,o){let a=[];if(e){let s=this.playersByQueriedElement.get(t);s&&(a=s)}else{let s=this.playersByElement.get(t);if(s){let l=!o||o==lt;s.forEach(c=>{c.queued||!l&&c.triggerName!=r||a.push(c)})}}return(i||r)&&(a=a.filter(s=>!(i&&i!=s.namespaceId||r&&r!=s.triggerName))),a}_beforeAnimationBuild(t,e,i){let r=e.triggerName,o=e.element,a=e.isRemovalTransition?void 0:t,s=e.isRemovalTransition?void 0:r;for(let l of e.timelines){let c=l.element,d=c!==o,u=Z(i,c,[]);this._getPreviousPlayers(c,d,a,s,e.toState).forEach(_=>{let p=_.getRealPlayer();p.beforeDestroy&&p.beforeDestroy(),_.destroy(),u.push(_)})}Ne(o,e.fromStyles)}_buildAnimation(t,e,i,r,o,a){let s=e.triggerName,l=e.element,c=[],d=new Set,u=new Set,y=e.timelines.map(p=>{let h=p.element;d.add(h);let b=h[ie];if(b&&b.removedBeforeQueried)return new ke(p.duration,p.delay);let C=h!==l,F=Da((i.get(h)||wa).map(q=>q.getRealPlayer())).filter(q=>{let fe=q;return fe.element?fe.element===h:!1}),j=o.get(h),N=a.get(h),Be=dr(this.driver,this._normalizer,h,p.keyframes,j,N),le=this._buildPlayer(p,Be,F);if(p.subTimeline&&r&&u.add(h),C){let q=new ht(t,s,h);q.setRealPlayer(le),c.push(q)}return le});c.forEach(p=>{Z(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>Sa(this.playersByQueriedElement,p.element,p))}),d.forEach(p=>ne(p,Zn));let _=Ae(y);return _.onDestroy(()=>{d.forEach(p=>Ue(p,Zn)),pe(l,e.toStyles)}),u.forEach(p=>{Z(r,p,[]).push(_)}),_}_buildPlayer(t,e,i){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,i):new ke(t.duration,t.delay)}},ht=class{constructor(t,e,i){this.namespaceId=t,this.triggerName=e,this.element=i,this._player=new ke,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((e,i)=>{e.forEach(r=>Fi(t,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){let e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){Z(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return this.queued?!1: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(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){let e=this._player;e.triggerCallback&&e.triggerCallback(t)}};function Sa(n,t,e){let i=n.get(t);if(i){if(i.length){let r=i.indexOf(e);i.splice(r,1)}i.length==0&&n.delete(t)}return i}function Ma(n){return n??null}function Rt(n){return n&&n.nodeType===1}function Ca(n){return n=="start"||n=="done"}function ar(n,t){let e=n.style.display;return n.style.display=t??"none",e}function sr(n,t,e,i,r){let o=[];e.forEach(l=>o.push(ar(l)));let a=[];
2i.forEach((l,c)=>{let d=new Map;l.forEach(u=>{let y=t.computeStyle(c,u,r);d.set(u,y),(!y||y.length==0)&&(c[ie]=Ea,a.push(c))}),n.set(c,d)});let s=0;return e.forEach(l=>ar(l,o[s++])),a}function lr(n,t){let e=new Map;if(n.forEach(s=>e.set(s,[])),t.length==0)return e;let i=1,r=new Set(t),o=new Map;function a(s){if(!s)return i;let l=o.get(s);if(l)return l;let c=s.parentNode;return e.has(c)?l=c:r.has(c)?l=i:l=a(c),o.set(s,l),l}return t.forEach(s=>{let l=a(s);l!==i&&e.get(l).push(s)}),e}function ne(n,t){n.classList?.add(t)}function Ue(n,t){n.classList?.remove(t)}function Ta(n,t,e){Ae(e).onDone(()=>n.processLeaveNode(t))}function Da(n){let t=[];return Dr(n,t),t}function Dr(n,t){for(let e=0;e<n.length;e++){let i=n[e];i instanceof rt?Dr(i.players,t):t.push(i)}}function ka(n,t){let e=Object.keys(n),i=Object.keys(t);if(e.length!=i.length)return!1;for(let r=0;r<e.length;r++){let o=e[r];if(!t.hasOwnProperty(o)||n[o]!==t[o])return!1}return!0}function cr(n,t,e){let i=e.get(n);if(!i)return!1;let r=t.get(n);return r?i.forEach(o=>r.add(o)):t.set(n,i),e.delete(n),!0}var Oe=class{constructor(t,e,i){this.bodyNode=t,this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,o)=>{},this._transitionEngine=new Oi(t,e,i),this._timelineEngine=new ki(t,e,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(t,e,i,r,o){let a=t+"-"+r,s=this._triggerCache[a];if(!s){let l=[],c=[],d=Mr(this._driver,o,l,c);if(l.length)throw So(r,l);c.length&&Wo(r,c),s=pa(r,d,this._normalizer),this._triggerCache[a]=s}this._transitionEngine.registerTrigger(e,r,s)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,i,r){this._transitionEngine.insertNode(t,e,i,r)}onRemove(t,e,i,r){this._transitionEngine.removeNode(t,e,r||!1,i)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}
2process(t,e,i,r){if(i.charAt(0)=="@"){let[o,a]=Yn(i),s=r;this._timelineEngine.command(o,e,a,s)}else this._transitionEngine.trigger(t,e,i,r)}listen(t,e,i,r,o){if(i.charAt(0)=="@"){let[a,s]=Yn(i);return this._timelineEngine.listen(a,e,s,o)}return this._transitionEngine.listen(t,e,i,r,o)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}};function Aa(n,t){let e=null,i=null;return Array.isArray(t)&&t.length?(e=gi(t[0]),t.length>1&&(i=gi(t[t.length-1]))):t instanceof Map&&(e=gi(t)),e||i?new Oa(n,e,i):null}var Oa=(()=>{class n{constructor(e,i,r){this._element=e,this._startStyles=i,this._endStyles=r,this._state=0;let o=n.initialStylesByElement.get(e);o||n.initialStylesByElement.set(e,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&pe(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(pe(this._element,this._initialStyles),this._endStyles&&(pe(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(Ne(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ne(this._element,this._endStyles),this._endStyles=null),pe(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function gi(n){let t=null;return n.forEach((e,i)=>{xa(i)&&(t=t||new Map,t.set(i,e))}),t}function xa(n){return n==="display"||n==="position"}var qt=class{constructor(t,e,i,r){this.element=t,this.keyframes=e,this.options=i,this._specialStyles=r,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=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){let e=[];return t.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(t,e,i){return t.animate(this._convertKeyframesToObject(e),i)}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),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(t=>t()),this._onDestroyFns=[])}setPosition(t){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{r!=="offset"&&t.set(r,this._finished?i:vr(this.element,r))}),this.currentSnapshot=t}triggerCallback(t){let e=t==="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>
2i()),e.length=0}},Ht=class{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}matchesElement(t,e){return!1}containsElement(t,e){return hr(t,e)}getParentElement(t){return Ri(t)}query(t,e,i){return pr(t,e,i)}computeStyle(t,e,i){return window.getComputedStyle(t)[e]}animate(t,e,i,r,o,a=[]){let s=r==0?"both":"forwards",l={duration:i,delay:r,fill:s};o&&(l.easing=o);let c=new Map,d=a.filter(_=>_ instanceof qt);Uo(i,r)&&d.forEach(_=>{_.currentSnapshot.forEach((p,h)=>c.set(h,p))});let u=Ho(e).map(_=>Ge(_));u=Go(t,u,c);let y=Aa(t,u);return new qt(t,u,l,y)}};var Ia=(()=>{class n extends nt{constructor(e,i){super(),this._nextAnimationId=0;let r={id:"0",encapsulation:ln.None,styles:[],data:{animation:[]}};this._renderer=e.createRenderer(i.body,r)}build(e){let i=this._nextAnimationId.toString();this._nextAnimationId++;let r=Array.isArray(e)?At(e):e;return Ar(this._renderer,null,i,"register",[r]),new zi(i,this._renderer)}}return n.\u0275fac=function(e){return new(e||n)(H(Ze),H(tt))},n.\u0275prov=Me({token:n,factory:n.\u0275fac}),n})(),zi=class extends kt{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new Bi(this._id,t,e||{},this._renderer)}},Bi=class{constructor(t,e,i,r){this.id=t,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return Ar(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}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(t){this._command("setPosition",t)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}};function Ar(n,t,e,i,r){return n.setProperty(t,`@@${e}:${i}`,r)}var Qt="@",Or="@.disabled",Ra=(()=>{class n{constructor(e,i,r){this.delegate=e,this.engine=i,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),i.onRemovalComplete=(o,a)=>{let s=a?.parentNode(o);s&&a.removeChild(s,o)}}createRenderer(e,i){let r="",o=this.delegate.createRenderer(e,i);if(!e||!i||!i.data||!i.data.animation){let d=this._rendererCache.get(o);if(!d){let u=()=>this._rendererCache.delete(o);d=new Kt(r,o,this.engine,u),this._rendererCache.set(o,d)}return d}let a=i.id,s=i.id+"-"+this._currentId;this._currentId++,this.engine.register(s,e);let l=d=>{Array.isArray(d)?d.forEach(l):this.engine.registerTrigger(a,s,e,d.name,d)};return i.data.animation.forEach(l),new Vi(this,s,o,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,i,r){if(e>=0&&e<this._microtaskId){this._zone.run(()=>i(r));return}this._animationCallbacksBuffer.length==0&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(o=>{let[a,s]=o;a(s)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,r])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return n.\u0275fac=function(e){return new(e||n)(H(Ze),H(Oe),H(ae))},n.\u0275prov=Me({token:n,factory:n.\u0275fac}),n})(),Kt=class{constructor(t,e,i,r){this.namespaceId=t,this.delegate=e,this.engine=i,this._onDestroy=r,this.destroyNode=this.delegate.destroyNode?o=>e.destroyNode(o):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}
2appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,i,r=!0){this.delegate.insertBefore(t,e,i),this.engine.onInsert(this.namespaceId,e,t,r)}removeChild(t,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate,i)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,i,r){this.delegate.setAttribute(t,e,i,r)}removeAttribute(t,e,i){this.delegate.removeAttribute(t,e,i)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,i,r){this.delegate.setStyle(t,e,i,r)}removeStyle(t,e,i){this.delegate.removeStyle(t,e,i)}setProperty(t,e,i){e.charAt(0)==Qt&&e==Or?this.disableAnimations(t,!!i):this.delegate.setProperty(t,e,i)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,i){return this.delegate.listen(t,e,i)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}},Vi=class extends Kt{constructor(t,e,i,r,o){super(e,i,r,o),this.factory=t,this.namespaceId=e}setProperty(t,e,i){e.charAt(0)==Qt?e.charAt(1)=="."&&e==Or?(i=i===void 0?!0:!!i,this.disableAnimations(t,i)):this.engine.process(this.namespaceId,t,e.slice(1),i):this.delegate.setProperty(t,e,i)}listen(t,e,i){if(e.charAt(0)==Qt){let r=Pa(t),o=e.slice(1),a="";return o.charAt(0)!=Qt&&([o,a]=Na(o)),this.engine.listen(this.namespaceId,r,o,a,s=>{let l=s._data||-1;this.factory.scheduleListenerCallback(l,i,s)})}return this.delegate.listen(t,e,i)}};function Pa(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}function Na(n){let t=n.indexOf("."),e=n.substring(0,t),i=n.slice(t+1);return[e,i]}var La=(()=>{class n extends Oe{constructor(e,i,r,o){super(e.body,i,r)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(e){return new(e||n)(H(tt),H(pt),H(Le),H(fn))},n.\u0275prov=Me({token:n,factory:n.\u0275fac}),n})();function za(){return new Vt}function Ba(n,t,e){return new Ra(n,t,e)}var xr=[{provide:nt,useClass:Ia},{provide:Le,useFactory:za},{provide:Oe,useClass:La},{provide:Ze,useFactory:Ba,deps:[bn,Oe,ae]}],kr=[{provide:pt,useFactory:()=>new Ht},{provide:oe,useValue:"BrowserAnimations"},...xr],Va=[{provide:pt,useClass:Pi},{provide:oe,useValue:"NoopAnimations"},...xr];var $t=(()=>{class n{static withConfig(e){return{ngModule:n,providers:e.disableAnimations?Va:kr}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=W({type:n}),n.\u0275inj=U({providers:kr,imports:[vn]}),n})();function qa(n,t){if(n&1&&te(0,"mat-pseudo-checkbox",4),n&2){let e=I();w("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}function Ha(n,t){if(n&1&&(v(0,"span",5),R(1),S()),n&2){let e=I();E(1),bt("(",e.group.label,")")}}var Qa=["*"];function Ka(){return!0}var $a=new z("mat-sanity-checks",{providedIn:"root",factory:Ka}),J=(()=>{class n{constructor(e,i,r){this._sanityChecks=i,this._document=r,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return An()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[e]}}return n.\u0275fac=function(e){return new(e||n)(H(Ln),H($a,8),H(tt))},n.\u0275mod=W({type:n}),n.\u0275inj=U({imports:[di,di]}),n})();function Wt(n){return class extends n{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=me(t)}}}function Yt(n,t){return class extends n{constructor(...e){super(...e),this.defaultColor=t,this.color=t}get color(){return this._color}set color(e){let i=e||this.defaultColor;i!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),i&&this._elementRef.nativeElement.classList.add(`mat-${i}`),this._color=i)}}}function Xt(n){return class extends n{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=me(t)}}}function Nr(n,t=0){return class extends n{constructor(...e){super(...e),this._tabIndex=t,this.defaultTabIndex=t}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=e!=null?Ct(e):this.defaultTabIndex}}}function Lr(n){return class extends n{constructor(...t){super(...t),this.errorState=!1}updateErrorState(){let t=this.errorState,e=this._parentFormGroup||this._parentForm,i=this.errorStateMatcher||this._defaultErrorStateMatcher,r=this.ngControl?this.ngControl.control:null,o=i.isErrorState(r,e);o!==t&&(this.errorState=o,this.stateChanges.next())}}}var zr=(()=>
2{class n{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=Me({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();var qi=class{constructor(t,e,i,r=!1){this._renderer=t,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=r,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}},Fr={enterDuration:225,exitDuration:150},Ua=800,ji=kn({passive:!0}),Ir=["mousedown","touchstart"],Rr=["mouseup","mouseleave","touchend","touchcancel"],Hi=class{constructor(t,e,i,r){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=ci(i))}fadeInRipple(t,e,i={}){let r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...Fr,...i.animation};i.centered&&(t=r.left+r.width/2,e=r.top+r.height/2);let a=i.radius||Ga(t,e,r),s=t-r.left,l=e-r.top,c=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${s-a}px`,d.style.top=`${l-a}px`,d.style.height=`${a*2}px`,d.style.width=`${a*2}px`,i.color!=null&&(d.style.backgroundColor=i.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);let u=window.getComputedStyle(d),y=u.transitionProperty,_=u.transitionDuration,p=y==="none"||_==="0s"||_==="0s, 0s",h=new qi(this,d,i,p);d.style.transform="scale3d(1, 1, 1)",h.state=0,i.persistent||(this._mostRecentTransientRipple=h);let b=null;return!p&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let C=()=>this._finishRippleTransition(h),F=()=>this._destroyRipple(h);d.addEventListener("transitionend",C),d.addEventListener("transitioncancel",F),b={onTransitionEnd:C,onTransitionCancel:F}}),this._activeRipples.set(h,b),(p||!c)&&this._finishRippleTransition(h),h}fadeOutRipple(t){if(t.state===2||t.state===3)return;let e=t.element,i={...Fr,...t.config.animation};e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",t.state=2,(t._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){let e=ci(t);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(Ir))}handleEvent(t){t.type==="mousedown"?this._onMousedown(t):t.type==="touchstart"?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(Rr),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){t.state===0?this._startFadeOutTransition(t):t.state===2&&this._destroyRipple(t)}_startFadeOutTransition(t){let e=t===this._mostRecentTransientRipple,{persistent:i}=t.config;t.state=1,!i&&(!e||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){let e=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=3,e!==null&&(t.element.removeEventListener("transitionend",e.onTransitionEnd),t.element.removeEventListener("transitioncancel",e.onTransitionCancel)),t.element.remove()}_onMousedown(t){let e=In(t),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+Ua;!this._target.rippleDisabled&&!e&&!i&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!Rn(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let e=t.changedTouches;for(let i=0;i<e.length;i++)this.fadeInRipple(e[i].clientX,e[i].clientY,this._target.rippleConfig)}}_onPointerUp(){!this._isPointerDown||(this._isPointerDown=!1,this._getActiveRipples().forEach(t=>{let e=t.state===1||t.config.terminateOnPointerUp&&t.state===0;!t.config.persistent&&e&&t.fadeOut()}))}_registerEvents(t){this._ngZone.runOutsideAngular(()=>{t.forEach(e=>{this._triggerElement.addEventListener(e,this,ji)})})}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){this._triggerElement&&(Ir.forEach(t=>{this._triggerElement.removeEventListener(t,this,ji)}),this._pointerUpEventsRegistered&&Rr.forEach(t=>{this._triggerElement.removeEventListener(t,this,ji)}))}};function Ga(n,t,e){let i=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),r=M
2ath.max(Math.abs(t-e.top),Math.abs(t-e.bottom));return Math.sqrt(i*i+r*r)}var Wa=new z("mat-ripple-global-options"),gt=(()=>{class n{constructor(e,i,r,o,a){this._elementRef=e,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new Hi(this,i,e,r)}get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}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,...this._animationMode==="NoopAnimations"?{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(e,i=0,r){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,i,{...this.rippleConfig,...r}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...e})}}return n.\u0275fac=function(e){return new(e||n)(M(be),M(ae),M(Mt),M(Wa,8),M(oe,8))},n.\u0275dir=ye({type:n,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,i){e&2&&Y("mat-ripple-unbounded",i.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"]}),n})();var $i=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=W({type:n}),n.\u0275inj=U({imports:[J,J]}),n})();var Ya=(()=>{class n{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}}return n.\u0275fac=function(e){return new(e||n)(M(oe,8))},n.\u0275cmp=G({type:n,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,i){e&2&&Y("mat-pseudo-checkbox-indeterminate",i.state==="indeterminate")("mat-pseudo-checkbox-checked",i.state==="checked")("mat-pseudo-checkbox-disabled",i.disabled)("_mat-animation-noopable",i._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,i){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;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-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.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{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}'],encapsulation:2,changeDetection:0}),n})();var Xa=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=W({type:n}),n.\u0275inj=U({imports:[J]}),n})();var Ui=new z("MAT_OPTION_PARENT_COMPONENT");var Gi=new z("MatOptgroup");var Za=0,Qi=class{constructor(t,e=!1){this.source=t,this.isUserInput=e}},Ja=(()=>{class n{constructor(e,i,r,o){this._element=e,this._changeDetectorRef=i,this._parent=r,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${Za++}`,this.onSelectionChange=new De,this._stateChanges=new 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(e){this._disabled=me(e)}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().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(e,i){let r=this._getHostElement();typeof r.focus=="function"&&r.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!it(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}
2_getAriaSelected(){return this.selected||(this.multiple?!1:null)}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new Qi(this,e))}}return n.\u0275fac=function(e){dn()},n.\u0275dir=ye({type:n,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),n})(),Zt=(()=>{class n extends Ja{constructor(e,i,r,o){super(e,i,r,o)}}return n.\u0275fac=function(e){return new(e||n)(M(be),M(Qe),M(Ui,8),M(Gi,8))},n.\u0275cmp=G({type:n,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,i){e&1&&B("click",function(){return i._selectViaInteraction()})("keydown",function(o){return i._handleKeydown(o)}),e&2&&(pn("id",i.id),re("tabindex",i._getTabIndex())("aria-selected",i._getAriaSelected())("aria-disabled",i.disabled.toString()),Y("mat-selected",i.selected)("mat-option-multiple",i.multiple)("mat-active",i.active)("mat-option-disabled",i.disabled))},exportAs:["matOption"],features:[ve],ngContentSelectors:Qa,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(e,i){e&1&&(Ce(),A(0,qa,1,2,"mat-pseudo-checkbox",0),v(1,"span",1),V(2),S(),A(3,Ha,2,1,"span",2),te(4,"div",3)),e&2&&(w("ngIf",i.multiple),E(3),w("ngIf",i.group&&i.group._inert),E(1),w("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disabled||i.disableRipple))},dependencies:[gt,wt,Ya],styles:['.mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.mat-option.mat-active::before{content:""}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.cdk-high-contrast-active .mat-option.mat-selected:not(.mat-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-option.mat-selected:not(.mat-option-multiple)::after{right:auto;left:16px}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}'],encapsulation:2,changeDetection:0}),n})();function Wi(n,t,e){if(e.length){let i=t.toArray(),r=e.toArray(),o=0;for(let a=0;a<n+1;a++)i[a].group&&i[a].group===r[o]&&o++;return o}return 0}function Br(n,t,e,i){return n<e?n:n+t>e+i?Math.max(0,n-i+t):e}var Yi=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=W({type:n}),n.\u0275inj=U({imports:[$i,ue,J,Xa]}),n})();var es=["mat-button",""],ts=["*"];var is="accent",ns=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],rs=Yt(Wt(Xt(class{constructor(n){this._elementRef=n}}))),Vr=(()=>{class n extends rs{constructor(e,i,r){super(e),this._focusMonitor=i,this._animationMode=r,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(let o of ns)this._hasHostAttributes(o)&&this._getHostElement().classList.add(o);e.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color=is)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,i){e?this._focusMonitor.focusVia(this._getHostElement(),e,i):this._getHostElement().focus(i)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...e){return e.some(i=>this._getHostElement().hasAttribute(i))}}return n.\u0275fac=function(e){return new(e||n)(M(be),M(Nn),M(oe,8))},n.\u0275cmp=G({type:n,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(e,i){if(e&1&&de(gt,5),e&2){let r;O(r=x())&&(i.ripple=r.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,i){e&2&&(re("disabled",i.disabled||null),Y("_mat-animation-noopable",i._animationMode==="NoopAnimations")("mat-button-disabled",i.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[ve],attrs:es,ngContentSelectors:ts,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,i){e&1&&(Ce(),v(0,"span",0),V(1),S(),te(2,"span",1)(3,"span",2)),e&2&&(E(2),Y("mat-button-ripple-round",i.isRoundButton||i.isIconButton),w("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",i.isIconButton)("matRippleTrigger",i._getHostElement()))},dependencies:[gt],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}
2.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}"],encapsulation:2,changeDetection:0}),n})();var jr=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=W({type:n}),n.\u0275inj=U({imports:[$i,J,J]}),n})();var ss=["connectionContainer"],ls=["inputContainer"],cs=["label"];function ds(n,t){n&1&&(si(0),v(1,"div",14),te(2,"div",15)(3,"div",16)(4,"div",17),S(),v(5,"div",18),te(6,"div",15)(7,"div",16)(8,"div",17),S(),li())}function us(n,t){if(n&1){let e=Je();v(0,"div",19),B("cdkObserveContent",function(){qe(e);let r=I();return He(r.updateOutlineGap())}
2),V(1,1),S()}if(n&2){let e=I();w("cdkObserveContentDisabled",e.appearance!="outline")}}function ms(n,t){if(n&1&&(si(0),V(1,2),v(2,"span"),R(3),S(),li()),n&2){let e=I(2);E(3),Te(e._control.placeholder)}}function hs(n,t){n&1&&V(0,3,["*ngSwitchCase","true"])}function ps(n,t){n&1&&(v(0,"span",23),R(1," *"),S())}function fs(n,t){if(n&1){let e=Je();v(0,"label",20,21),B("cdkObserveContent",function(){qe(e);let r=I();return He(r.updateOutlineGap())}),A(2,ms,4,1,"ng-container",12),A(3,hs,1,0,"ng-content",12),A(4,ps,2,0,"span",22),S()}if(n&2){let e=I();Y("mat-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-form-field-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-accent",e.color=="accent")("mat-warn",e.color=="warn"),w("cdkObserveContentDisabled",e.appearance!="outline")("id",e._labelId)("ngSwitch",e._hasLabel()),re("for",e._control.id)("aria-owns",e._control.id),E(2),w("ngSwitchCase",!1),E(1),w("ngSwitchCase",!0),E(1),w("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function gs(n,t){n&1&&(v(0,"div",24),V(1,4),S())}function _s(n,t){if(n&1&&(v(0,"div",25),te(1,"span",26),S()),n&2){let e=I();E(1),Y("mat-accent",e.color=="accent")("mat-warn",e.color=="warn")}}function ys(n,t){if(n&1&&(v(0,"div"),V(1,5),S()),n&2){let e=I();w("@transitionMessages",e._subscriptAnimationState)}}function bs(n,t){if(n&1&&(v(0,"div",30),R(1),S()),n&2){let e=I(2);w("id",e._hintLabelId),E(1),Te(e.hintLabel)}}function vs(n,t){if(n&1&&(v(0,"div",27),A(1,bs,2,2,"div",28),V(2,6),te(3,"div",29),V(4,7),S()),n&2){let e=I();w("@transitionMessages",e._subscriptAnimationState),E(1),w("ngIf",e.hintLabel)}}var ws=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Es=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];var Ss=new z("MatError");var Ms={transitionMessages:ot("transitionMessages",[Ke("enter",se({opacity:1,transform:"translateY(0%)"})),$e("void => enter",[se({opacity:0,transform:"translateY(-5px)"}),at("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Jt=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=ye({type:n}),n})();var Cs=new z("MatHint");var qr=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=ye({type:n,selectors:[["mat-label"]]}),n})();var Ts=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=ye({type:n,selectors:[["mat-placeholder"]]}),n})();var Ds=new z("MatPrefix");var ks=new z("MatSuffix");var Hr=0,As=.75,Qr=5,Os=Yt(class{constructor(n){this._elementRef=n}},"primary"),xs=new z("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Zi=new z("MatFormField"),Kr=(()=>{class n extends Os{constructor(e,i,r,o,a,s,l){super(e),this._changeDetectorRef=i,this._dir=r,this._defaults=o,this._platform=a,this._ngZone=s,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new Se,this._hideRequiredMarker=!1,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId=`mat-hint-${Hr++}`,this._labelId=`mat-form-field-label-${Hr++}`,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled=l!=="NoopAnimations",this.appearance=o?.appearance||"legacy",o&&(this._hideRequiredMarker=Boolean(o.hideRequiredMarker),o.color&&(this.color=this.defaultColor=o.color))}get appearance(){return this._appearance}set appearance(e){let i=this._appearance;this._appearance=e||this._defaults?.appearance||"legacy",this._appearance==="outline"&&i!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=me(e)}_shouldAlwaysFloat(){return this.floatLabel==="always"&&!this._showAlwaysAnimate}_canLabelFloat(){return this.floatLabel!=="never"}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return this.appearance!=="legacy"&&this._floatLabel==="never"?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}
2set _control(e){this._explicitFormFieldControl=e}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();let e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${e.controlType}`),e.stateChanges.pipe(Ie(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe($(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe($(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),Ve(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Ie(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Ie(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe($(this._destroyed)).subscribe(()=>{typeof requestAnimationFrame=="function"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){let i=this._control?this._control.ngControl:null;return i&&i[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!!(this._labelChildNonStatic||this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return this.appearance==="legacy"&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||this.appearance==="legacy"&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,an(this._label.nativeElement,"transitionend").pipe(je(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){this._control.placeholder&&this._placeholderChild}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let e=[];
2if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let i=this._hintChildren?this._hintChildren.find(o=>o.align==="start"):null,r=this._hintChildren?this._hintChildren.find(o=>o.align==="end"):null;i?e.push(i.id):this._hintLabel&&e.push(this._hintLabelId),r&&e.push(r.id)}else this._errorChildren&&e.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(e)}}_validateControlChild(){this._control}updateOutlineGap(){let e=this._label?this._label.nativeElement:null,i=this._connectionContainerRef.nativeElement,r=".mat-form-field-outline-start",o=".mat-form-field-outline-gap";if(this.appearance!=="outline"||!this._platform.isBrowser)return;if(!e||!e.children.length||!e.textContent.trim()){let d=i.querySelectorAll(`${r}, ${o}`);for(let u=0;u<d.length;u++)d[u].style.width="0";return}if(!this._isAttachedToDOM()){this._outlineGapCalculationNeededImmediately=!0;return}let a=0,s=0,l=i.querySelectorAll(r),c=i.querySelectorAll(o);if(this._label&&this._label.nativeElement.children.length){let d=i.getBoundingClientRect();if(d.width===0&&d.height===0){this._outlineGapCalculationNeededOnStable=!0,this._outlineGapCalculationNeededImmediately=!1;return}let u=this._getStartEnd(d),y=e.children,_=this._getStartEnd(y[0].getBoundingClientRect()),p=0;for(let h=0;h<y.length;h++)p+=y[h].offsetWidth;a=Math.abs(_-u)-Qr,s=p>0?p*As+Qr*2:0}for(let d=0;d<l.length;d++)l[d].style.width=`${a}px`;for(let d=0;d<c.length;d++)c[d].style.width=`${s}px`;this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}_getStartEnd(e){return this._dir&&this._dir.value==="rtl"?e.right:e.left}_isAttachedToDOM(){let e=this._elementRef.nativeElement;if(e.getRootNode){let i=e.getRootNode();return i&&i!==e}return document.documentElement.contains(e)}}return n.\u0275fac=function(e){return new(e||n)(M(be),M(Qe),M(Tt,8),M(xs,8),M(Mt),M(ae),M(oe,8))},n.\u0275cmp=G({type:n,selectors:[["mat-form-field"]],contentQueries:function(e,i,r){if(e&1&&(Q(r,Jt,5),Q(r,Jt,7),Q(r,qr,5),Q(r,qr,7),Q(r,Ts,5),Q(r,Ss,5),Q(r,Cs,5),Q(r,Ds,5),Q(r,ks,5)),e&2){let o;O(o=x())&&(i._controlNonStatic=o.first),O(o=x())&&(i._controlStatic=o.first),O(o=x())&&(i._labelChildNonStatic=o.first),O(o=x())&&(i._labelChildStatic=o.first),O(o=x())&&(i._placeholderChild=o.first),O(o=x())&&(i._errorChildren=o),O(o=x())&&(i._hintChildren=o),O(o=x())&&(i._prefixChildren=o),O(o=x())&&(i._suffixChildren=o)}},viewQuery:function(e,i){if(e&1&&(de(ss,7),de(ls,5),de(cs,5)),e&2){let r;O(r=x())&&(i._connectionContainerRef=r.first),O(r=x())&&(i._inputContainerRef=r.first),O(r=x())&&(i._label=r.first)}},hostAttrs:[1,"mat-form-field"],hostVars:40,hostBindings:function(e,i){e&2&&Y("mat-form-field-appearance-standard",i.appearance=="standard")("mat-form-field-appearance-fill",i.appearance=="fill")("mat-form-field-appearance-outline",i.appearance=="outline")("mat-form-field-appearance-legacy",i.appearance=="legacy")("mat-form-field-invalid",i._control.errorState)("mat-form-field-can-float",i._canLabelFloat())("mat-form-field-should-float",i._shouldLabelFloat())("mat-form-field-has-label",i._hasFloatingLabel())("mat-form-field-hide-placeholder",i._hideControlPlaceholder())("mat-form-field-disabled",i._control.disabled)("mat-form-field-autofilled",i._control.autofilled)("mat-focused",i._control.focused)("ng-untouched",i._shouldForward("untouched"))("ng-touched",i._shouldForward("touched"))("ng-pristine",i._shouldForward("pristine"))("ng-dirty",i._shouldForward("dirty"))("ng-valid",i._shouldForward("valid"))("ng-invalid",i._shouldForward("invalid"))("ng-pending",i._shouldForward("pending"))("_mat-animation-noopable",!i._animationsEnabled)},inputs:{color:"color",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel",floatLabel:"floatLabel"},exportAs:["matFormField"],features:[et([{provide:Zi,useExisting:n}]),ve],ngContentSelectors:Es,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(e,i){e&1&&(Ce(ws),v(0,"div",0)(1,"div",1,2),B("click",function(o){return i._control.onContainerClick&&i._control.onContainerClick(o)}),A(3,ds,9,0,"ng-container",3),A(4,us,2,1,"div",4),v(5,"div",5,6),V(7),v(8,"span",7),A(9,fs,5,16,"label",8),S()(),A(10,gs,2,0,"div",9),S(),A(11,_s,2,4,"div",10),v(12,"div",11),A(13,ys,2,1,"div",12),A(14,vs,5,2,"div",13),S()()),e&2&&(E(3),w("ngIf",i.appearance=="outline"),E(1),w("ngIf",i._prefixChildren.length),E(5),w("ngIf",i._hasFloatingLabel()),E(1),w("ngIf",i._suffixChildren.length),E(1),w("ngIf",i.appearance!="outline"),E(1),w("ngSwitch",i._getDisplayedMessages()),E(1),w("ngSwitchCase","error"),E(1),w("ngSwitchCase","hint"))}
2,dependencies:[wt,Et,St,On],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.cdk-high-contrast-active .mat-form-field-disabled .mat-form-field-label{color:GrayText}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-form-field-flex{outline:dashed 3px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}','.mat-input-element{font:inherit;background:rgba(0,0,0,0);color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;box-sizing:content-box}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element:not([type=password])::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::placeholder{opacity:0}
2.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{opacity:0}._mat-animation-noopable .mat-input-element::placeholder{transition:none}._mat-animation-noopable .mat-input-element::-moz-placeholder{transition:none}._mat-animation-noopable .mat-input-element::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-input-element:-ms-input-placeholder{transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px)}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px;border-top-color:GrayText}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;
2left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:rgba(0,0,0,0)}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{border:3px dashed}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:GrayText}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}"],encapsulation:2,data:{animation:[Ms.transitionMessages]},changeDetection:0}),n})();var $r=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=W({type:n}),n.\u0275inj=U({imports:[ue,J,xn,J]}),n})();var Ls=["trigger"],zs=["panel"];function Bs(n,t){if(n&1&&(v(0,"span",8),R(1),S()),n&2){let e=I();E(1),Te(e.placeholder)}}function Vs(n,t){if(n&1&&(v(0,"span",12),R(1),S()),n&2){let e=I(2);E(1),Te(e.triggerValue)}}function js(n,t){n&1&&V(0,0,["*ngSwitchCase","true"])}function qs(n,t){if(n&1&&(v(0,"span",9),A(1,Vs,2,1,"span",10),A(2,js,1,0,"ng-content",11),S()),n&2){let e=I();w("ngSwitch",!!e.customTrigger),E(2),w("ngSwitchCase",!0)}}function Hs(n,t){if(n&1){let e=Je();v(0,"div",13)(1,"div",14,15),B("@transformPanel.done",function(r){qe(e);let o=I();return He(o._panelDoneAnimatingStream.next(r.toState))})("keydown",function(r){qe(e);let o=I();return He(o._handleKeydown(r))}),V(3,1),S()()}if(n&2){let e=I();w("@transformPanelWrap",void 0),E(1),hn("mat-select-panel ",e._getPanelTheme(
2),""),mn("transform-origin",e._transformOrigin)("font-size",e._triggerFontSize,"px"),w("ngClass",e.panelClass)("@transformPanel",e.multiple?"showing-multiple":"showing"),re("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}var Qs=[[["mat-select-trigger"]],"*"],Ks=["mat-select-trigger","*"],Wr={transformPanelWrap:ot("transformPanelWrap",[$e("* => void",Un("@transformPanel",[$n()],{optional:!0}))]),transformPanel:ot("transformPanel",[Ke("void",se({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),Ke("showing",se({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Ke("showing-multiple",se({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),$e("void => *",at("120ms cubic-bezier(0, 0, 0.2, 1)")),$e("* => void",at("100ms 25ms linear",se({opacity:0})))])};var Yr=0,_t=256,Ye=16,$s=Ye*2,Us=3,Xr=Ye*1.5+16,ei=8,Zr=new z("mat-select-scroll-strategy");function Gs(n){return()=>n.scrollStrategies.reposition()}var Ws=new z("MAT_SELECT_CONFIG"),Ys={provide:Zr,deps:[jn],useFactory:Gs},Ji=class{constructor(t,e){this.source=t,this.value=e}},Xs=Xt(Nr(Wt(Lr(class{constructor(n,t,e,i,r){this._elementRef=n,this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=i,this.ngControl=r,this.stateChanges=new Se}})))),Zs=new z("MatSelectTrigger");var Js=(()=>{class n extends Xs{constructor(e,i,r,o,a,s,l,c,d,u,y,_,p,h){super(a,o,l,c,u),this._viewportRuler=e,this._changeDetectorRef=i,this._ngZone=r,this._dir=s,this._parentFormField=d,this._liveAnnouncer=p,this._defaultOptions=h,this._panelOpen=!1,this._compareWith=(b,C)=>b===C,this._uid=`mat-select-${Yr++}`,this._triggerAriaLabelledBy=null,this._destroy=new Se,this._onChange=()=>{},this._onTouched=()=>{},this._valueId=`mat-select-value-${Yr++}`,this._panelDoneAnimatingStream=new Se,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=on(()=>{let b=this.options;return b?b.changes.pipe(Ie(b),ri(()=>Ve(...b.map(C=>C.onSelectionChange)))):this._ngZone.onStable.pipe(je(1),ri(()=>this.optionSelectionChanges))}),this.openedChange=new De,this._openedStream=this.openedChange.pipe(ni(b=>b),ii(()=>{}
2)),this._closedStream=this.openedChange.pipe(ni(b=>!b),ii(()=>{})),this.selectionChange=new De,this.valueChange=new De,this.ngControl&&(this.ngControl.valueAccessor=this),h?.typeaheadDebounceInterval!=null&&(this._typeaheadDebounceInterval=h.typeaheadDebounceInterval),this._scrollStrategyFactory=_,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(y)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(wn.required)??!1}set required(e){this._required=me(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._selectionModel,this._multiple=me(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=me(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=Ct(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new zn(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(sn(),$(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe($(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(Ie(null),$(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let e=this._getTriggerAriaLabelledby(),i=this.ngControl;if(e!==this._triggerAriaLabelledBy){let r=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?r.setAttribute("aria-labelledby",e):r.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(this._previousControl!==void 0&&i.disabled!==null&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){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(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,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){let e=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){let i=e.keyCode,r=i===40||i===38||i===37||i===39,o=i===13||i===32,a=this._keyManager;if(!a.isTyping()&&o&&!it(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){let s=this.selected;a.onKeydown(e);let l=this.selected;l&&s!==l&&this._liveAnnouncer.announce(l.viewValue,1e4)}}_handleOpenKeydown(e){let i=this._keyManager,r=e.keyCode,o=r===40||r===38,a=i.isTyping();if(o&&e.altKey)e.preventDefault(),this.close();else if(!a&&(r===13||r===32)&&i.activeItem&&!it(e))e.preventDefault(),i.activeItem._selectViaInteraction();else if(!a&&this._multiple&&r===65&&e.ctrlKey){e.preventDefault();let s=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(s?l.select():l.deselect())})}else{let s=i.activeItemIndex;i.onKeydown(e),this._multiple&&o&&e.shiftKey&&i.activeItem&&i.activeItemIndex!==s&&i.activeItem._selectViaInteraction()}}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(je(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}
2_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(e){if(this._selectionModel.selected.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{let i=this._selectOptionByValue(e);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){let i=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return r.value!=null&&this._compareWith(r.value,e)}catch{return!1}});return i&&this._selectionModel.select(i),i}_assignValue(e){return e!==this._value||this._multiple&&Array.isArray(e)?(this.options&&this._setSelectionByValue(e),this._value=e,!0):!1}_initKeyManager(){this._keyManager=new Fn(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe($(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe($(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let e=Ve(this.options.changes,this._destroy);this.optionSelectionChanges.pipe($(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Ve(...this.options.map(i=>i._stateChanges)).pipe($(e)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(e,i){let r=this._selectionModel.isSelected(e);e.value==null&&!this._multiple?(e.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(e.value)):(r!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),i&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),i&&this.focus())),r!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let e=this.options.toArray();this._selectionModel.sort((i,r)=>this.sortComparator?this.sortComparator(i,r,e):e.indexOf(i)-e.indexOf(r)),this.stateChanges.next()}}_propagateChanges(e){let i=null;this.multiple?i=this.selected.map(r=>r.value):i=this.selected?this.selected.value:e,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),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(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId(),i=e?e+" ":"";return this.ariaLabelledby?i+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId(),i=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(i+=" "+this.ariaLabelledby),i}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return n.\u0275fac=function(e){return new(e||n)(M(Bn),M(Qe),M(ae),M(zr),M(be),M(Tt,8),M(Mn,8),M(Tn,8),M(Zi,8),M(En,10),ai("tabindex"),M(Zr),M(Pn),M(Ws,8))},n.\u0275dir=ye({type:n,viewQuery:function(e,i){if(e&1&&(de(Ls,5),de(zs,5),de(Dt,5)),e&2){let r;O(r=x())&&(i.trigger=r.first),O(r=x())&&(i.panel=r.first),O(r=x())&&(i._overlayDir=r.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:[ve,cn]}),n})(),Jr=(()=>{class n extends Js{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(e,i,r){let o=this._getItemHeight(),a=o*e,s=o/2,l=a-i+s;return Math.min(Math.max(0,l),r)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe($(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe(je(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(e){let i=Wi(e,this.options,this.optionGroups),r=this._getItemHeight();e===0&&i===1?this.panel.nativeElement.scrollTop=0:this.panel.nativeElement.scrollTop=Br((e+i)*r,r,this.panel.nativeElement.scrollTop,_t)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(e){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(e)}_getChangeEvent(e){return new Ji(this,e)}_calculateOverlayOffsetX(){let e=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),i=this._viewportRuler.getViewportSize(),r=this._isRtl(),o=this.multiple?Xr+Ye:Ye*2,a;if(this.multiple)a=Xr;else if(this.disableOptionCentering)a=Ye;else{let c=this._selectionModel.selected[0]||this.options.first;a=c&&c.group?$s:Ye}r||(a*=-1);let s=0-(e.left+a-(r?o:0)),l=e.right+a-i.width+(r?0:o);s>0?a+=s+ei:l>0&&(a-=l+ei),this._overlayDir.offsetX=Math.round(a),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(e,i,r){let o=this._getItemHeight(),a=(o-this._triggerRect.height)/2,s=Math.floor(_t/o),l;if(this.disableOptionCentering)return 0;if(this._scrollTop===0)l=e*o;else if(this._scrollTop===r){let c=this._getItemCount()-s,d=e-c,u=o-(this._getItemCount()*o-_t)%o;l=d*o+u}else l=i-o/2;return Math.round(l*-1-a)}_checkOverlayWithinViewport(e){let i=this._getItemHeight(),r=this._viewportRuler.getViewportSize(),o=this._triggerRect.top-ei,a=r.height-this._triggerRect.bottom-ei,s=Math.abs(this._offsetY),c=Math.min(this._getItemCount()*i,_t)-s-this._triggerRect.height;c>a?this._adjustPanelUp(c,a):s>o?this._adjustPanelDown(s,o,e):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(e,i){let r=Math.round(e-i);this._scrollTop-=r,this._offsetY-=r,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(e,i,r){let o=Math.round(e-i);if(this._scrollTop+=o,this._offsetY+=o,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=r){this._scrollTop=r,this._offsetY=0,this._transformOrigin="50% top 0px";return}}_calculateOverlayPosition(){let e=this._getItemHeight(),i=this._getItemCount(),r=Math.min(i*e,_t),a=i*e-r,s;this.empty?s=0:s=Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),s+=Wi(s,this.options,this.optionGroups);let l=r/2;this._scrollTop=this._calculateOverlayScroll(s,l,a),this._offsetY=this._calculateOverlayOffsetY(s,l,a),this._checkOverlayWithinViewport(a)}_getOriginBasedOnOption(){let e=this._getItemHeight(),i=(e-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-i+e/2}px 0px`}_getItemHeight(){return this._triggerFontSize*Us}_getItemCount(){return this.options.length+this.optionGroups.length}}return n.\u0275fac=function(){let t;return function(i){return(t||(t=oi(n)))(i||n)}}(),n.\u0275cmp=G({type:n,selectors:[["mat-select"]],contentQueries:function(e,i,r){if(e&1&&(Q(r,Zs,5),Q(r,Zt,5),Q(r,Gi,5)),e&2){let o;O(o=x())&&(i.customTrigger=o.first),O(o=x())&&(i.options=o),O(o=x())&&(i.optionGroups=o)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:19,hostBindings:function(e,i){e&1&&B("keydown",function(o){return i._handleKeydown(o)})("focus",function(){return i._onFocus()})("blur",function(){return i._onBlur()}),e&2&&(re("id",i.id)("tabindex",i.tabIndex)("aria-controls",i.panelOpen?i.id+"-panel":null)("aria-expanded",i.panelOpen)("aria-label",i.ariaLabel||null)("aria-required",i.required.toString())("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-activedescendant",i._getAriaActiveDescendant()),Y("mat-select-disabled",i.disabled)("mat-select-invalid",i.errorState)("mat-select-required",i.required)("mat-select-empty",i.empty)("mat-select-multiple",i.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[et([{provide:Jt,useExisting:n},{provide:Ui,useExisting:n}]),ve],ngContentSelectors:Ks,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,i){if(e&1&&(Ce(Qs),v(0,"div",0,1),B("click",function(){return i.toggle()}),v(3,"div",2),A(4,Bs,2,1,"span",3),A(5,qs,3,2,"span",4),S(),v(6,"div",5),te(7,"div",6),S()(),A(8,Hs,4,14,"ng-template",7),B("backdropClick",function(){return i.close()})("attach",function(){return i._onAttached()})("detach",function(){return i.close()})),e&2){let r=un(1);re("aria-owns",i.panelOpen?i.id+"-panel":null),E(3),w("ngSwitch",i.empty),re("id",i._valueId),E(1),w("ngSwitchCase",!0),E(1),w("ngSwitchCase",!1),E(3),w("cdkConnectedOverlayPanelClass",i._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",i._scrollStrategy)("cdkConnectedOverlayOrigin",r)("cdkConnectedOverlayOpen",i.panelOpen)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayMinWidth",i._triggerRect==null?null:i._triggerRect.width)("cdkConnectedOverlayOffsetY",i._offsetY)}},dependencies:[gn,Et,St,yn,Dt,qn],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{height:16px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{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;margin:0 4px}.mat-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[Wr.transformPanelWrap,Wr.transformPanel]},changeDetection:0}),n})();var eo=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=W({type:n}),n.\u0275inj=U({providers:[Ys],imports:[ue,Hn,Yi,J,Vn,$r,Yi,J]}),n})();function tl(n,t){if(n&1&&(v(0,"mat-option",3),R(1),S()),n&2){let e=t.$implicit;w("value",e),E(1),bt(" ",e," ")}}var to=(()=>{class n{constructor(){this.actions=["Save","Exit"],this.isDisabled=!1,this.actionSelected=new De}triggerAction(){this.actionSelected.emit(this.selectedAction)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=G({type:n,selectors:[["app-component-harness-button-area"]],inputs:{actions:"actions",isDisabled:"isDisabled"},outputs:{actionSelected:"actionSelected"},standalone:!0,features:[vt],decls:5,vars:4,consts:[[3,"ngModel","disabled","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["mat-raised-button","","color","primary",3,"disabled","click"],[3,"value"]],template:function(e,i){e&1&&(v(0,"mat-form-field")(1,"mat-select",0),B("ngModelChange",function(o){return i.selectedAction=o}),A(2,tl,2,2,"mat-option",1),S()(),v(3,"button",2),B("click",function(){return i.triggerAction()}),R(4,` GO 3`),S()),e&2&&(E(1),w("ngModel",i.selectedAction)("disabled",i.isDisabled),E(1),w("ngForOf",i.actions),E(1),w("disabled",i.isDisabled))},dependencies:[ue,_n,jr,Vr,eo,Kr,Jr,Zt,Dn,Sn,Cn,$t]}),n})();var sd=(()=>{class n{constructor(){this.title=Kn.get(Qn.COMPONENT_HARNESS)}getAction(e){this.action=e,console.log(this.action)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=G({type:n,selectors:[["app-component-harness"]],standalone:!0,features:[vt],decls:15,vars:1,consts:[[
vendor: 1,061 bytes, lines 3-15
31,"base-container"],[1,"page-title"],[1,"title"],[1,"description-container"],["href","https://github.com/evanw/esbuild"],[1,"demo-container"],[3,"actionSelected"]],template:function(e,i){e&1&&(v(0,"div",0)(1,"div",1),R(2),S(),v(3,"div",2),R(4,"Description"),S(),v(5,"div",3)(6,"div"),R(7," In Angular CDK 14, it supports experimental esbuild-based build system for ng build. "),v(8,"a",4),R(9,"esbuild"),S(),R(10," is a build tool with the following features. "),S()(),v(11,"div",2),R(12,"Demo - component built with Angular Material"),S(),v(13,"div",5)(14,"app-component-harness-button-area",6),B("actionSelected",function(o){return i.getAction(o)}),S()()()),e&2&&(E(2),Te(i.title))},dependencies:[ue,to,$t]}),n})();export{sd as ComponentHarnessComponent}; 4/** 5 * @license 6 * Copyright Google LLC All Rights Reserved. 7 * 8 * Use of this source code is governed by an MIT-style license that can be 9 * found in the LICENSE file at https://angular.io/license 10 */ 11/** 12 * @license Angular v14.3.0 13 * (c) 2010-2022 Google LLC. https://angular.io/ 14 * License: MIT 15 */
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.